Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") [: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.0008821/0.0008821, allocations: 188.8 kB / 7.804 MB, free: 2.445 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.08/1.08, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0007947/0.0007948, allocations: 94.83 kB / 261.4 MB, free: 13.54 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.49 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.376e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2411, allocations: 58.83 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.3441, allocations: 87.68 MB / 0.551 GB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.3443, allocations: 71.97 kB / 0.5511 GB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01691/0.3612, allocations: 6.513 MB / 0.5575 GB, free: 4.738 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.3613, allocations: 7.938 kB / 0.5575 GB, free: 4.73 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005668/0.3619, allocations: 0.4955 MB / 0.5579 GB, free: 4.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.3619, allocations: 12.03 kB / 0.558 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.362, allocations: 19.72 kB / 0.558 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.3624, allocations: 286.1 kB / 0.5582 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3624, allocations: 4 kB / 0.5583 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.3624, allocations: 4 kB / 0.5583 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001023/0.3625, allocations: 39.89 kB / 0.5583 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3627, allocations: 100.2 kB / 0.5584 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.3627, allocations: 4 kB / 0.5584 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3627, allocations: 0 / 0.5584 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3627, allocations: 4 kB / 0.5584 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.3632, allocations: 362.1 kB / 0.5587 GB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3634, allocations: 109.4 kB / 0.5588 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.3634, allocations: 37.8 kB / 0.5589 GB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.3635, allocations: 8.062 kB / 0.5589 GB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.3636, allocations: 109 kB / 0.559 GB, free: 2.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.3636, allocations: 0 / 0.559 GB, free: 2.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002329/0.3639, allocations: 121.4 kB / 0.5591 GB, free: 2.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.3639, allocations: 102.8 kB / 0.5592 GB, free: 2.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.3642, allocations: 295.3 kB / 0.5595 GB, free: 2.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3643, allocations: 33.7 kB / 0.5595 GB, free: 2.379 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.3643, allocations: 104.1 kB / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.3644, allocations: 23.66 kB / 0.5596 GB, free: 2.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.3644, allocations: 0 / 0.5596 GB, free: 2.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3645, allocations: 346.7 kB / 0.56 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.161e-05/0.3646, allocations: 27.98 kB / 0.56 GB, free: 1.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.3646, allocations: 73.08 kB / 0.5601 GB, free: 1.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.138e-05/0.3647, allocations: 36.11 kB / 0.5601 GB, free: 1.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3647, allocations: 8.031 kB / 0.5601 GB, free: 1.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001874/0.3649, allocations: 129.3 kB / 0.5602 GB, free: 1.609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.3649, allocations: 10.81 kB / 0.5602 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3649, allocations: 0 / 0.5602 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.3649, allocations: 3.938 kB / 0.5602 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3651, allocations: 27.92 kB / 0.5603 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.3651, allocations: 0 / 0.5603 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.158e-05/0.3652, allocations: 11.91 kB / 0.5603 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3652, allocations: 12.05 kB / 0.5603 GB, free: 1.547 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.302e-05/0.3653, allocations: 106.4 kB / 0.5604 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.3653, allocations: 27.62 kB / 0.5604 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.3656, allocations: 139.3 kB / 0.5606 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3656, allocations: 4 kB / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3656, allocations: 0 / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3656, allocations: 0 / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3658, allocations: 245.9 kB / 0.5608 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3658, allocations: 4 kB / 0.5608 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.3659, allocations: 11.94 kB / 0.5608 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3659, allocations: 4 kB / 0.5608 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3659, allocations: 3.984 kB / 0.5608 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3659, allocations: 0 / 0.5608 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3659, allocations: 4.125 kB / 0.5608 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002079/0.3661, allocations: 179.3 kB / 0.561 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.3662, allocations: 112.8 kB / 0.5611 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.3662, allocations: 4 kB / 0.5611 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.3663, allocations: 7.984 kB / 0.5611 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.3664, allocations: 7.984 kB / 0.5611 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3664, allocations: 8 kB / 0.5611 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002255/0.3666, allocations: 231.1 kB / 0.5613 GB, free: 384 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.3669, allocations: 47.94 kB / 0.5614 GB, free: 336 kB / 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0006359/0.3675, allocations: 333 kB / 0.5617 GB, free: 40 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3678, allocations: 83.92 kB / 0.5618 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3678, allocations: 0 / 0.5618 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.3679, allocations: 55.92 kB / 0.5618 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.3682, allocations: 48.17 kB / 0.5619 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.3688, allocations: 292.5 kB / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.3692, allocations: 0.7784 MB / 0.5629 GB, free: 14.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3692, allocations: 0 / 0.5629 GB, free: 14.73 MB / 410.7 MB Notification: Performance of Templates: time 0.005504/0.3747, allocations: 2.746 MB / 0.5656 GB, free: 12 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches