Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") [: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.002446/0.002446, allocations: 172.2 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.686/1.686, 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.001273/0.001273, allocations: 90.42 kB / 261.8 MB, free: 13.61 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.3341/0.3341, allocations: 43.48 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.628e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.269, allocations: 58.84 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.4228, allocations: 86.89 MB / 0.5502 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4232, allocations: 75.25 kB / 0.5503 GB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02598/0.4492, allocations: 5.153 MB / 0.5553 GB, free: 6.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.4493, allocations: 3.938 kB / 0.5553 GB, free: 6.938 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.0006169/0.4499, allocations: 406 kB / 0.5557 GB, free: 6.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.4499, allocations: 12.03 kB / 0.5557 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.45, allocations: 11.81 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.4505, allocations: 218.8 kB / 0.556 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.4506, allocations: 4 kB / 0.556 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.4506, allocations: 4 kB / 0.556 GB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/0.4507, allocations: 19.92 kB / 0.556 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.4509, allocations: 45.69 kB / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4509, allocations: 0 / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4509, allocations: 7.984 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4509, allocations: 0 / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.4515, allocations: 281.4 kB / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.4517, allocations: 46.69 kB / 0.5563 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.4517, allocations: 20.92 kB / 0.5564 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.4518, allocations: 0 / 0.5564 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.4519, allocations: 63.39 kB / 0.5564 GB, free: 5.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.4519, allocations: 0 / 0.5564 GB, free: 5.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006013/0.4525, allocations: 141.3 kB / 0.5566 GB, free: 5.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.4526, allocations: 55.34 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.4529, allocations: 205.8 kB / 0.5568 GB, free: 5.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.453, allocations: 29.7 kB / 0.5568 GB, free: 5.211 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.453, allocations: 154.5 kB / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.4531, allocations: 27.64 kB / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.4531, allocations: 0 / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4532, allocations: 310.8 kB / 0.5573 GB, free: 4.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.4533, allocations: 24 kB / 0.5573 GB, free: 4.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.74e-05/0.4534, allocations: 33.7 kB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.4535, allocations: 16 kB / 0.5574 GB, free: 4.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4535, allocations: 4.188 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002267/0.4538, allocations: 85.66 kB / 0.5575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4538, allocations: 15.22 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.4538, allocations: 4 kB / 0.5575 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.4538, allocations: 3.906 kB / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.454, allocations: 16.03 kB / 0.5575 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.454, allocations: 4 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.4541, allocations: 3.984 kB / 0.5575 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.4541, allocations: 8 kB / 0.5575 GB, free: 4.496 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.611e-05/0.4542, allocations: 31.11 kB / 0.5575 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.4543, allocations: 15.75 kB / 0.5576 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.4546, allocations: 99.06 kB / 0.5577 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.4546, allocations: 4 kB / 0.5577 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4546, allocations: 4 kB / 0.5577 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.4546, allocations: 0 / 0.5577 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.4553, allocations: 383.8 kB / 0.558 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4553, allocations: 0 / 0.558 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.099e-05/0.4554, allocations: 8 kB / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.4554, allocations: 0 / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.4554, allocations: 15.91 kB / 0.5581 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.4554, allocations: 3.906 kB / 0.5581 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4554, allocations: 4.031 kB / 0.5581 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002939/0.4557, allocations: 201.9 kB / 0.5583 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.4559, allocations: 96.92 kB / 0.5583 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.4559, allocations: 3.938 kB / 0.5584 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4561, allocations: 7.984 kB / 0.5584 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.4561, allocations: 8 kB / 0.5584 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.4562, allocations: 3.938 kB / 0.5584 GB, free: 3.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002321/0.4564, allocations: 163.2 kB / 0.5585 GB, free: 3.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.4568, allocations: 31.94 kB / 0.5586 GB, free: 3.332 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.0009947/0.4578, allocations: 358.1 kB / 0.5589 GB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.458, allocations: 47.94 kB / 0.5589 GB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.458, allocations: 0 / 0.5589 GB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.96e-05/0.4581, allocations: 31.94 kB / 0.559 GB, free: 2.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.4585, allocations: 28.02 kB / 0.559 GB, free: 2.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.4592, allocations: 214.6 kB / 0.5592 GB, free: 2.664 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/0.4596, allocations: 0.7348 MB / 0.5599 GB, free: 1.902 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4596, allocations: 0 / 0.5599 GB, free: 1.902 MB / 394.7 MB Notification: Performance of Templates: time 0.005764/0.4654, allocations: 2.061 MB / 0.5619 GB, free: 15.84 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches