Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001204/0.001204, allocations: 116.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 75.89 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.5108, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003578/0.5145, allocations: 1.729 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.5166, allocations: 1.021 MB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.5168, allocations: 1.375 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.5172, allocations: 33.42 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.5177, allocations: 97.66 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.5179, allocations: 84.28 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.5181, allocations: 100.9 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.5183, allocations: 6.875 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.5184, allocations: 46.89 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.5185, allocations: 34.8 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.5185, allocations: 6.75 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.5187, allocations: 44.84 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.5187, allocations: 17.42 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.5188, allocations: 30.62 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.519, allocations: 117.3 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.519, allocations: 3.938 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.519, allocations: 0 / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.5191, allocations: 0 / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006327/0.5197, allocations: 414.2 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5198, allocations: 13.62 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.5198, allocations: 14.39 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.5201, allocations: 214.3 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.5202, allocations: 1.75 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.5202, allocations: 5.5 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.5204, allocations: 57.98 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5204, allocations: 1.375 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5204, allocations: 0 / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5204, allocations: 1.375 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.92e-05/0.5205, allocations: 21.61 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.5209, allocations: 285.5 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.5211, allocations: 62.02 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.5212, allocations: 17.48 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.5212, allocations: 1.125 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.5214, allocations: 73.22 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.5214, allocations: 0 / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005995/0.522, allocations: 169.6 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.522, allocations: 52.44 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.5222, allocations: 173.2 kB / 0.5359 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.5223, allocations: 31.11 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.5223, allocations: 100 kB / 0.536 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/0.5224, allocations: 31.86 kB / 0.536 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.5225, allocations: 19.91 kB / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5226, allocations: 326.4 kB / 0.5364 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.5227, allocations: 26.7 kB / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.5228, allocations: 35.02 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.5229, allocations: 59.64 kB / 0.5365 GB, free: 9.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5229, allocations: 3.938 kB / 0.5365 GB, free: 9.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.5231, allocations: 103.5 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5231, allocations: 5.562 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.5231, allocations: 0 / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.5232, allocations: 1.281 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.5233, allocations: 17.05 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.5233, allocations: 1.125 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.5233, allocations: 10.53 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.5234, allocations: 7.375 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.5235, allocations: 132.6 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.5235, allocations: 8.547 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.5236, allocations: 13.25 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5236, allocations: 1.156 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5236, allocations: 4 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5236, allocations: 5.094 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.5241, allocations: 404 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5241, allocations: 1 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.5241, allocations: 7.062 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5241, allocations: 1.938 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.5242, allocations: 5 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5242, allocations: 0.9375 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5242, allocations: 1.094 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.5244, allocations: 207.8 kB / 0.5374 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.5245, allocations: 88.11 kB / 0.5375 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.5245, allocations: 5.969 kB / 0.5375 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.5246, allocations: 5.906 kB / 0.5375 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.5246, allocations: 7.109 kB / 0.5375 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.5247, allocations: 3.406 kB / 0.5375 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.5248, allocations: 129.1 kB / 0.5376 GB, free: 7.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5248, allocations: 0 / 0.5376 GB, free: 7.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.5251, allocations: 29.3 kB / 0.5376 GB, free: 7.973 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.5262, allocations: 458 kB / 0.5381 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.5264, allocations: 62.69 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5264, allocations: 4.062 kB / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.5265, allocations: 29.55 kB / 0.5382 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.5269, allocations: 36.25 kB / 0.5382 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.5274, allocations: 201.1 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.5277, allocations: 0.704 MB / 0.5391 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.473e-05/0.5278, allocations: 14.03 kB / 0.5391 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.5278, allocations: 19.42 kB / 0.5391 GB, free: 6.777 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5278, allocations: 0 / 0.5391 GB, free: 6.777 MB / 398.1 MB Notification: Performance of Templates: time 0.005308/0.5331, allocations: 1.725 MB / 0.5408 GB, free: 5.902 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches