Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") [: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.001689/0.001689, allocations: 173.6 kB / 8.145 MB, free: 2.152 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.725/1.725, 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.001625/0.001625, allocations: 93.8 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.2602/0.2602, allocations: 43.48 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.116e-05/1.128e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2864, allocations: 58.85 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.4503, allocations: 86.74 MB / 0.5501 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.4507, allocations: 79.45 kB / 0.5502 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02826/0.479, allocations: 6.078 MB / 0.5561 GB, free: 6.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.638e-05/0.4791, allocations: 12 kB / 0.5561 GB, free: 6.176 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009906/0.4801, allocations: 0.5909 MB / 0.5567 GB, free: 5.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4801, allocations: 8.031 kB / 0.5567 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.4803, allocations: 47.34 kB / 0.5567 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.4816, allocations: 483.1 kB / 0.5572 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.4816, allocations: 4 kB / 0.5572 GB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.4817, allocations: 4 kB / 0.5572 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001362/0.4818, allocations: 27.98 kB / 0.5572 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.482, allocations: 87.3 kB / 0.5573 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4821, allocations: 7.844 kB / 0.5573 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4821, allocations: 0 / 0.5573 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4821, allocations: 0 / 0.5573 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.4827, allocations: 358.9 kB / 0.5577 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.483, allocations: 93.34 kB / 0.5578 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.4831, allocations: 37.66 kB / 0.5578 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4831, allocations: 0 / 0.5578 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.4833, allocations: 101.1 kB / 0.5579 GB, free: 4.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.4833, allocations: 0 / 0.5579 GB, free: 4.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000472/0.4838, allocations: 145 kB / 0.558 GB, free: 4.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.4839, allocations: 81.02 kB / 0.5581 GB, free: 3.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.486, allocations: 0.9006 MB / 0.559 GB, free: 3.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.4861, allocations: 29.69 kB / 0.559 GB, free: 2.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.4862, allocations: 154.6 kB / 0.5592 GB, free: 2.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.4862, allocations: 27.7 kB / 0.5592 GB, free: 2.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.4863, allocations: 0 / 0.5592 GB, free: 2.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4864, allocations: 318.8 kB / 0.5595 GB, free: 2.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.4865, allocations: 20 kB / 0.5595 GB, free: 2.461 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.4866, allocations: 57.67 kB / 0.5596 GB, free: 2.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4867, allocations: 31.92 kB / 0.5596 GB, free: 2.363 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4868, allocations: 7.938 kB / 0.5596 GB, free: 2.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003584/0.4871, allocations: 109.5 kB / 0.5597 GB, free: 2.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4872, allocations: 7.438 kB / 0.5597 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4872, allocations: 7.984 kB / 0.5597 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4872, allocations: 256 / 0.5597 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.4874, allocations: 19.98 kB / 0.5597 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4875, allocations: 8 kB / 0.5598 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.4876, allocations: 15.91 kB / 0.5598 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.4876, allocations: 8 kB / 0.5598 GB, free: 2.18 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.761e-05/0.4877, allocations: 42.89 kB / 0.5598 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.4879, allocations: 51.34 kB / 0.5599 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.4884, allocations: 165.7 kB / 0.56 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4884, allocations: 4 kB / 0.56 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4885, allocations: 0 / 0.56 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4885, allocations: 0 / 0.56 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.489, allocations: 365.8 kB / 0.5604 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4891, allocations: 3.938 kB / 0.5604 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-05/0.4892, allocations: 8 kB / 0.5604 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4892, allocations: 4 kB / 0.5604 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.4892, allocations: 3.984 kB / 0.5604 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.4892, allocations: 4 kB / 0.5604 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.4892, allocations: 3.906 kB / 0.5604 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004314/0.4897, allocations: 198.9 kB / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.4901, allocations: 192.4 kB / 0.5608 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.4902, allocations: 7.984 kB / 0.5608 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.4904, allocations: 4 kB / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.4905, allocations: 11.98 kB / 0.5608 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.4905, allocations: 4 kB / 0.5608 GB, free: 1.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001451/0.492, allocations: 0.7136 MB / 0.5615 GB, free: 324 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004641/0.4924, allocations: 80 kB / 0.5616 GB, free: 244 kB / 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009719/0.4934, allocations: 315.3 kB / 0.5619 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.4937, allocations: 79.86 kB / 0.562 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.4938, allocations: 0 / 0.562 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.4939, allocations: 43.92 kB / 0.562 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.4946, allocations: 66.03 kB / 0.5621 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.4969, allocations: 0.8086 MB / 0.5628 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008178/0.4978, allocations: 0.8966 MB / 0.5637 GB, free: 14 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4978, allocations: 0 / 0.5637 GB, free: 14 MB / 410.7 MB Notification: Performance of Templates: time 0.01438/0.5122, allocations: 5.545 MB / 0.5691 GB, free: 8.457 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches