Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008614/0.0008615, allocations: 188.1 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.064/1.064, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000833/0.0008331, allocations: 87.17 kB / 261.4 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1565/0.1565, allocations: 43.5 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.155e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2434, allocations: 58.83 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.3469, allocations: 86.98 MB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001622/0.3471, allocations: 75.95 kB / 0.5504 GB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01836/0.3655, allocations: 7.025 MB / 0.5573 GB, free: 4.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3655, allocations: 4 kB / 0.5573 GB, free: 4.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005172/0.366, allocations: 465.9 kB / 0.5577 GB, free: 4.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3661, allocations: 8.031 kB / 0.5577 GB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.3662, allocations: 15.81 kB / 0.5577 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.3665, allocations: 238.7 kB / 0.558 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3665, allocations: 4 kB / 0.558 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.3666, allocations: 0 / 0.558 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.625e-05/0.3667, allocations: 27.98 kB / 0.558 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3668, allocations: 104.9 kB / 0.5581 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.3668, allocations: 0 / 0.5581 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3668, allocations: 0 / 0.5581 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.3668, allocations: 0 / 0.5581 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.367, allocations: 199.1 kB / 0.5583 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3672, allocations: 97.22 kB / 0.5584 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.3673, allocations: 33.72 kB / 0.5584 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3673, allocations: 4 kB / 0.5584 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.3674, allocations: 101 kB / 0.5585 GB, free: 3.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3674, allocations: 4 kB / 0.5585 GB, free: 3.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000234/0.3677, allocations: 105.5 kB / 0.5586 GB, free: 3.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.3677, allocations: 132.5 kB / 0.5587 GB, free: 3.207 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.3679, allocations: 191 kB / 0.5589 GB, free: 3.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.368, allocations: 29.7 kB / 0.559 GB, free: 2.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.368, allocations: 96.12 kB / 0.559 GB, free: 2.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3681, allocations: 27.64 kB / 0.5591 GB, free: 2.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.3681, allocations: 0 / 0.5591 GB, free: 2.848 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3682, allocations: 334.7 kB / 0.5594 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.794e-05/0.3682, allocations: 31.92 kB / 0.5594 GB, free: 2.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.429e-05/0.3683, allocations: 57.66 kB / 0.5595 GB, free: 2.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.63e-05/0.3684, allocations: 27.98 kB / 0.5595 GB, free: 2.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3684, allocations: 0 / 0.5595 GB, free: 2.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001783/0.3686, allocations: 133.6 kB / 0.5596 GB, free: 2.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.3686, allocations: 7.984 kB / 0.5596 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3686, allocations: 0 / 0.5596 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.3686, allocations: 4 kB / 0.5596 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3687, allocations: 19.94 kB / 0.5597 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.3688, allocations: 11.97 kB / 0.5597 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.3688, allocations: 7.906 kB / 0.5597 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3689, allocations: 4 kB / 0.5597 GB, free: 2.188 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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 7.611e-05/0.3689, allocations: 117.9 kB / 0.5598 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.369, allocations: 19.72 kB / 0.5598 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.3692, allocations: 130.7 kB / 0.5599 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3692, allocations: 0 / 0.5599 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3692, allocations: 3.984 kB / 0.5599 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3692, allocations: 3.984 kB / 0.56 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.3694, allocations: 206 kB / 0.5601 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3694, allocations: 0 / 0.5601 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.3695, allocations: 11.98 kB / 0.5602 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3695, allocations: 4 kB / 0.5602 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3695, allocations: 7.938 kB / 0.5602 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3695, allocations: 3.938 kB / 0.5602 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3695, allocations: 0 / 0.5602 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001924/0.3697, allocations: 163.4 kB / 0.5603 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.3698, allocations: 100.9 kB / 0.5604 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3698, allocations: 4 kB / 0.5604 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.3699, allocations: 8.172 kB / 0.5604 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.3699, allocations: 4 kB / 0.5604 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.37, allocations: 15.98 kB / 0.5605 GB, free: 1.309 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001333/0.3701, allocations: 153.5 kB / 0.5606 GB, free: 1.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.3703, allocations: 47.84 kB / 0.5606 GB, free: 1.113 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.0006394/0.371, allocations: 357.4 kB / 0.561 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.3711, allocations: 71.94 kB / 0.5611 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.3712, allocations: 0 / 0.5611 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.3712, allocations: 43.92 kB / 0.5611 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.3715, allocations: 51.89 kB / 0.5611 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.3719, allocations: 180.2 kB / 0.5613 GB, free: 444 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.3723, allocations: 0.751 MB / 0.5621 GB, free: 15.66 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3723, allocations: 4 kB / 0.5621 GB, free: 15.65 MB / 410.7 MB Notification: Performance of Templates: time 0.00472/0.377, allocations: 2.427 MB / 0.5644 GB, free: 13.24 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches