Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") [: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.0008578/0.0008579, allocations: 190.6 kB / 7.803 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.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.0007633/0.0007632, allocations: 95.52 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.1572/0.1572, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.584e-06/7.605e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2347, allocations: 58.84 MB / 476.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.3443, allocations: 86.99 MB / 0.5504 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.3445, allocations: 75.89 kB / 0.5504 GB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01822/0.3628, allocations: 7.086 MB / 0.5574 GB, free: 4.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3629, allocations: 0 / 0.5574 GB, free: 4.844 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.0004842/0.3634, allocations: 477.7 kB / 0.5578 GB, free: 4.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3634, allocations: 12.03 kB / 0.5578 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.3635, allocations: 19.72 kB / 0.5578 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.3638, allocations: 274.1 kB / 0.5581 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3639, allocations: 7.938 kB / 0.5581 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.3639, allocations: 3.906 kB / 0.5581 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.873e-05/0.364, allocations: 35.98 kB / 0.5581 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.3641, allocations: 91.36 kB / 0.5582 GB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3641, allocations: 4 kB / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3642, allocations: 0 / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3642, allocations: 4 kB / 0.5582 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.3646, allocations: 429.5 kB / 0.5586 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.3648, allocations: 97.52 kB / 0.5587 GB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.3648, allocations: 41.77 kB / 0.5588 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.3649, allocations: 4 kB / 0.5588 GB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.365, allocations: 108.9 kB / 0.5589 GB, free: 3.082 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.325e-06/0.365, allocations: 3.984 kB / 0.5589 GB, free: 3.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005543/0.3656, allocations: 280.3 kB / 0.5592 GB, free: 2.797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3656, allocations: 81.11 kB / 0.5592 GB, free: 2.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.3659, allocations: 307.3 kB / 0.5595 GB, free: 2.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3659, allocations: 29.7 kB / 0.5596 GB, free: 2.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.366, allocations: 108.4 kB / 0.5597 GB, free: 2.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.366, allocations: 47.3 kB / 0.5597 GB, free: 2.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.366, allocations: 4 kB / 0.5597 GB, free: 2.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.3661, allocations: 338.8 kB / 0.56 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.3662, allocations: 32 kB / 0.5601 GB, free: 1.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.3663, allocations: 74.62 kB / 0.5601 GB, free: 1.734 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.943e-05/0.3664, allocations: 35.98 kB / 0.5602 GB, free: 1.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3664, allocations: 0 / 0.5602 GB, free: 1.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002221/0.3666, allocations: 169.4 kB / 0.5603 GB, free: 1.527 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.3666, allocations: 8 kB / 0.5603 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3666, allocations: 0 / 0.5603 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.3666, allocations: 0 / 0.5603 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3668, allocations: 35.92 kB / 0.5604 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3668, allocations: 4.062 kB / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.3669, allocations: 11.98 kB / 0.5604 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3669, allocations: 4 kB / 0.5604 GB, free: 1.465 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.59e-05/0.367, allocations: 114.5 kB / 0.5605 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.367, allocations: 27.62 kB / 0.5605 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.3673, allocations: 179.2 kB / 0.5607 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3673, allocations: 7.984 kB / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3674, allocations: 0 / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.3674, allocations: 0 / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.3679, allocations: 0.6013 MB / 0.5613 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3679, allocations: 0 / 0.5613 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.771e-05/0.368, allocations: 27.94 kB / 0.5613 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.368, allocations: 0 / 0.5613 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.368, allocations: 7.984 kB / 0.5613 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3681, allocations: 0 / 0.5613 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3681, allocations: 4 kB / 0.5613 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002811/0.3683, allocations: 378.5 kB / 0.5617 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.3684, allocations: 112.8 kB / 0.5618 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.3685, allocations: 3.984 kB / 0.5618 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3686, allocations: 11.91 kB / 0.5618 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3687, allocations: 19.97 kB / 0.5618 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3687, allocations: 7.984 kB / 0.5618 GB, free: 15.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001998/0.3689, allocations: 247.1 kB / 0.5621 GB, free: 15.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.3692, allocations: 51.92 kB / 0.5621 GB, free: 15.57 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.0006359/0.3699, allocations: 345.6 kB / 0.5625 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.3701, allocations: 107.4 kB / 0.5626 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.3701, allocations: 0 / 0.5626 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.3702, allocations: 59.94 kB / 0.5626 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3705, allocations: 49.75 kB / 0.5627 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.3711, allocations: 342.6 kB / 0.563 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.3714, allocations: 0.7897 MB / 0.5638 GB, free: 13.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3714, allocations: 0 / 0.5638 GB, free: 13.87 MB / 410.7 MB Notification: Performance of Templates: time 0.005005/0.3764, allocations: 2.673 MB / 0.5664 GB, free: 11.2 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches