Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002497/0.002496, allocations: 172.2 kB / 8.147 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001666/0.001665, allocations: 89.58 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2614/0.2614, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.455e-06/8.596e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2788, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.4378, allocations: 86.3 MB / 0.5496 GB, free: 12.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.4382, allocations: 75.45 kB / 0.5497 GB, free: 12.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0294/0.4676, allocations: 7.411 MB / 0.557 GB, free: 5.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.301e-05/0.4676, allocations: 4 kB / 0.557 GB, free: 5.277 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007328/0.4684, allocations: 0.5407 MB / 0.5575 GB, free: 4.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4684, allocations: 8.031 kB / 0.5575 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.4686, allocations: 47.44 kB / 0.5575 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.4693, allocations: 323.3 kB / 0.5578 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4693, allocations: 0 / 0.5578 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.4693, allocations: 4 kB / 0.5579 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.183e-05/0.4694, allocations: 12 kB / 0.5579 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.4695, allocations: 41.69 kB / 0.5579 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4696, allocations: 0 / 0.5579 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4696, allocations: 0 / 0.5579 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4696, allocations: 4 kB / 0.5579 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/0.4704, allocations: 417.2 kB / 0.5583 GB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.476e-05/0.4705, allocations: 30.42 kB / 0.5583 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.4705, allocations: 12.92 kB / 0.5583 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.4706, allocations: 11.92 kB / 0.5584 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.4706, allocations: 42.55 kB / 0.5584 GB, free: 3.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.4706, allocations: 0 / 0.5584 GB, free: 3.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002564/0.4709, allocations: 81.17 kB / 0.5585 GB, free: 3.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.471, allocations: 51.41 kB / 0.5585 GB, free: 3.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.4729, allocations: 0.755 MB / 0.5593 GB, free: 2.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.4729, allocations: 25.7 kB / 0.5593 GB, free: 2.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.473, allocations: 150.6 kB / 0.5594 GB, free: 2.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.473, allocations: 11.91 kB / 0.5594 GB, free: 2.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.473, allocations: 4.031 kB / 0.5594 GB, free: 2.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4732, allocations: 314.8 kB / 0.5597 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.4732, allocations: 4 kB / 0.5598 GB, free: 2.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.4732, allocations: 8 kB / 0.5598 GB, free: 2.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.4733, allocations: 7.984 kB / 0.5598 GB, free: 2.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4733, allocations: 0 / 0.5598 GB, free: 2.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001129/0.4734, allocations: 37.7 kB / 0.5598 GB, free: 2.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4734, allocations: 8 kB / 0.5598 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4734, allocations: 4.094 kB / 0.5598 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4735, allocations: 0 / 0.5598 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.4736, allocations: 15.83 kB / 0.5598 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4736, allocations: 0 / 0.5598 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.4736, allocations: 4 kB / 0.5598 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.4737, allocations: 0 / 0.5598 GB, free: 2.129 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 (2): * Single equations (assignments): 2 * 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 4.941e-05/0.4737, allocations: 31.11 kB / 0.5599 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.4739, allocations: 39.44 kB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.4741, allocations: 100.7 kB / 0.56 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4741, allocations: 0 / 0.56 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4741, allocations: 0 / 0.56 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4742, allocations: 0 / 0.56 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.4746, allocations: 313.9 kB / 0.5603 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4746, allocations: 0 / 0.5603 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.4747, allocations: 4 kB / 0.5603 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4747, allocations: 0 / 0.5603 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4747, allocations: 4.031 kB / 0.5603 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4747, allocations: 3.938 kB / 0.5603 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.4747, allocations: 7.984 kB / 0.5603 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000227/0.475, allocations: 174.9 kB / 0.5605 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.4753, allocations: 160.5 kB / 0.5606 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.4754, allocations: 0 / 0.5606 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.4755, allocations: 7.984 kB / 0.5606 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.4756, allocations: 7.969 kB / 0.5606 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.4756, allocations: 0 / 0.5606 GB, free: 1.203 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001126/0.4767, allocations: 0.6082 MB / 0.5612 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003876/0.4771, allocations: 52 kB / 0.5613 GB, free: 0.5469 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 (2): * Single equations (assignments): 2 * 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.0007638/0.4779, allocations: 270.9 kB / 0.5616 GB, free: 324 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.478, allocations: 15.94 kB / 0.5616 GB, free: 308 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.478, allocations: 0 / 0.5616 GB, free: 308 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.4781, allocations: 4 kB / 0.5616 GB, free: 304 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.4785, allocations: 29.86 kB / 0.5616 GB, free: 276 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.4806, allocations: 0.7247 MB / 0.5623 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000704/0.4813, allocations: 0.8528 MB / 0.5631 GB, free: 14.62 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.4813, allocations: 0 / 0.5631 GB, free: 14.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01091/0.4922, allocations: 4.012 MB / 0.5671 GB, free: 10.6 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches