Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") [: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.0008987/0.0008988, allocations: 187.2 kB / 7.802 MB, free: 2.5 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.067/1.067, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0007906/0.0007906, allocations: 91.27 kB / 261.4 MB, free: 13.53 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.1617/0.1617, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.143e-06/7.414e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2341, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.3367, allocations: 86.43 MB / 0.5498 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.337, allocations: 67.97 kB / 0.5499 GB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01525/0.3522, allocations: 7.354 MB / 0.557 GB, free: 5.066 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.3523, allocations: 8 kB / 0.557 GB, free: 5.059 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005002/0.3528, allocations: 0.5403 MB / 0.5576 GB, free: 4.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3528, allocations: 12.03 kB / 0.5576 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.3529, allocations: 43.44 kB / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.3533, allocations: 339.2 kB / 0.558 GB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.3533, allocations: 0 / 0.558 GB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3534, allocations: 4 kB / 0.558 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.636e-05/0.3535, allocations: 16 kB / 0.558 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.654e-05/0.3535, allocations: 41.69 kB / 0.558 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3536, allocations: 3.906 kB / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.3536, allocations: 0 / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3536, allocations: 4 kB / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.3541, allocations: 429.2 kB / 0.5584 GB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3543, allocations: 29.66 kB / 0.5585 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.3543, allocations: 12.86 kB / 0.5585 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3543, allocations: 8.078 kB / 0.5585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.3543, allocations: 34.56 kB / 0.5585 GB, free: 3.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3543, allocations: 0 / 0.5585 GB, free: 3.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004244/0.3548, allocations: 188 kB / 0.5587 GB, free: 3.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.3548, allocations: 59.3 kB / 0.5587 GB, free: 3.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.3559, allocations: 0.7551 MB / 0.5595 GB, free: 2.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3559, allocations: 29.64 kB / 0.5595 GB, free: 2.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.356, allocations: 136 kB / 0.5596 GB, free: 2.215 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.356, allocations: 19.8 kB / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.356, allocations: 0 / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3562, allocations: 358.7 kB / 0.56 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.3562, allocations: 12 kB / 0.56 GB, free: 1.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/0.3562, allocations: 15.98 kB / 0.56 GB, free: 1.805 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.3563, allocations: 8 kB / 0.56 GB, free: 1.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-07/0.3563, allocations: 4 kB / 0.56 GB, free: 1.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001383/0.3564, allocations: 101.2 kB / 0.5601 GB, free: 1.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3565, allocations: 8 kB / 0.5601 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3565, allocations: 3.906 kB / 0.5601 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3565, allocations: 4 kB / 0.5601 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.3566, allocations: 15.98 kB / 0.5602 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.3566, allocations: 0 / 0.5602 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.3566, allocations: 7.984 kB / 0.5602 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.3567, allocations: 4 kB / 0.5602 GB, free: 1.645 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.532e-05/0.3567, allocations: 106.5 kB / 0.5603 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.3568, allocations: 39.44 kB / 0.5603 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.357, allocations: 121.2 kB / 0.5604 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.357, allocations: 0 / 0.5604 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.357, allocations: 7.938 kB / 0.5604 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.357, allocations: 0 / 0.5604 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.3576, allocations: 0.5536 MB / 0.561 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3576, allocations: 0 / 0.561 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.3577, allocations: 15.98 kB / 0.561 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3577, allocations: 0 / 0.561 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3577, allocations: 384 / 0.561 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3578, allocations: 7.938 kB / 0.561 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3578, allocations: 3.906 kB / 0.561 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001704/0.3579, allocations: 202.9 kB / 0.5612 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.3581, allocations: 156.6 kB / 0.5613 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.3582, allocations: 12.03 kB / 0.5614 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.3583, allocations: 4 kB / 0.5614 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.3583, allocations: 7.984 kB / 0.5614 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3583, allocations: 0 / 0.5614 GB, free: 332 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005724/0.3589, allocations: 0.6082 MB / 0.562 GB, free: 15.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.3592, allocations: 63.92 kB / 0.562 GB, free: 15.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005498/0.3597, allocations: 293.9 kB / 0.5623 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.3598, allocations: 39.92 kB / 0.5623 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3599, allocations: 0 / 0.5623 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.3599, allocations: 16 kB / 0.5624 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.3601, allocations: 25.81 kB / 0.5624 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3612, allocations: 0.7039 MB / 0.5631 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004499/0.3616, allocations: 0.8606 MB / 0.5639 GB, free: 13.69 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3616, allocations: 0 / 0.5639 GB, free: 13.69 MB / 410.7 MB Notification: Performance of Templates: time 0.00488/0.3665, allocations: 2.226 MB / 0.5661 GB, free: 11.45 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches