Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 192.3 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 226.5 MB / 244.1 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008182/0.0008182, allocations: 102.3 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3581/0.3581, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002553/0.0002555, allocations: 15.98 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3326, allocations: 62.95 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.4501, allocations: 90.88 MB / 0.6052 GB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.4505, allocations: 75.95 kB / 0.6053 GB, free: 14.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01994/0.4704, allocations: 7.507 MB / 0.6126 GB, free: 6.902 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4704, allocations: 0 / 0.6126 GB, free: 6.902 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.4705, allocations: 4 kB / 0.6126 GB, free: 6.898 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005298/0.471, allocations: 450.9 kB / 0.6131 GB, free: 6.406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.471, allocations: 8.031 kB / 0.6131 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.4711, allocations: 8.844 kB / 0.6131 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.4714, allocations: 217 kB / 0.6133 GB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.4714, allocations: 8.375 kB / 0.6133 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.4714, allocations: 384 / 0.6133 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.4716, allocations: 83.88 kB / 0.6134 GB, free: 6.039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4716, allocations: 192 / 0.6134 GB, free: 6.039 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4716, allocations: 7.938 kB / 0.6134 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.4717, allocations: 0 / 0.6134 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.155e-05/0.4717, allocations: 31.97 kB / 0.6134 GB, free: 6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.4722, allocations: 308.8 kB / 0.6137 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.4724, allocations: 86.53 kB / 0.6138 GB, free: 5.555 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.4724, allocations: 24.86 kB / 0.6138 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.4725, allocations: 4 kB / 0.6138 GB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.4726, allocations: 75.38 kB / 0.6139 GB, free: 5.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.4726, allocations: 0 / 0.6139 GB, free: 5.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005561/0.4732, allocations: 205.2 kB / 0.6141 GB, free: 5.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.4733, allocations: 81.11 kB / 0.6142 GB, free: 5.133 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.4735, allocations: 174.9 kB / 0.6143 GB, free: 4.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.4735, allocations: 33.64 kB / 0.6144 GB, free: 4.914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.4736, allocations: 100.1 kB / 0.6145 GB, free: 4.812 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.4736, allocations: 27.72 kB / 0.6145 GB, free: 4.785 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.4736, allocations: 4 kB / 0.6145 GB, free: 4.781 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4737, allocations: 322.8 kB / 0.6148 GB, free: 4.457 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.4738, allocations: 31.98 kB / 0.6148 GB, free: 4.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.4739, allocations: 50.55 kB / 0.6149 GB, free: 4.367 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.474, allocations: 73.73 kB / 0.6149 GB, free: 4.289 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.474, allocations: 0 / 0.6149 GB, free: 4.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002273/0.4743, allocations: 125.4 kB / 0.6151 GB, free: 4.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4743, allocations: 4 kB / 0.6151 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4743, allocations: 8.062 kB / 0.6151 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4743, allocations: 3.938 kB / 0.6151 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.4744, allocations: 15.98 kB / 0.6151 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4744, allocations: 4 kB / 0.6151 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.4745, allocations: 0 / 0.6151 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4745, allocations: 4 kB / 0.6151 GB, free: 4.121 MB / 426.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 (11): * Single equations (assignments): 11 * 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.0001074/0.4746, allocations: 129.8 kB / 0.6152 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.4747, allocations: 7.906 kB / 0.6152 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.4749, allocations: 149.6 kB / 0.6154 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.475, allocations: 0 / 0.6154 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.475, allocations: 4 kB / 0.6154 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.475, allocations: 3.984 kB / 0.6154 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005361/0.4755, allocations: 443.1 kB / 0.6158 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4755, allocations: 0 / 0.6158 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.4756, allocations: 19.92 kB / 0.6158 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4756, allocations: 4.031 kB / 0.6158 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4756, allocations: 0 / 0.6158 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.4756, allocations: 11.92 kB / 0.6158 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4756, allocations: 3.938 kB / 0.6158 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.4759, allocations: 220.3 kB / 0.6161 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.476, allocations: 104.8 kB / 0.6162 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.476, allocations: 0 / 0.6162 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.4761, allocations: 8 kB / 0.6162 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.4762, allocations: 16.11 kB / 0.6162 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.4762, allocations: 4 kB / 0.6162 GB, free: 2.902 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.4763, allocations: 141.4 kB / 0.6163 GB, free: 2.766 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4763, allocations: 0 / 0.6163 GB, free: 2.766 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.4767, allocations: 67.91 kB / 0.6164 GB, free: 2.699 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: 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 (11): * Single equations (assignments): 9 * 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.001195/0.4779, allocations: 0.5504 MB / 0.6169 GB, free: 2.336 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.4781, allocations: 79.84 kB / 0.617 GB, free: 2.258 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4781, allocations: 0 / 0.617 GB, free: 2.258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.4782, allocations: 39.92 kB / 0.617 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.4785, allocations: 27.84 kB / 0.6171 GB, free: 2.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.479, allocations: 280.1 kB / 0.6173 GB, free: 1.883 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.4793, allocations: 0.7083 MB / 0.618 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.4794, allocations: 23.42 kB / 0.618 GB, free: 1.125 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4794, allocations: 0 / 0.618 GB, free: 1.125 MB / 426.7 MB Notification: Performance of Templates: time 0.00456/0.484, allocations: 2.533 MB / 0.6205 GB, free: 14.61 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches