Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") [: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.001609/0.001609, allocations: 170.3 kB / 8.149 MB, free: 2.223 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.679/1.679, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001285/0.001285, allocations: 95.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.307/0.307, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.916e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2973, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.4528, allocations: 86.9 MB / 0.5502 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.4532, allocations: 75.95 kB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02451/0.4777, allocations: 5.019 MB / 0.5552 GB, free: 7.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.4778, allocations: 3.938 kB / 0.5552 GB, free: 7.094 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.000607/0.4784, allocations: 406 kB / 0.5556 GB, free: 6.652 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4785, allocations: 8.031 kB / 0.5556 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.4786, allocations: 19.81 kB / 0.5556 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.479, allocations: 209 kB / 0.5558 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.479, allocations: 0 / 0.5558 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.4791, allocations: 4 kB / 0.5558 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.927e-05/0.4792, allocations: 15.98 kB / 0.5558 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.4793, allocations: 57.52 kB / 0.5559 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4794, allocations: 0 / 0.5559 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4794, allocations: 8 kB / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4794, allocations: 0 / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.4799, allocations: 269.4 kB / 0.5562 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.4801, allocations: 46.69 kB / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.4802, allocations: 16.98 kB / 0.5562 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.4802, allocations: 4 kB / 0.5562 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.4804, allocations: 67.33 kB / 0.5563 GB, free: 5.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.294e-06/0.4804, allocations: 4 kB / 0.5563 GB, free: 5.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000616/0.481, allocations: 129.3 kB / 0.5564 GB, free: 5.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.4811, allocations: 55.34 kB / 0.5565 GB, free: 5.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.4814, allocations: 178.3 kB / 0.5566 GB, free: 5.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.4814, allocations: 29.7 kB / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.4815, allocations: 154.6 kB / 0.5568 GB, free: 5.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.4816, allocations: 23.64 kB / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.4816, allocations: 0 / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4818, allocations: 318.8 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/0.4818, allocations: 23.94 kB / 0.5572 GB, free: 4.887 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.4819, allocations: 33.7 kB / 0.5572 GB, free: 4.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.482, allocations: 12 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.482, allocations: 4.172 kB / 0.5572 GB, free: 4.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002317/0.4823, allocations: 81.69 kB / 0.5573 GB, free: 4.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4823, allocations: 15.38 kB / 0.5573 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.4823, allocations: 11.88 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4824, allocations: 0 / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.4825, allocations: 15.98 kB / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.4826, allocations: 4 kB / 0.5573 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.4826, allocations: 0 / 0.5573 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.4827, allocations: 4 kB / 0.5573 GB, free: 4.699 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.173e-05/0.4827, allocations: 27.81 kB / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.4828, allocations: 15.81 kB / 0.5574 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.4831, allocations: 111 kB / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4832, allocations: 0 / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4832, allocations: 0 / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4832, allocations: 0 / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.4838, allocations: 375.9 kB / 0.5579 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4838, allocations: 192 / 0.5579 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.313e-05/0.4839, allocations: 12 kB / 0.5579 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/0.484, allocations: 7.984 kB / 0.5579 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.484, allocations: 4.031 kB / 0.5579 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.484, allocations: 80 / 0.5579 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.673e-05/0.484, allocations: 7.984 kB / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002975/0.4843, allocations: 205.8 kB / 0.5581 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.85e-05/0.4845, allocations: 97 kB / 0.5582 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.4845, allocations: 0 / 0.5582 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.4847, allocations: 8 kB / 0.5582 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4847, allocations: 15.83 kB / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.4847, allocations: 0 / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002059/0.485, allocations: 148.9 kB / 0.5583 GB, free: 3.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.4853, allocations: 27.94 kB / 0.5584 GB, free: 3.562 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.001012/0.4863, allocations: 355.2 kB / 0.5587 GB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.4866, allocations: 51.94 kB / 0.5588 GB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4866, allocations: 0 / 0.5588 GB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.4867, allocations: 28 kB / 0.5588 GB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4872, allocations: 23.97 kB / 0.5588 GB, free: 3.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.4878, allocations: 198.3 kB / 0.559 GB, free: 2.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.4883, allocations: 0.727 MB / 0.5597 GB, free: 2.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4883, allocations: 4 kB / 0.5597 GB, free: 2.156 MB / 394.7 MB Notification: Performance of Templates: time 0.005936/0.4942, allocations: 1.984 MB / 0.5616 GB, free: 180 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches