Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") [: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.0008588/0.0008592, allocations: 192.8 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.069/1.069, 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.0007987/0.0007988, allocations: 88.69 kB / 261.4 MB, free: 13.62 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.1608/0.1608, allocations: 43.48 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.831e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2404, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.3431, allocations: 86.7 MB / 0.5501 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.3434, allocations: 71.89 kB / 0.5501 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01623/0.3596, allocations: 6.063 MB / 0.556 GB, free: 6.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3597, allocations: 4 kB / 0.5561 GB, free: 6.082 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.0004143/0.3601, allocations: 414.2 kB / 0.5564 GB, free: 5.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3602, allocations: 8.031 kB / 0.5565 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.3602, allocations: 11.81 kB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.3604, allocations: 194.8 kB / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.3604, allocations: 0 / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.3605, allocations: 4 kB / 0.5567 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.222e-05/0.3605, allocations: 23.98 kB / 0.5567 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.633e-05/0.3607, allocations: 63.39 kB / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3607, allocations: 4 kB / 0.5567 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3607, allocations: 0 / 0.5567 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3607, allocations: 4 kB / 0.5567 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.3611, allocations: 285.3 kB / 0.557 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.067e-05/0.3612, allocations: 42.48 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.3612, allocations: 12.86 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3612, allocations: 4 kB / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3613, allocations: 38.64 kB / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3613, allocations: 0 / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000482/0.3618, allocations: 149.5 kB / 0.5573 GB, free: 4.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3618, allocations: 81.09 kB / 0.5573 GB, free: 4.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3619, allocations: 133.1 kB / 0.5575 GB, free: 4.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.362, allocations: 25.7 kB / 0.5575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.362, allocations: 99.97 kB / 0.5576 GB, free: 4.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.362, allocations: 11.72 kB / 0.5576 GB, free: 4.305 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.3621, allocations: 0 / 0.5576 GB, free: 4.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3622, allocations: 322.8 kB / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.781e-05/0.3622, allocations: 20 kB / 0.5579 GB, free: 3.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.3623, allocations: 37.7 kB / 0.558 GB, free: 3.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.245e-05/0.3623, allocations: 28.2 kB / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3623, allocations: 0 / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001288/0.3625, allocations: 89.52 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3625, allocations: 7.984 kB / 0.5581 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3625, allocations: 0 / 0.5581 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.3625, allocations: 3.938 kB / 0.5581 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3626, allocations: 28.02 kB / 0.5581 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3626, allocations: 0 / 0.5581 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.3627, allocations: 19.89 kB / 0.5581 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.3627, allocations: 4 kB / 0.5581 GB, free: 3.734 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 (7): * Single equations (assignments): 7 * 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.823e-05/0.3628, allocations: 106.3 kB / 0.5582 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.3628, allocations: 11.91 kB / 0.5582 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.363, allocations: 102.1 kB / 0.5583 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.363, allocations: 0 / 0.5583 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.363, allocations: 0 / 0.5583 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3631, allocations: 0 / 0.5583 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.3634, allocations: 347 kB / 0.5587 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3634, allocations: 0 / 0.5587 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.3635, allocations: 27.98 kB / 0.5587 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3635, allocations: 0 / 0.5587 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3635, allocations: 3.938 kB / 0.5587 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3635, allocations: 4 kB / 0.5587 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.3636, allocations: 7.891 kB / 0.5587 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000156/0.3637, allocations: 175.8 kB / 0.5589 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.3638, allocations: 97 kB / 0.559 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3638, allocations: 0 / 0.559 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3639, allocations: 15.98 kB / 0.559 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.364, allocations: 11.92 kB / 0.559 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.364, allocations: 0 / 0.559 GB, free: 2.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.672e-05/0.3641, allocations: 118.6 kB / 0.5591 GB, free: 2.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.3643, allocations: 24 kB / 0.5591 GB, free: 2.613 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0006076/0.3649, allocations: 344.6 kB / 0.5595 GB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.3651, allocations: 51.98 kB / 0.5595 GB, free: 2.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3651, allocations: 4 kB / 0.5595 GB, free: 2.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.3651, allocations: 31.94 kB / 0.5595 GB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.3653, allocations: 15.84 kB / 0.5596 GB, free: 2.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.3656, allocations: 127.5 kB / 0.5597 GB, free: 2.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.3659, allocations: 0.7231 MB / 0.5604 GB, free: 1.312 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3659, allocations: 4 kB / 0.5604 GB, free: 1.309 MB / 394.7 MB Notification: Performance of Templates: time 0.003462/0.3694, allocations: 1.567 MB / 0.5619 GB, free: 15.75 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches