Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") [: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.001166/0.001166, allocations: 192.6 kB / 7.807 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.045/1.045, 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.0007733/0.0007733, allocations: 83.55 kB / 261.4 MB, free: 13.55 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.1546/0.1546, allocations: 43.49 MB / 352.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.125e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2331, allocations: 58.83 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3413, allocations: 87.01 MB / 0.5504 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.3416, allocations: 71.95 kB / 0.5504 GB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01836/0.3599, allocations: 7.082 MB / 0.5573 GB, free: 4.879 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.36, allocations: 4 kB / 0.5573 GB, free: 4.875 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.0005141/0.3605, allocations: 473.7 kB / 0.5578 GB, free: 4.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3605, allocations: 8.031 kB / 0.5578 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.3606, allocations: 23.72 kB / 0.5578 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.361, allocations: 274.1 kB / 0.5581 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.361, allocations: 7.984 kB / 0.5581 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.3611, allocations: 7.906 kB / 0.5581 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.57e-05/0.3612, allocations: 31.98 kB / 0.5581 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3613, allocations: 91.25 kB / 0.5582 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3613, allocations: 0 / 0.5582 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3613, allocations: 11.98 kB / 0.5582 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3613, allocations: 0 / 0.5582 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.3618, allocations: 421.5 kB / 0.5586 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.362, allocations: 101.4 kB / 0.5587 GB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.005e-05/0.362, allocations: 45.77 kB / 0.5588 GB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.362, allocations: 4 kB / 0.5588 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.3622, allocations: 104.9 kB / 0.5589 GB, free: 3.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.3622, allocations: 0 / 0.5589 GB, free: 3.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005481/0.3627, allocations: 276.3 kB / 0.5591 GB, free: 2.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3628, allocations: 93.09 kB / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.3631, allocations: 307.3 kB / 0.5595 GB, free: 2.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3631, allocations: 29.7 kB / 0.5596 GB, free: 2.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.3632, allocations: 104.4 kB / 0.5597 GB, free: 2.273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.3632, allocations: 51.3 kB / 0.5597 GB, free: 2.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.3632, allocations: 0 / 0.5597 GB, free: 2.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.3633, allocations: 338.8 kB / 0.56 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/0.3634, allocations: 32 kB / 0.5601 GB, free: 1.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.3635, allocations: 70.86 kB / 0.5601 GB, free: 1.773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.3636, allocations: 48.06 kB / 0.5602 GB, free: 1.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3636, allocations: 0 / 0.5602 GB, free: 1.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002232/0.3638, allocations: 169.2 kB / 0.5603 GB, free: 1.555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.3638, allocations: 6.812 kB / 0.5603 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3638, allocations: 3.984 kB / 0.5603 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3638, allocations: 8.062 kB / 0.5604 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.364, allocations: 27.98 kB / 0.5604 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.364, allocations: 4 kB / 0.5604 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.3641, allocations: 4 kB / 0.5604 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3641, allocations: 11.92 kB / 0.5604 GB, free: 1.492 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 7.386e-05/0.3642, allocations: 110.4 kB / 0.5605 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.3642, allocations: 27.62 kB / 0.5605 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.3645, allocations: 183.4 kB / 0.5607 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3645, allocations: 0 / 0.5607 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3646, allocations: 4 kB / 0.5607 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3646, allocations: 3.984 kB / 0.5607 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.3651, allocations: 0.5897 MB / 0.5613 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3652, allocations: 4 kB / 0.5613 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.3652, allocations: 31.92 kB / 0.5613 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3652, allocations: 3.938 kB / 0.5613 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3653, allocations: 8 kB / 0.5613 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.3653, allocations: 4 kB / 0.5613 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3653, allocations: 3.984 kB / 0.5613 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002743/0.3656, allocations: 378.4 kB / 0.5617 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.3657, allocations: 112.8 kB / 0.5618 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.3657, allocations: 0 / 0.5618 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3658, allocations: 15.89 kB / 0.5618 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.3659, allocations: 11.98 kB / 0.5618 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.3659, allocations: 12 kB / 0.5618 GB, free: 15.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002038/0.3661, allocations: 247.1 kB / 0.5621 GB, free: 15.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.3665, allocations: 43.94 kB / 0.5621 GB, free: 15.6 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.0006093/0.3671, allocations: 356.2 kB / 0.5625 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.3673, allocations: 103.9 kB / 0.5626 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3673, allocations: 4 kB / 0.5626 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.3674, allocations: 59.92 kB / 0.5626 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3677, allocations: 48.23 kB / 0.5627 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.3683, allocations: 342.9 kB / 0.563 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.3686, allocations: 0.7897 MB / 0.5638 GB, free: 13.89 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3687, allocations: 0 / 0.5638 GB, free: 13.89 MB / 410.7 MB Notification: Performance of Templates: time 0.004851/0.3735, allocations: 2.658 MB / 0.5664 GB, free: 11.24 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches