Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") [: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.002681/0.002681, allocations: 171.6 kB / 8.148 MB, free: 2.195 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.824/1.824, 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.001272/0.001272, allocations: 92.89 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.2894/0.2894, allocations: 43.5 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.385e-06/8.476e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3464, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.5217, allocations: 86.86 MB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.5221, allocations: 75.47 kB / 0.5503 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03008/0.5522, allocations: 4.879 MB / 0.555 GB, free: 7.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.5523, allocations: 7.938 kB / 0.555 GB, free: 7.242 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.000708/0.553, allocations: 390.2 kB / 0.5554 GB, free: 6.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.553, allocations: 12.03 kB / 0.5554 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.5531, allocations: 7.906 kB / 0.5554 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.5537, allocations: 217.6 kB / 0.5556 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.5537, allocations: 0 / 0.5556 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.5538, allocations: 4 kB / 0.5556 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001515/0.5539, allocations: 16 kB / 0.5557 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.5541, allocations: 49.67 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.5542, allocations: 7.906 kB / 0.5557 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.5542, allocations: 0 / 0.5557 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5542, allocations: 4 kB / 0.5557 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.5549, allocations: 265.5 kB / 0.556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.5551, allocations: 50.59 kB / 0.556 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.5552, allocations: 20.98 kB / 0.556 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.5553, allocations: 4 kB / 0.556 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.5554, allocations: 59.39 kB / 0.5561 GB, free: 6.008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.765e-06/0.5555, allocations: 0 / 0.5561 GB, free: 6.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007622/0.5562, allocations: 141.1 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.5563, allocations: 55.41 kB / 0.5563 GB, free: 5.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.5567, allocations: 162.2 kB / 0.5564 GB, free: 5.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.5567, allocations: 29.7 kB / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.5569, allocations: 154.6 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.5569, allocations: 23.7 kB / 0.5566 GB, free: 5.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.557, allocations: 0 / 0.5566 GB, free: 5.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5571, allocations: 314.8 kB / 0.5569 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.5572, allocations: 12 kB / 0.557 GB, free: 5.094 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.5574, allocations: 37.7 kB / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.5575, allocations: 20.12 kB / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5576, allocations: 7.906 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003727/0.558, allocations: 89.61 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.558, allocations: 7.438 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.558, allocations: 4 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.5581, allocations: 0 / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.5583, allocations: 19.92 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5584, allocations: 0 / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.192e-05/0.5585, allocations: 4 kB / 0.5571 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.5585, allocations: 4 kB / 0.5571 GB, free: 4.895 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 0.0001027/0.5586, allocations: 37.16 kB / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.5587, allocations: 11.91 kB / 0.5572 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.5592, allocations: 102.1 kB / 0.5573 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.5592, allocations: 3.906 kB / 0.5573 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.5593, allocations: 192 / 0.5573 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.5593, allocations: 4 kB / 0.5573 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008731/0.5602, allocations: 372 kB / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.5602, allocations: 0 / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.5604, allocations: 15.98 kB / 0.5577 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.5604, allocations: 0 / 0.5577 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.5604, allocations: 4 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/0.5604, allocations: 4.078 kB / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.5605, allocations: 3.984 kB / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004167/0.5609, allocations: 205.9 kB / 0.5579 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.561, allocations: 104.8 kB / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.5611, allocations: 0 / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.5614, allocations: 4 kB / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.5614, allocations: 7.984 kB / 0.558 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.5615, allocations: 7.938 kB / 0.558 GB, free: 3.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002665/0.5618, allocations: 140.1 kB / 0.5581 GB, free: 3.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005952/0.5624, allocations: 31.98 kB / 0.5582 GB, free: 3.758 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.001537/0.5639, allocations: 351.2 kB / 0.5585 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.5643, allocations: 51.98 kB / 0.5585 GB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.5643, allocations: 0 / 0.5585 GB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.5645, allocations: 36 kB / 0.5586 GB, free: 3.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.5651, allocations: 19.98 kB / 0.5586 GB, free: 3.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008588/0.566, allocations: 186.2 kB / 0.5588 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006056/0.5666, allocations: 0.7269 MB / 0.5595 GB, free: 2.367 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5667, allocations: 0 / 0.5595 GB, free: 2.367 MB / 394.7 MB Notification: Performance of Templates: time 0.007888/0.5746, allocations: 1.947 MB / 0.5614 GB, free: 432 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches