Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002428/0.002432, allocations: 171.5 kB / 8.147 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.2 MB / 213.8 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 86.12 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2589/0.2589, allocations: 43.5 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.204e-05, allocations: 0 / 417.7 MB, free: 40.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2735, allocations: 58.85 MB / 476.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.4282, allocations: 87 MB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.4285, allocations: 71.95 kB / 0.5504 GB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0321/0.4606, allocations: 7.082 MB / 0.5573 GB, free: 4.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.576e-05/0.4607, allocations: 4 kB / 0.5573 GB, free: 4.879 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007991/0.4615, allocations: 481.7 kB / 0.5578 GB, free: 4.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4616, allocations: 8.031 kB / 0.5578 GB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.424e-05/0.4617, allocations: 23.72 kB / 0.5578 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.4623, allocations: 266.1 kB / 0.5581 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.4624, allocations: 7.984 kB / 0.5581 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.4624, allocations: 7.906 kB / 0.5581 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000146/0.4626, allocations: 31.98 kB / 0.5581 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.4628, allocations: 95.31 kB / 0.5582 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4628, allocations: 0 / 0.5582 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.4629, allocations: 7.984 kB / 0.5582 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4629, allocations: 0 / 0.5582 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007115/0.4636, allocations: 421.5 kB / 0.5586 GB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.4639, allocations: 109.4 kB / 0.5587 GB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.464, allocations: 37.83 kB / 0.5588 GB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.464, allocations: 4 kB / 0.5588 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.4643, allocations: 112.8 kB / 0.5589 GB, free: 3.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.794e-06/0.4643, allocations: 0 / 0.5589 GB, free: 3.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009414/0.4652, allocations: 272.2 kB / 0.5591 GB, free: 2.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.4653, allocations: 85.09 kB / 0.5592 GB, free: 2.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.4659, allocations: 307.3 kB / 0.5595 GB, free: 2.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.4659, allocations: 29.7 kB / 0.5595 GB, free: 2.395 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.466, allocations: 158.8 kB / 0.5597 GB, free: 2.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.4661, allocations: 47.3 kB / 0.5597 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.4661, allocations: 0 / 0.5597 GB, free: 2.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4663, allocations: 318.8 kB / 0.56 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.4664, allocations: 32 kB / 0.5601 GB, free: 1.836 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.4665, allocations: 70.86 kB / 0.5601 GB, free: 1.758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.4667, allocations: 52.06 kB / 0.5602 GB, free: 1.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4667, allocations: 0 / 0.5602 GB, free: 1.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004137/0.4671, allocations: 145.5 kB / 0.5603 GB, free: 1.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4672, allocations: 11.28 kB / 0.5603 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4672, allocations: 0 / 0.5603 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4672, allocations: 384 / 0.5603 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.4675, allocations: 31.98 kB / 0.5604 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4675, allocations: 0 / 0.5604 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.4676, allocations: 12.06 kB / 0.5604 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.4677, allocations: 11.98 kB / 0.5604 GB, free: 1.492 MB / 394.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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.369e-05/0.4677, allocations: 42.95 kB / 0.5604 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.4678, allocations: 23.72 kB / 0.5604 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005756/0.4684, allocations: 179.4 kB / 0.5606 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4685, allocations: 4 kB / 0.5606 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4685, allocations: 0 / 0.5606 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4685, allocations: 3.906 kB / 0.5606 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.4695, allocations: 0.5896 MB / 0.5612 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4696, allocations: 0 / 0.5612 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.4697, allocations: 36.05 kB / 0.5612 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.4697, allocations: 0 / 0.5612 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.4698, allocations: 7.938 kB / 0.5612 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4698, allocations: 0 / 0.5612 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.4698, allocations: 4 kB / 0.5612 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005052/0.4703, allocations: 382.4 kB / 0.5616 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.4705, allocations: 112.7 kB / 0.5617 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.32e-05/0.4706, allocations: 8.047 kB / 0.5617 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.4708, allocations: 7.938 kB / 0.5617 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.4709, allocations: 15.98 kB / 0.5617 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.4709, allocations: 4 kB / 0.5618 GB, free: 15.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004043/0.4713, allocations: 251.1 kB / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004953/0.4718, allocations: 47.94 kB / 0.562 GB, free: 15.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001004/0.4729, allocations: 364.4 kB / 0.5624 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.4732, allocations: 107.8 kB / 0.5625 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4732, allocations: 0 / 0.5625 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.4734, allocations: 60.19 kB / 0.5625 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.4741, allocations: 48.88 kB / 0.5626 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.4752, allocations: 376.4 kB / 0.563 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.4758, allocations: 0.7897 MB / 0.5637 GB, free: 13.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4758, allocations: 0 / 0.5637 GB, free: 13.91 MB / 410.7 MB Notification: Performance of Templates: time 0.009004/0.4848, allocations: 3.227 MB / 0.5669 GB, free: 10.7 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches