Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002326/0.002326, allocations: 197 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.677/1.677, allocations: 226.5 MB / 245.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000843/0.0008431, allocations: 100.9 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4023/0.4023, allocations: 44.83 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 15.98 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.412, allocations: 62.96 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.5504, allocations: 90.88 MB / 0.6072 GB, free: 14.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.5508, allocations: 75.95 kB / 0.6073 GB, free: 14.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02176/0.5726, allocations: 7.497 MB / 0.6146 GB, free: 6.836 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5726, allocations: 0 / 0.6146 GB, free: 6.836 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.5727, allocations: 4 kB / 0.6146 GB, free: 6.832 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.0007133/0.5734, allocations: 447 kB / 0.615 GB, free: 6.344 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5734, allocations: 8.031 kB / 0.615 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.5735, allocations: 12.83 kB / 0.615 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.5739, allocations: 225 kB / 0.6152 GB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5739, allocations: 8.375 kB / 0.6152 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.5739, allocations: 384 / 0.6152 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.5741, allocations: 91.86 kB / 0.6153 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5741, allocations: 192 / 0.6153 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.5742, allocations: 3.938 kB / 0.6153 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5742, allocations: 0 / 0.6153 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.5743, allocations: 35.97 kB / 0.6154 GB, free: 5.918 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.5748, allocations: 300.8 kB / 0.6157 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.575, allocations: 82.55 kB / 0.6157 GB, free: 5.484 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.5751, allocations: 28.84 kB / 0.6158 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.5751, allocations: 4.062 kB / 0.6158 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.5753, allocations: 75.38 kB / 0.6158 GB, free: 5.363 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.5753, allocations: 0 / 0.6158 GB, free: 5.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006461/0.5759, allocations: 205.2 kB / 0.616 GB, free: 5.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.576, allocations: 81.11 kB / 0.6161 GB, free: 5.059 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.5762, allocations: 174.9 kB / 0.6163 GB, free: 4.879 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.5762, allocations: 29.7 kB / 0.6163 GB, free: 4.844 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.5763, allocations: 100.1 kB / 0.6164 GB, free: 4.742 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.5763, allocations: 23.66 kB / 0.6164 GB, free: 4.719 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.5764, allocations: 4 kB / 0.6164 GB, free: 4.715 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5765, allocations: 326.9 kB / 0.6167 GB, free: 4.387 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.641e-05/0.5766, allocations: 35.86 kB / 0.6168 GB, free: 4.352 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.5766, allocations: 54.48 kB / 0.6168 GB, free: 4.289 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.5768, allocations: 73.69 kB / 0.6169 GB, free: 4.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5768, allocations: 0 / 0.6169 GB, free: 4.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.577, allocations: 121.4 kB / 0.617 GB, free: 4.086 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5771, allocations: 10.44 kB / 0.617 GB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5771, allocations: 7.938 kB / 0.617 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5771, allocations: 4.062 kB / 0.617 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.5772, allocations: 15.98 kB / 0.6171 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.5772, allocations: 4 kB / 0.6171 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.5773, allocations: 4 kB / 0.6171 GB, free: 4.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.5773, allocations: 4 kB / 0.6171 GB, free: 4.039 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.0001029/0.5774, allocations: 124 kB / 0.6172 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.5775, allocations: 11.89 kB / 0.6172 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.5778, allocations: 146.8 kB / 0.6173 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5778, allocations: 0 / 0.6173 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5778, allocations: 4 kB / 0.6173 GB, free: 3.742 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5778, allocations: 0 / 0.6173 GB, free: 3.742 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.5783, allocations: 439.1 kB / 0.6178 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5783, allocations: 4 kB / 0.6178 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.5784, allocations: 20.11 kB / 0.6178 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.5784, allocations: 0 / 0.6178 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.5784, allocations: 11.91 kB / 0.6178 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5784, allocations: 8 kB / 0.6178 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5784, allocations: 3.938 kB / 0.6178 GB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.5787, allocations: 216.3 kB / 0.618 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.5788, allocations: 100.9 kB / 0.6181 GB, free: 2.859 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.5788, allocations: 0 / 0.6181 GB, free: 2.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.5789, allocations: 12 kB / 0.6181 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.5789, allocations: 19.86 kB / 0.6181 GB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.579, allocations: 4 kB / 0.6181 GB, free: 2.824 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.5791, allocations: 137.4 kB / 0.6183 GB, free: 2.691 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5791, allocations: 0 / 0.6183 GB, free: 2.691 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.5795, allocations: 67.92 kB / 0.6183 GB, free: 2.625 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.001271/0.5807, allocations: 0.5492 MB / 0.6189 GB, free: 2.254 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.581, allocations: 75.91 kB / 0.6189 GB, free: 2.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.581, allocations: 0 / 0.6189 GB, free: 2.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.5811, allocations: 39.92 kB / 0.619 GB, free: 2.141 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.5814, allocations: 27.84 kB / 0.619 GB, free: 2.113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.5819, allocations: 246.9 kB / 0.6192 GB, free: 1.844 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.5822, allocations: 0.7043 MB / 0.6199 GB, free: 1.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.774e-05/0.5823, allocations: 32.84 kB / 0.62 GB, free: 1.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.5824, allocations: 27.3 kB / 0.62 GB, free: 1.051 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5824, allocations: 0 / 0.62 GB, free: 1.051 MB / 426.7 MB Notification: Performance of Templates: time 0.006088/0.5885, allocations: 2.419 MB / 0.6224 GB, free: 14.64 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches