Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") [: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.002403/0.002403, allocations: 173.4 kB / 8.145 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.737/1.737, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001345/0.001345, allocations: 93.27 kB / 261.8 MB, free: 13.6 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.2995/0.2995, allocations: 43.5 MB / 353.2 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.053e-05/1.069e-05, allocations: 4 kB / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2668, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.4193, allocations: 87.2 MB / 0.5505 GB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.4196, allocations: 71.47 kB / 0.5506 GB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04923/0.4689, allocations: 10.55 MB / 0.5609 GB, free: 1.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.378e-05/0.469, allocations: 12 kB / 0.5609 GB, free: 1.219 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001383/0.4704, allocations: 0.6315 MB / 0.5615 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4704, allocations: 12.03 kB / 0.5615 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.4706, allocations: 55.28 kB / 0.5616 GB, free: 484 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.4719, allocations: 415.1 kB / 0.562 GB, free: 24 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.472, allocations: 15.94 kB / 0.562 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.4721, allocations: 12.03 kB / 0.562 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00032/0.4724, allocations: 87.83 kB / 0.5621 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.4728, allocations: 189.9 kB / 0.5623 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.4729, allocations: 3.938 kB / 0.5623 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.4729, allocations: 7.984 kB / 0.5623 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.473, allocations: 4 kB / 0.5623 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.4745, allocations: 0.8493 MB / 0.5631 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.4751, allocations: 245.9 kB / 0.5634 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.4754, allocations: 96.28 kB / 0.5635 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.4754, allocations: 4 kB / 0.5635 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004301/0.4758, allocations: 211.4 kB / 0.5637 GB, free: 14.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.975e-06/0.4759, allocations: 0 / 0.5637 GB, free: 14.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.002344/0.4782, allocations: 0.7728 MB / 0.5644 GB, free: 13.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.4784, allocations: 166.1 kB / 0.5646 GB, free: 13.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.4795, allocations: 0.5216 MB / 0.5651 GB, free: 12.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.4796, allocations: 33.7 kB / 0.5651 GB, free: 12.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.4797, allocations: 167.2 kB / 0.5653 GB, free: 12.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.4799, allocations: 118.3 kB / 0.5654 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.4799, allocations: 4 kB / 0.5654 GB, free: 12.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4801, allocations: 326.8 kB / 0.5657 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.4803, allocations: 84.88 kB / 0.5658 GB, free: 11.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.4807, allocations: 164.1 kB / 0.5659 GB, free: 11.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.4811, allocations: 112.2 kB / 0.5661 GB, free: 11.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4811, allocations: 0 / 0.5661 GB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009628/0.4821, allocations: 313.6 kB / 0.5663 GB, free: 11.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4821, allocations: 4 kB / 0.5664 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4821, allocations: 8.156 kB / 0.5664 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4821, allocations: 7.938 kB / 0.5664 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.4828, allocations: 83.89 kB / 0.5664 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.4828, allocations: 8.062 kB / 0.5665 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.4831, allocations: 15.98 kB / 0.5665 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.4832, allocations: 19.91 kB / 0.5665 GB, free: 11.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001516/0.4833, allocations: 53.59 kB / 0.5665 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.4836, allocations: 63.33 kB / 0.5666 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.4849, allocations: 401.1 kB / 0.567 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.4849, allocations: 4 kB / 0.567 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.4849, allocations: 0 / 0.567 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.4849, allocations: 7.984 kB / 0.567 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.4874, allocations: 1.238 MB / 0.5682 GB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4875, allocations: 8.156 kB / 0.5682 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.4879, allocations: 51.92 kB / 0.5683 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.4879, allocations: 4 kB / 0.5683 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.4879, allocations: 15.98 kB / 0.5683 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.488, allocations: 4 kB / 0.5683 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.488, allocations: 0 / 0.5683 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001257/0.4892, allocations: 0.87 MB / 0.5691 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.4895, allocations: 156.4 kB / 0.5693 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.4897, allocations: 8.562 kB / 0.5693 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/0.4903, allocations: 19.98 kB / 0.5693 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.4905, allocations: 43.78 kB / 0.5694 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.4905, allocations: 23.98 kB / 0.5694 GB, free: 8 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0008761/0.4914, allocations: 430.9 kB / 0.5698 GB, free: 7.582 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008708/0.4923, allocations: 91.92 kB / 0.5699 GB, free: 7.488 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001058/0.4934, allocations: 362.3 kB / 0.5702 GB, free: 7.176 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008379/0.4942, allocations: 271.5 kB / 0.5705 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4943, allocations: 320 / 0.5705 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.4947, allocations: 147.8 kB / 0.5706 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.4961, allocations: 110.9 kB / 0.5707 GB, free: 6.656 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.4984, allocations: 0.7455 MB / 0.5715 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009081/0.4993, allocations: 0.921 MB / 0.5724 GB, free: 4.902 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4994, allocations: 0 / 0.5724 GB, free: 4.902 MB / 410.7 MB Notification: Performance of Templates: time 0.01604/0.5154, allocations: 6.488 MB / 0.5787 GB, free: 14.41 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches