Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001693/0.001693, allocations: 171.2 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009379/0.000938, allocations: 86.36 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3864/0.3864, allocations: 43.57 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 16 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3221/0.4536, allocations: 87.59 MB / 0.5655 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4538, allocations: 73.62 kB / 0.5656 GB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01449/0.4683, allocations: 5.549 MB / 0.571 GB, free: 8.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4684, allocations: 0 / 0.571 GB, free: 8.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4684, allocations: 0.875 kB / 0.571 GB, free: 8.668 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004768/0.4689, allocations: 438.9 kB / 0.5714 GB, free: 8.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.4689, allocations: 8.031 kB / 0.5714 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.469, allocations: 16.75 kB / 0.5714 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.4693, allocations: 237.8 kB / 0.5717 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.4693, allocations: 4.375 kB / 0.5717 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.4693, allocations: 4.375 kB / 0.5717 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.4694, allocations: 54.23 kB / 0.5717 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.4694, allocations: 192 / 0.5717 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4695, allocations: 3.938 kB / 0.5717 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.4695, allocations: 0 / 0.5717 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.255e-05/0.4695, allocations: 15.98 kB / 0.5717 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.4697, allocations: 193.7 kB / 0.5719 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.4699, allocations: 54.56 kB / 0.572 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.47, allocations: 20.84 kB / 0.572 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.47, allocations: 7.984 kB / 0.572 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.4701, allocations: 71.28 kB / 0.5721 GB, free: 7.398 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.4701, allocations: 0 / 0.5721 GB, free: 7.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002762/0.4704, allocations: 113.3 kB / 0.5722 GB, free: 7.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.4705, allocations: 51.41 kB / 0.5722 GB, free: 7.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.4707, allocations: 259.7 kB / 0.5725 GB, free: 6.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.4708, allocations: 25.7 kB / 0.5725 GB, free: 6.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.4708, allocations: 112.1 kB / 0.5726 GB, free: 6.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.4709, allocations: 7.812 kB / 0.5726 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.4709, allocations: 4 kB / 0.5726 GB, free: 6.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.471, allocations: 326.8 kB / 0.5729 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.471, allocations: 19.98 kB / 0.5729 GB, free: 6.453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.4711, allocations: 33.7 kB / 0.573 GB, free: 6.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.112e-05/0.4712, allocations: 45.66 kB / 0.573 GB, free: 6.363 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4712, allocations: 0 / 0.573 GB, free: 6.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.4714, allocations: 85.48 kB / 0.5731 GB, free: 6.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4714, allocations: 8.594 kB / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.4714, allocations: 0 / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.4714, allocations: 4.031 kB / 0.5731 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/0.4715, allocations: 19.92 kB / 0.5731 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4715, allocations: 0 / 0.5731 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.4716, allocations: 4 kB / 0.5731 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4716, allocations: 0 / 0.5731 GB, free: 6.238 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.4717, allocations: 138.4 kB / 0.5733 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.4717, allocations: 19.75 kB / 0.5733 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.4719, allocations: 98.66 kB / 0.5734 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4719, allocations: 4 kB / 0.5734 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4719, allocations: 0 / 0.5734 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4719, allocations: 0 / 0.5734 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4721, allocations: 205.5 kB / 0.5736 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4721, allocations: 3.938 kB / 0.5736 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.4721, allocations: 4 kB / 0.5736 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4722, allocations: 7.938 kB / 0.5736 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4722, allocations: 3.984 kB / 0.5736 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.4722, allocations: 0.875 kB / 0.5736 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4722, allocations: 0 / 0.5736 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.4724, allocations: 124.9 kB / 0.5737 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.4724, allocations: 97.36 kB / 0.5738 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.4725, allocations: 7.922 kB / 0.5738 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.242e-05/0.4725, allocations: 4 kB / 0.5738 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.4726, allocations: 8 kB / 0.5738 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.4726, allocations: 7.984 kB / 0.5738 GB, free: 5.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.4728, allocations: 191.3 kB / 0.574 GB, free: 5.238 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4728, allocations: 4 kB / 0.574 GB, free: 5.234 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.473, allocations: 27.98 kB / 0.574 GB, free: 5.207 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008096/0.4738, allocations: 423.7 kB / 0.5745 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.474, allocations: 47.92 kB / 0.5745 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.474, allocations: 0 / 0.5745 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.474, allocations: 23.92 kB / 0.5745 GB, free: 4.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.4743, allocations: 25.47 kB / 0.5745 GB, free: 4.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.4748, allocations: 288.6 kB / 0.5748 GB, free: 4.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.475, allocations: 0.7199 MB / 0.5755 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.4751, allocations: 24.41 kB / 0.5755 GB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.4751, allocations: 15.44 kB / 0.5756 GB, free: 3.711 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4751, allocations: 0 / 0.5756 GB, free: 3.711 MB / 394.7 MB Notification: Performance of Templates: time 0.003968/0.4791, allocations: 1.617 MB / 0.5771 GB, free: 2.105 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches