Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,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.Test1") [: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.0008317/0.0008317, allocations: 187.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.058/1.058, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007537/0.0007537, allocations: 98.83 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.1534/0.1534, allocations: 43.5 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-06/3.878e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2353, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.3425, allocations: 86.48 MB / 0.5498 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001652/0.3427, allocations: 71.95 kB / 0.5499 GB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01552/0.3582, allocations: 7.619 MB / 0.5573 GB, free: 4.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.3583, allocations: 11.98 kB / 0.5574 GB, free: 4.781 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.0004218/0.3587, allocations: 0.5441 MB / 0.5579 GB, free: 4.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.3587, allocations: 8.031 kB / 0.5579 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.3588, allocations: 43.44 kB / 0.5579 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.3592, allocations: 331.3 kB / 0.5583 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-06/0.3592, allocations: 0 / 0.5583 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.3592, allocations: 4 kB / 0.5583 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.843e-05/0.3593, allocations: 20 kB / 0.5583 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.723e-05/0.3593, allocations: 49.62 kB / 0.5583 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3594, allocations: 7.844 kB / 0.5583 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.3594, allocations: 0 / 0.5583 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3594, allocations: 4 kB / 0.5583 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.3599, allocations: 417.2 kB / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.36, allocations: 33.7 kB / 0.5588 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.36, allocations: 12.86 kB / 0.5588 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.36, allocations: 7.938 kB / 0.5588 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.3601, allocations: 34.64 kB / 0.5588 GB, free: 3.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3601, allocations: 0 / 0.5588 GB, free: 3.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003826/0.3605, allocations: 184.1 kB / 0.559 GB, free: 2.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.3605, allocations: 58.48 kB / 0.5591 GB, free: 2.879 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3615, allocations: 0.7551 MB / 0.5598 GB, free: 2.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.3615, allocations: 29.7 kB / 0.5598 GB, free: 2.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.3616, allocations: 136 kB / 0.5599 GB, free: 1.941 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.3616, allocations: 15.8 kB / 0.56 GB, free: 1.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.3616, allocations: 0 / 0.56 GB, free: 1.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3617, allocations: 366.7 kB / 0.5603 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.3618, allocations: 15.94 kB / 0.5603 GB, free: 1.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.3618, allocations: 11.98 kB / 0.5603 GB, free: 1.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.3618, allocations: 12 kB / 0.5603 GB, free: 1.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3618, allocations: 0 / 0.5603 GB, free: 1.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001401/0.362, allocations: 101.2 kB / 0.5604 GB, free: 1.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.362, allocations: 4 kB / 0.5604 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.362, allocations: 3.906 kB / 0.5605 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.362, allocations: 0 / 0.5605 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.3621, allocations: 19.98 kB / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3621, allocations: 0 / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.3622, allocations: 8 kB / 0.5605 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3622, allocations: 3.984 kB / 0.5605 GB, free: 1.375 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.161e-05/0.3623, allocations: 106.4 kB / 0.5606 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.3623, allocations: 39.44 kB / 0.5606 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.3625, allocations: 125.1 kB / 0.5607 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3625, allocations: 320 / 0.5607 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3625, allocations: 0 / 0.5607 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3625, allocations: 4 kB / 0.5607 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.3631, allocations: 0.5497 MB / 0.5613 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3631, allocations: 0 / 0.5613 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.3632, allocations: 23.92 kB / 0.5613 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3632, allocations: 0 / 0.5613 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.3632, allocations: 7.938 kB / 0.5613 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3632, allocations: 0 / 0.5613 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.3633, allocations: 7.906 kB / 0.5613 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001576/0.3634, allocations: 190.9 kB / 0.5615 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3636, allocations: 160.6 kB / 0.5617 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.3636, allocations: 8.047 kB / 0.5617 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3637, allocations: 11.98 kB / 0.5617 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.3638, allocations: 3.984 kB / 0.5617 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3638, allocations: 4 kB / 0.5617 GB, free: 52 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005665/0.3643, allocations: 0.6083 MB / 0.5623 GB, free: 15.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.3646, allocations: 59.92 kB / 0.5623 GB, free: 15.38 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.0005052/0.3651, allocations: 301.9 kB / 0.5626 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.923e-05/0.3652, allocations: 35.98 kB / 0.5627 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3652, allocations: 0 / 0.5627 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.3653, allocations: 20 kB / 0.5627 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.3655, allocations: 29.75 kB / 0.5627 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009673/0.3665, allocations: 0.6996 MB / 0.5634 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.3669, allocations: 0.8645 MB / 0.5642 GB, free: 13.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3669, allocations: 4 kB / 0.5642 GB, free: 13.4 MB / 410.7 MB Notification: Performance of Templates: time 0.004839/0.3717, allocations: 2.211 MB / 0.5664 GB, free: 11.18 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches