Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") [: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.001618/0.001618, allocations: 175.8 kB / 8.15 MB, free: 2.195 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.789/1.789, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001245/0.001245, allocations: 90.73 kB / 261.8 MB, free: 13.62 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.2618/0.2618, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.371e-05/1.397e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2898, allocations: 58.85 MB / 476.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.4472, allocations: 86.84 MB / 0.5502 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.4475, allocations: 75.23 kB / 0.5503 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02386/0.4714, allocations: 4.997 MB / 0.5551 GB, free: 7.172 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.4715, allocations: 0 / 0.5551 GB, free: 7.172 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006135/0.4721, allocations: 410 kB / 0.5555 GB, free: 6.727 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.4722, allocations: 8.031 kB / 0.5555 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.4723, allocations: 15.81 kB / 0.5556 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.4727, allocations: 214.8 kB / 0.5558 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.4727, allocations: 7.906 kB / 0.5558 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.4728, allocations: 7.938 kB / 0.5558 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.806e-05/0.4729, allocations: 19.98 kB / 0.5558 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.473, allocations: 45.69 kB / 0.5558 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4731, allocations: 4 kB / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4731, allocations: 7.984 kB / 0.5558 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4731, allocations: 0 / 0.5558 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.4736, allocations: 273.4 kB / 0.5561 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.4738, allocations: 50.62 kB / 0.5562 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.4738, allocations: 20.98 kB / 0.5562 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.4739, allocations: 0 / 0.5562 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.474, allocations: 67.33 kB / 0.5562 GB, free: 5.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.474, allocations: 0 / 0.5562 GB, free: 5.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005879/0.4746, allocations: 145 kB / 0.5564 GB, free: 5.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.4747, allocations: 51.41 kB / 0.5564 GB, free: 5.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.475, allocations: 181.5 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.475, allocations: 29.69 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.4751, allocations: 154.6 kB / 0.5568 GB, free: 5.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.4751, allocations: 19.72 kB / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-06/0.4752, allocations: 0 / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4753, allocations: 322.8 kB / 0.5571 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.4754, allocations: 12 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.417e-05/0.4755, allocations: 29.72 kB / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.4755, allocations: 23.98 kB / 0.5572 GB, free: 4.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4756, allocations: 4 kB / 0.5572 GB, free: 4.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002289/0.4758, allocations: 93.52 kB / 0.5573 GB, free: 4.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4758, allocations: 4 kB / 0.5573 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4758, allocations: 0 / 0.5573 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4759, allocations: 4 kB / 0.5573 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.476, allocations: 15.98 kB / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4761, allocations: 0 / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.4761, allocations: 4 kB / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4762, allocations: 0 / 0.5573 GB, free: 4.762 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.863e-05/0.4762, allocations: 45.52 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.4763, allocations: 7.906 kB / 0.5573 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.4766, allocations: 115.3 kB / 0.5574 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4766, allocations: 3.906 kB / 0.5574 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.4767, allocations: 3.938 kB / 0.5575 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4767, allocations: 0 / 0.5575 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.4773, allocations: 375.8 kB / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.4773, allocations: 4 kB / 0.5578 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.4774, allocations: 15.92 kB / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4774, allocations: 0 / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4775, allocations: 192 / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.4775, allocations: 8 kB / 0.5578 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4775, allocations: 0 / 0.5578 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003035/0.4778, allocations: 209.9 kB / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4779, allocations: 100.8 kB / 0.5581 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/0.478, allocations: 4 kB / 0.5581 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.4782, allocations: 0 / 0.5581 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.4782, allocations: 7.984 kB / 0.5581 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.4783, allocations: 4 kB / 0.5581 GB, free: 3.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000225/0.4785, allocations: 156.2 kB / 0.5583 GB, free: 3.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.4789, allocations: 32 kB / 0.5583 GB, free: 3.59 MB / 394.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009673/0.4798, allocations: 352.8 kB / 0.5587 GB, free: 3.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.4801, allocations: 55.92 kB / 0.5587 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4801, allocations: 0 / 0.5587 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.4802, allocations: 36 kB / 0.5588 GB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.4806, allocations: 35.81 kB / 0.5588 GB, free: 3.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.4812, allocations: 194.2 kB / 0.559 GB, free: 2.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/0.4817, allocations: 0.7309 MB / 0.5597 GB, free: 2.172 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4817, allocations: 0 / 0.5597 GB, free: 2.172 MB / 394.7 MB Notification: Performance of Templates: time 0.005932/0.4877, allocations: 2.02 MB / 0.5617 GB, free: 160 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches