Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") [: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.0009069/0.000907, allocations: 188.4 kB / 7.806 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.1/1.1, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.000762/0.0007619, allocations: 92.5 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.1605/0.1605, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.459e-06/4.479e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2516, allocations: 58.83 MB / 476.5 MB, free: 5.234 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.3554, allocations: 85.79 MB / 0.5492 GB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001579/0.3555, allocations: 71.95 kB / 0.5492 GB, free: 13.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009154/0.3647, allocations: 3.595 MB / 0.5527 GB, free: 9.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.3647, allocations: 4 kB / 0.5527 GB, free: 9.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000272/0.365, allocations: 378.1 kB / 0.5531 GB, free: 9.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.637e-05/0.365, allocations: 12.03 kB / 0.5531 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.3651, allocations: 7.906 kB / 0.5531 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3652, allocations: 194.9 kB / 0.5533 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-06/0.3653, allocations: 4 kB / 0.5533 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.3653, allocations: 4 kB / 0.5533 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.199e-05/0.3653, allocations: 23.98 kB / 0.5533 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8e-05/0.3654, allocations: 67.25 kB / 0.5534 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.3654, allocations: 4 kB / 0.5534 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3655, allocations: 3.984 kB / 0.5534 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-06/0.3655, allocations: 0 / 0.5534 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.3658, allocations: 365.6 kB / 0.5538 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.366, allocations: 71.44 kB / 0.5538 GB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.366, allocations: 25.72 kB / 0.5538 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3661, allocations: 7.938 kB / 0.5539 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.3661, allocations: 30.56 kB / 0.5539 GB, free: 8.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.3661, allocations: 0 / 0.5539 GB, free: 8.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004162/0.3665, allocations: 169.2 kB / 0.554 GB, free: 7.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.3665, allocations: 85.11 kB / 0.5541 GB, free: 7.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3667, allocations: 145 kB / 0.5543 GB, free: 7.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3667, allocations: 25.7 kB / 0.5543 GB, free: 7.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.3667, allocations: 84.14 kB / 0.5544 GB, free: 7.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3668, allocations: 35.45 kB / 0.5544 GB, free: 7.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.3668, allocations: 0 / 0.5544 GB, free: 7.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.3669, allocations: 318.8 kB / 0.5547 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.558e-05/0.3669, allocations: 20 kB / 0.5547 GB, free: 7.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.367, allocations: 49.64 kB / 0.5548 GB, free: 7.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.496e-05/0.367, allocations: 27.98 kB / 0.5548 GB, free: 7.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.367, allocations: 0 / 0.5548 GB, free: 7.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001463/0.3672, allocations: 105.7 kB / 0.5549 GB, free: 7.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.3672, allocations: 4 kB / 0.5549 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.3672, allocations: 0 / 0.5549 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.3672, allocations: 4 kB / 0.5549 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.3673, allocations: 19.98 kB / 0.5549 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.3673, allocations: 4 kB / 0.5549 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.3674, allocations: 15.89 kB / 0.5549 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.3674, allocations: 4 kB / 0.555 GB, free: 7 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: 0 () * 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.441e-05/0.3675, allocations: 102.4 kB / 0.555 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.3675, allocations: 7.906 kB / 0.5551 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.3677, allocations: 130 kB / 0.5552 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3677, allocations: 0 / 0.5552 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3677, allocations: 3.984 kB / 0.5552 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3677, allocations: 7.984 kB / 0.5552 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.3682, allocations: 459 kB / 0.5556 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3682, allocations: 0 / 0.5556 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.3683, allocations: 28.02 kB / 0.5557 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3683, allocations: 0 / 0.5557 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3683, allocations: 0 / 0.5557 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.3683, allocations: 7.984 kB / 0.5557 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.3683, allocations: 0 / 0.5557 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001927/0.3685, allocations: 302.8 kB / 0.556 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.3686, allocations: 85.02 kB / 0.556 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.3686, allocations: 4.25 kB / 0.556 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3687, allocations: 15.89 kB / 0.5561 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.3688, allocations: 11.98 kB / 0.5561 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.3688, allocations: 4 kB / 0.5561 GB, free: 5.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.626e-05/0.3689, allocations: 118.7 kB / 0.5562 GB, free: 5.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.3691, allocations: 16 kB / 0.5562 GB, free: 5.621 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0005326/0.3697, allocations: 298 kB / 0.5565 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.3698, allocations: 59.92 kB / 0.5565 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3698, allocations: 4 kB / 0.5565 GB, free: 5.297 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.3698, allocations: 28 kB / 0.5566 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.3701, allocations: 24 kB / 0.5566 GB, free: 5.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.3704, allocations: 160.9 kB / 0.5567 GB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.3707, allocations: 0.7309 MB / 0.5575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3707, allocations: 0 / 0.5575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of Templates: time 0.003052/0.3737, allocations: 1.326 MB / 0.5588 GB, free: 2.984 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches