Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") [: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.001268/0.001268, allocations: 186 kB / 7.806 MB, free: 2.488 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.079/1.079, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008076/0.0008075, allocations: 74.36 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.1526/0.1526, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.544e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2399, allocations: 58.83 MB / 476.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.3462, allocations: 87.17 MB / 0.5505 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001492/0.3464, allocations: 71.95 kB / 0.5506 GB, free: 11.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0184/0.3648, allocations: 7.394 MB / 0.5578 GB, free: 4.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.3648, allocations: 4 kB / 0.5578 GB, free: 4.402 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.0003517/0.3652, allocations: 422.1 kB / 0.5582 GB, free: 3.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.3652, allocations: 8.031 kB / 0.5582 GB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.3653, allocations: 7.906 kB / 0.5582 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3655, allocations: 218.1 kB / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.3655, allocations: 0 / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3655, allocations: 0 / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.337e-05/0.3656, allocations: 23.89 kB / 0.5585 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.336e-05/0.3657, allocations: 67.39 kB / 0.5585 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.3657, allocations: 4 kB / 0.5585 GB, free: 3.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3657, allocations: 0 / 0.5585 GB, free: 3.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-06/0.3657, allocations: 0 / 0.5585 GB, free: 3.574 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.366, allocations: 257.4 kB / 0.5588 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.965e-05/0.3661, allocations: 54.62 kB / 0.5588 GB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.3661, allocations: 20.98 kB / 0.5588 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.3661, allocations: 0 / 0.5588 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.562e-05/0.3662, allocations: 59.41 kB / 0.5589 GB, free: 3.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3662, allocations: 0 / 0.5589 GB, free: 3.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003113/0.3665, allocations: 125.3 kB / 0.559 GB, free: 3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3666, allocations: 85.02 kB / 0.5591 GB, free: 2.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3667, allocations: 141 kB / 0.5592 GB, free: 2.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3667, allocations: 25.7 kB / 0.5593 GB, free: 2.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.3667, allocations: 92.08 kB / 0.5594 GB, free: 2.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.3667, allocations: 27.64 kB / 0.5594 GB, free: 2.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.3668, allocations: 0 / 0.5594 GB, free: 2.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.3668, allocations: 322.8 kB / 0.5597 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.3669, allocations: 16 kB / 0.5597 GB, free: 2.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.3669, allocations: 38.52 kB / 0.5597 GB, free: 2.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.367, allocations: 31.95 kB / 0.5598 GB, free: 2.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.367, allocations: 0 / 0.5598 GB, free: 2.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00013/0.3671, allocations: 89.58 kB / 0.5599 GB, free: 2.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.3671, allocations: 4 kB / 0.5599 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3671, allocations: 4.172 kB / 0.5599 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.3672, allocations: 7.906 kB / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.3673, allocations: 19.94 kB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.3673, allocations: 0 / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.3673, allocations: 8.031 kB / 0.5599 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.3673, allocations: 3.984 kB / 0.5599 GB, free: 2.043 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 5.84e-05/0.3674, allocations: 105 kB / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3674, allocations: 7.906 kB / 0.56 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.3676, allocations: 106 kB / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3676, allocations: 0 / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3676, allocations: 0 / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3676, allocations: 3.984 kB / 0.5601 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.368, allocations: 363.8 kB / 0.5605 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.368, allocations: 0 / 0.5605 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.368, allocations: 8 kB / 0.5605 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.368, allocations: 4 kB / 0.5605 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.368, allocations: 0 / 0.5605 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3681, allocations: 3.984 kB / 0.5605 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3681, allocations: 0 / 0.5605 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001534/0.3682, allocations: 209.9 kB / 0.5607 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.3683, allocations: 89 kB / 0.5608 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.3683, allocations: 0 / 0.5608 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.3684, allocations: 8.359 kB / 0.5608 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.3684, allocations: 11.89 kB / 0.5608 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3685, allocations: 4 kB / 0.5608 GB, free: 1.031 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.036e-05/0.3685, allocations: 118.4 kB / 0.5609 GB, free: 0.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.3688, allocations: 55.8 kB / 0.561 GB, free: 0.8633 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.0006381/0.3694, allocations: 377.2 kB / 0.5613 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.3696, allocations: 55.97 kB / 0.5614 GB, free: 488 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3696, allocations: 7.938 kB / 0.5614 GB, free: 480 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.05e-05/0.3696, allocations: 24 kB / 0.5614 GB, free: 456 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.3699, allocations: 23.78 kB / 0.5614 GB, free: 432 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.3702, allocations: 144.7 kB / 0.5616 GB, free: 252 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.3704, allocations: 0.7231 MB / 0.5623 GB, free: 15.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3704, allocations: 0 / 0.5623 GB, free: 15.5 MB / 410.7 MB Notification: Performance of Templates: time 0.003688/0.3741, allocations: 1.827 MB / 0.564 GB, free: 13.68 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches