Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") [: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.0008634/0.0008636, allocations: 194.5 kB / 7.807 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.051/1.051, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008192/0.0008191, allocations: 90.78 kB / 261.4 MB, free: 13.54 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.157/0.157, allocations: 43.5 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.003e-06, allocations: 4.219 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2352, allocations: 58.84 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3403, allocations: 86.89 MB / 0.5503 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.3406, allocations: 71.95 kB / 0.5503 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0128/0.3534, allocations: 5.048 MB / 0.5553 GB, free: 7.008 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.3534, allocations: 11.98 kB / 0.5553 GB, free: 6.996 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.0003331/0.3537, allocations: 394 kB / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.3538, allocations: 12.03 kB / 0.5557 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3538, allocations: 11.81 kB / 0.5557 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3541, allocations: 211.6 kB / 0.5559 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3541, allocations: 4 kB / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3541, allocations: 4 kB / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.603e-05/0.3542, allocations: 23.98 kB / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.418e-05/0.3543, allocations: 53.58 kB / 0.5559 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3543, allocations: 0 / 0.5559 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3543, allocations: 0 / 0.5559 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3543, allocations: 0 / 0.5559 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.3546, allocations: 281.3 kB / 0.5562 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.454e-05/0.3547, allocations: 50.69 kB / 0.5563 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.3547, allocations: 16.98 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.3547, allocations: 7.875 kB / 0.5563 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.625e-05/0.3548, allocations: 59.39 kB / 0.5563 GB, free: 5.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3549, allocations: 3.938 kB / 0.5563 GB, free: 5.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003273/0.3552, allocations: 133.3 kB / 0.5565 GB, free: 5.594 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.3552, allocations: 55.41 kB / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3554, allocations: 178.3 kB / 0.5567 GB, free: 5.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3554, allocations: 25.7 kB / 0.5567 GB, free: 5.309 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.3554, allocations: 92.12 kB / 0.5568 GB, free: 5.215 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.3555, allocations: 27.64 kB / 0.5568 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.3555, allocations: 0 / 0.5568 GB, free: 5.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.3556, allocations: 322.8 kB / 0.5571 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.022e-05/0.3556, allocations: 20 kB / 0.5572 GB, free: 4.844 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.3556, allocations: 33.66 kB / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/0.3557, allocations: 23.98 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3557, allocations: 0 / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001379/0.3558, allocations: 93.48 kB / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.3558, allocations: 6.812 kB / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.3559, allocations: 0 / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.3559, allocations: 4 kB / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.474e-05/0.356, allocations: 23.95 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.356, allocations: 0 / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.356, allocations: 4 kB / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.356, allocations: 4 kB / 0.5573 GB, free: 4.645 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.467e-05/0.3561, allocations: 105 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.3561, allocations: 19.8 kB / 0.5575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.3563, allocations: 99.02 kB / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3563, allocations: 3.984 kB / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3563, allocations: 4 kB / 0.5576 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3563, allocations: 0 / 0.5576 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.3567, allocations: 375.9 kB / 0.5579 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3567, allocations: 0 / 0.5579 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.3567, allocations: 8.281 kB / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3567, allocations: 0 / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3567, allocations: 12.08 kB / 0.5579 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3567, allocations: 7.938 kB / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3568, allocations: 4.109 kB / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001544/0.3569, allocations: 213.8 kB / 0.5582 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.357, allocations: 89.02 kB / 0.5582 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.357, allocations: 7.906 kB / 0.5583 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.3571, allocations: 3.984 kB / 0.5583 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.3571, allocations: 8 kB / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.3571, allocations: 4 kB / 0.5583 GB, free: 3.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001005/0.3572, allocations: 148.9 kB / 0.5584 GB, free: 3.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.3575, allocations: 31.92 kB / 0.5584 GB, free: 3.426 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.0006022/0.3581, allocations: 348.5 kB / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.3582, allocations: 47.94 kB / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.3582, allocations: 0 / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/0.3583, allocations: 31.98 kB / 0.5589 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.3585, allocations: 27.84 kB / 0.5589 GB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.3588, allocations: 164.6 kB / 0.559 GB, free: 2.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.3591, allocations: 0.7348 MB / 0.5598 GB, free: 2.059 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3591, allocations: 0 / 0.5598 GB, free: 2.059 MB / 394.7 MB Notification: Performance of Templates: time 0.003508/0.3626, allocations: 1.657 MB / 0.5614 GB, free: 424 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches