Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 194.9 kB / 16.78 MB, free: 4.922 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.5 MB / 244.1 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008129/0.0008129, allocations: 100.6 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3394/0.3394, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002849, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3411, allocations: 62.96 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4582, allocations: 90.67 MB / 0.605 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4584, allocations: 79.95 kB / 0.6051 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01818/0.4766, allocations: 7.14 MB / 0.6121 GB, free: 7.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4767, allocations: 0 / 0.6121 GB, free: 7.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.4767, allocations: 12 kB / 0.6121 GB, free: 7.465 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006253/0.4773, allocations: 494.6 kB / 0.6126 GB, free: 6.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4774, allocations: 8.031 kB / 0.6126 GB, free: 6.922 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.4774, allocations: 20.73 kB / 0.6126 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.4778, allocations: 271.3 kB / 0.6128 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4779, allocations: 384 / 0.6128 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.4779, allocations: 8.375 kB / 0.6128 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.4781, allocations: 109.6 kB / 0.613 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4781, allocations: 192 / 0.613 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4781, allocations: 3.938 kB / 0.613 GB, free: 6.465 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4781, allocations: 4 kB / 0.613 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.4782, allocations: 31.97 kB / 0.613 GB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.4785, allocations: 230.5 kB / 0.6132 GB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.4787, allocations: 109.2 kB / 0.6133 GB, free: 6.027 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.4788, allocations: 41.7 kB / 0.6134 GB, free: 5.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.4789, allocations: 3.984 kB / 0.6134 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.4791, allocations: 113 kB / 0.6135 GB, free: 5.848 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.4791, allocations: 0 / 0.6135 GB, free: 5.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004326/0.4795, allocations: 177.3 kB / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.4796, allocations: 132.5 kB / 0.6138 GB, free: 5.508 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.4799, allocations: 246.2 kB / 0.614 GB, free: 5.258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.4799, allocations: 29.7 kB / 0.614 GB, free: 5.223 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.48, allocations: 120.1 kB / 0.6141 GB, free: 5.102 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.48, allocations: 27.64 kB / 0.6142 GB, free: 5.074 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.48, allocations: 0 / 0.6142 GB, free: 5.074 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4801, allocations: 330.8 kB / 0.6145 GB, free: 4.742 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.4802, allocations: 31.98 kB / 0.6145 GB, free: 4.711 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.4803, allocations: 81.08 kB / 0.6146 GB, free: 4.613 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.4805, allocations: 87.91 kB / 0.6147 GB, free: 4.516 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4805, allocations: 3.938 kB / 0.6147 GB, free: 4.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002556/0.4808, allocations: 145.4 kB / 0.6148 GB, free: 4.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4808, allocations: 11.94 kB / 0.6148 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.4808, allocations: 0 / 0.6148 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4809, allocations: 0 / 0.6148 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.481, allocations: 23.98 kB / 0.6148 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.481, allocations: 0 / 0.6148 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.4811, allocations: 15.91 kB / 0.6149 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4811, allocations: 7.984 kB / 0.6149 GB, free: 4.305 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001029/0.4812, allocations: 138.3 kB / 0.615 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.4813, allocations: 23.75 kB / 0.615 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.4816, allocations: 162.5 kB / 0.6152 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4816, allocations: 0 / 0.6152 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4816, allocations: 4 kB / 0.6152 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4816, allocations: 3.984 kB / 0.6152 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.4818, allocations: 233.5 kB / 0.6154 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4819, allocations: 4 kB / 0.6154 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.4819, allocations: 8 kB / 0.6154 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.4819, allocations: 7.938 kB / 0.6154 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.4819, allocations: 4 kB / 0.6154 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4819, allocations: 0 / 0.6154 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.4819, allocations: 4 kB / 0.6154 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.4822, allocations: 178.3 kB / 0.6156 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.4823, allocations: 108.9 kB / 0.6157 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.4824, allocations: 8.188 kB / 0.6157 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.4824, allocations: 8 kB / 0.6157 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.4825, allocations: 15.98 kB / 0.6157 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.4825, allocations: 0 / 0.6157 GB, free: 3.309 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.4827, allocations: 188.4 kB / 0.6159 GB, free: 3.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4827, allocations: 0 / 0.6159 GB, free: 3.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.483, allocations: 67.92 kB / 0.616 GB, free: 3.059 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001054/0.4841, allocations: 0.5125 MB / 0.6165 GB, free: 2.715 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.4843, allocations: 83.91 kB / 0.6166 GB, free: 2.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4843, allocations: 0 / 0.6166 GB, free: 2.633 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.4844, allocations: 51.91 kB / 0.6166 GB, free: 2.582 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.4848, allocations: 45.64 kB / 0.6167 GB, free: 2.539 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.4854, allocations: 352.7 kB / 0.617 GB, free: 2.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4856, allocations: 0.7205 MB / 0.6177 GB, free: 1.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.4857, allocations: 27.41 kB / 0.6177 GB, free: 1.383 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.4857, allocations: 0 / 0.6177 GB, free: 1.383 MB / 426.7 MB Notification: Performance of Templates: time 0.005049/0.4908, allocations: 3.165 MB / 0.6208 GB, free: 14.23 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches