Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") [: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.0008513/0.0008514, allocations: 188.8 kB / 7.804 MB, free: 2.492 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.048/1.048, 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.0008264/0.0008264, allocations: 89.92 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.1549/0.1549, allocations: 43.5 MB / 352.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.859e-06/1.005e-05, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2395, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.3499, allocations: 87.16 MB / 0.5505 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.3501, allocations: 75.95 kB / 0.5506 GB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01907/0.3692, allocations: 7.387 MB / 0.5578 GB, free: 4.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3692, allocations: 0 / 0.5578 GB, free: 4.41 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.0003764/0.3696, allocations: 422.1 kB / 0.5582 GB, free: 3.953 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3696, allocations: 12.03 kB / 0.5582 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3697, allocations: 7.906 kB / 0.5582 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.3699, allocations: 210.1 kB / 0.5584 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.37, allocations: 3.938 kB / 0.5584 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.37, allocations: 4 kB / 0.5584 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.784e-05/0.37, allocations: 19.89 kB / 0.5585 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.13e-05/0.3701, allocations: 75.33 kB / 0.5585 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3702, allocations: 0 / 0.5585 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3702, allocations: 0 / 0.5585 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3702, allocations: 0 / 0.5585 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.3705, allocations: 265.4 kB / 0.5588 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.803e-05/0.3706, allocations: 50.62 kB / 0.5588 GB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.3706, allocations: 20.98 kB / 0.5588 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.3706, allocations: 0 / 0.5588 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.356e-05/0.3707, allocations: 59.41 kB / 0.5589 GB, free: 3.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3707, allocations: 0 / 0.5589 GB, free: 3.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003415/0.3711, allocations: 125.3 kB / 0.559 GB, free: 3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3711, allocations: 81.02 kB / 0.5591 GB, free: 2.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3712, allocations: 141 kB / 0.5592 GB, free: 2.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3713, allocations: 33.7 kB / 0.5593 GB, free: 2.719 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.3713, allocations: 84.08 kB / 0.5593 GB, free: 2.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.3713, allocations: 27.64 kB / 0.5594 GB, free: 2.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.3713, allocations: 0 / 0.5594 GB, free: 2.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.3714, allocations: 322.8 kB / 0.5597 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.3715, allocations: 20 kB / 0.5597 GB, free: 2.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.37e-05/0.3715, allocations: 34.58 kB / 0.5597 GB, free: 2.219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.3716, allocations: 28.02 kB / 0.5598 GB, free: 2.191 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3716, allocations: 3.938 kB / 0.5598 GB, free: 2.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001264/0.3717, allocations: 89.64 kB / 0.5599 GB, free: 2.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3717, allocations: 8 kB / 0.5599 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3717, allocations: 3.984 kB / 0.5599 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.3718, allocations: 3.906 kB / 0.5599 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.3718, allocations: 12 kB / 0.5599 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3719, allocations: 3.938 kB / 0.5599 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.3719, allocations: 8.031 kB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3719, allocations: 11.98 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 6.169e-05/0.372, allocations: 105 kB / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.372, allocations: 7.906 kB / 0.56 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.3722, allocations: 98.2 kB / 0.5601 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3722, allocations: 4.094 kB / 0.5601 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3722, allocations: 4.125 kB / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3722, allocations: 11.97 kB / 0.5601 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.3726, allocations: 363.8 kB / 0.5605 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3726, allocations: 4 kB / 0.5605 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.3726, allocations: 8 kB / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3726, allocations: 0 / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3726, allocations: 0 / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3726, allocations: 4 kB / 0.5605 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3726, allocations: 3.984 kB / 0.5605 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001526/0.3728, allocations: 201.9 kB / 0.5607 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.3729, allocations: 89 kB / 0.5608 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.3729, allocations: 4 kB / 0.5608 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.373, allocations: 4 kB / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.373, allocations: 11.89 kB / 0.5608 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.373, allocations: 4 kB / 0.5608 GB, free: 1.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.104e-05/0.3731, allocations: 118.4 kB / 0.5609 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.3734, allocations: 47.86 kB / 0.5609 GB, free: 0.8672 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.0006612/0.374, allocations: 387 kB / 0.5613 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.3741, allocations: 59.97 kB / 0.5614 GB, free: 480 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.3742, allocations: 0 / 0.5614 GB, free: 480 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.3742, allocations: 31.94 kB / 0.5614 GB, free: 448 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.3744, allocations: 23.84 kB / 0.5614 GB, free: 424 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.3747, allocations: 132.8 kB / 0.5616 GB, free: 256 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.375, allocations: 0.7269 MB / 0.5623 GB, free: 15.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.375, allocations: 0 / 0.5623 GB, free: 15.5 MB / 410.7 MB Notification: Performance of Templates: time 0.00374/0.3787, allocations: 1.831 MB / 0.564 GB, free: 13.68 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches