Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") [: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.001693/0.001693, allocations: 172.3 kB / 8.147 MB, free: 2.215 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.695/1.695, 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.001759/0.001758, allocations: 93.84 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.3469/0.3469, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.308e-06/9.367e-06, allocations: 0 / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2881, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.452, allocations: 86.88 MB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4523, allocations: 71.47 kB / 0.5503 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0247/0.477, allocations: 5.192 MB / 0.5554 GB, free: 6.949 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.4771, allocations: 0 / 0.5554 GB, free: 6.949 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.0005905/0.4777, allocations: 402.1 kB / 0.5557 GB, free: 6.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4778, allocations: 12.03 kB / 0.5558 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/0.4778, allocations: 11.81 kB / 0.5558 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.4783, allocations: 222.7 kB / 0.556 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.4783, allocations: 4 kB / 0.556 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.4784, allocations: 0 / 0.556 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.867e-05/0.4785, allocations: 23.98 kB / 0.556 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.4786, allocations: 49.67 kB / 0.5561 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4786, allocations: 0 / 0.5561 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4787, allocations: 0 / 0.5561 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4787, allocations: 0 / 0.5561 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.4792, allocations: 273.4 kB / 0.5563 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.4793, allocations: 54.62 kB / 0.5564 GB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.4794, allocations: 20.98 kB / 0.5564 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.4794, allocations: 3.984 kB / 0.5564 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.4796, allocations: 71.34 kB / 0.5565 GB, free: 5.672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.4796, allocations: 0 / 0.5565 GB, free: 5.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005644/0.4802, allocations: 137.1 kB / 0.5566 GB, free: 5.531 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.4802, allocations: 55.41 kB / 0.5566 GB, free: 5.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.4806, allocations: 197.9 kB / 0.5568 GB, free: 5.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.4806, allocations: 29.7 kB / 0.5569 GB, free: 5.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.4807, allocations: 154.5 kB / 0.557 GB, free: 5.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.4807, allocations: 31.62 kB / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.4808, allocations: 4 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4809, allocations: 310.8 kB / 0.5573 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.481, allocations: 20 kB / 0.5574 GB, free: 4.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.4811, allocations: 33.7 kB / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.644e-05/0.4811, allocations: 16 kB / 0.5574 GB, free: 4.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4812, allocations: 0 / 0.5574 GB, free: 4.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002321/0.4814, allocations: 89.61 kB / 0.5575 GB, free: 4.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4814, allocations: 7.281 kB / 0.5575 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4815, allocations: 4.031 kB / 0.5575 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4815, allocations: 3.906 kB / 0.5575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.4816, allocations: 19.98 kB / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4817, allocations: 0 / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.4817, allocations: 4 kB / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4818, allocations: 0 / 0.5575 GB, free: 4.523 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.6e-05/0.4818, allocations: 35.05 kB / 0.5576 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.4819, allocations: 11.81 kB / 0.5576 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.4822, allocations: 115 kB / 0.5577 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.4823, allocations: 0 / 0.5577 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.4823, allocations: 0 / 0.5577 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.4823, allocations: 0 / 0.5577 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.4829, allocations: 375.8 kB / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4829, allocations: 3.938 kB / 0.558 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.483, allocations: 15.97 kB / 0.5581 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.483, allocations: 4 kB / 0.5581 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4831, allocations: 4.031 kB / 0.5581 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.4831, allocations: 4.188 kB / 0.5581 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4831, allocations: 240 / 0.5581 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002959/0.4834, allocations: 217.8 kB / 0.5583 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/0.4835, allocations: 96.86 kB / 0.5584 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.4836, allocations: 7.984 kB / 0.5584 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.4837, allocations: 4 kB / 0.5584 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.4838, allocations: 8 kB / 0.5584 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.4838, allocations: 7.984 kB / 0.5584 GB, free: 3.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002224/0.484, allocations: 155.2 kB / 0.5585 GB, free: 3.379 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.4844, allocations: 31.94 kB / 0.5586 GB, free: 3.348 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.0009775/0.4854, allocations: 347.8 kB / 0.5589 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.4856, allocations: 48 kB / 0.559 GB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4856, allocations: 0 / 0.559 GB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.4857, allocations: 27.94 kB / 0.559 GB, free: 2.969 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.4861, allocations: 35.95 kB / 0.559 GB, free: 2.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/0.4868, allocations: 218.6 kB / 0.5592 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.4873, allocations: 0.7309 MB / 0.5599 GB, free: 1.922 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4873, allocations: 0 / 0.5599 GB, free: 1.922 MB / 394.7 MB Notification: Performance of Templates: time 0.005723/0.493, allocations: 2.061 MB / 0.562 GB, free: 15.86 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches