Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") [: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.0008735/0.0008736, 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.041/1.041, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008253/0.0008253, allocations: 97.48 kB / 261.4 MB, free: 13.53 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.1528/0.1528, allocations: 43.48 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.145e-06/8.165e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2377, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3443, allocations: 87.01 MB / 0.5504 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.3445, allocations: 67.97 kB / 0.5504 GB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01791/0.3624, allocations: 7.245 MB / 0.5575 GB, free: 4.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.3625, allocations: 4 kB / 0.5575 GB, free: 4.688 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005018/0.363, allocations: 489.7 kB / 0.558 GB, free: 4.164 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.363, allocations: 8.031 kB / 0.558 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.3631, allocations: 27.62 kB / 0.558 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.3635, allocations: 291 kB / 0.5583 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3635, allocations: 4 kB / 0.5583 GB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3636, allocations: 7.984 kB / 0.5583 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.445e-05/0.3637, allocations: 39.92 kB / 0.5583 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.3638, allocations: 91.31 kB / 0.5584 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3638, allocations: 3.906 kB / 0.5584 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3638, allocations: 0 / 0.5584 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3639, allocations: 0 / 0.5584 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.3643, allocations: 449.5 kB / 0.5589 GB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.3645, allocations: 101.4 kB / 0.559 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.3645, allocations: 37.84 kB / 0.559 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.3646, allocations: 4 kB / 0.559 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.3647, allocations: 101 kB / 0.5591 GB, free: 2.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.3647, allocations: 0 / 0.5591 GB, free: 2.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005654/0.3653, allocations: 296.1 kB / 0.5594 GB, free: 2.586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3653, allocations: 77.11 kB / 0.5594 GB, free: 2.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.3657, allocations: 379.4 kB / 0.5598 GB, free: 2.121 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3657, allocations: 29.7 kB / 0.5598 GB, free: 2.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.3657, allocations: 104.4 kB / 0.5599 GB, free: 1.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.3658, allocations: 51.3 kB / 0.56 GB, free: 1.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.3658, allocations: 0 / 0.56 GB, free: 1.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.3659, allocations: 346.8 kB / 0.5603 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.366, allocations: 36 kB / 0.5603 GB, free: 1.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.366, allocations: 74.84 kB / 0.5604 GB, free: 1.461 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.917e-05/0.3661, allocations: 39.92 kB / 0.5605 GB, free: 1.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3661, allocations: 0 / 0.5605 GB, free: 1.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002228/0.3664, allocations: 169.4 kB / 0.5606 GB, free: 1.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.3664, allocations: 6.812 kB / 0.5606 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3664, allocations: 0 / 0.5606 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3664, allocations: 4 kB / 0.5606 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3665, allocations: 32.05 kB / 0.5607 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3665, allocations: 4 kB / 0.5607 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.3666, allocations: 4 kB / 0.5607 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.3667, allocations: 11.98 kB / 0.5607 GB, free: 1.191 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.925e-05/0.3667, allocations: 114.2 kB / 0.5608 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.3668, allocations: 31.62 kB / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.3671, allocations: 188.3 kB / 0.561 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.3671, allocations: 4 kB / 0.561 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3671, allocations: 0 / 0.561 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3671, allocations: 3.984 kB / 0.561 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.3677, allocations: 0.6169 MB / 0.5616 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3677, allocations: 3.906 kB / 0.5616 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.3678, allocations: 27.92 kB / 0.5616 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3678, allocations: 8 kB / 0.5616 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3678, allocations: 8 kB / 0.5617 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3678, allocations: 0 / 0.5617 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3679, allocations: 4 kB / 0.5617 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002757/0.3681, allocations: 382.4 kB / 0.562 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.3682, allocations: 120.7 kB / 0.5621 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.3683, allocations: 0 / 0.5621 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3684, allocations: 11.98 kB / 0.5621 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.3685, allocations: 15.89 kB / 0.5622 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3685, allocations: 8 kB / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002488/0.3688, allocations: 299.1 kB / 0.5625 GB, free: 15.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.3691, allocations: 63.92 kB / 0.5625 GB, free: 15.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.0006089/0.3697, allocations: 342 kB / 0.5628 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.3699, allocations: 107.9 kB / 0.5629 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3699, allocations: 4 kB / 0.5629 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.37, allocations: 56.41 kB / 0.563 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3703, allocations: 60.48 kB / 0.5631 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.371, allocations: 399.6 kB / 0.5634 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.3713, allocations: 0.8014 MB / 0.5642 GB, free: 13.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3713, allocations: 0 / 0.5642 GB, free: 13.41 MB / 410.7 MB Notification: Performance of Templates: time 0.00545/0.3768, allocations: 2.771 MB / 0.5669 GB, free: 10.65 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches