Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") [: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.002525/0.002525, allocations: 170.7 kB / 8.147 MB, free: 2.215 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.756/1.756, 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.001318/0.001317, allocations: 94.31 kB / 261.8 MB, free: 13.59 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.2852/0.2852, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.025e-05/1.044e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2849, allocations: 58.84 MB / 476.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.4452, allocations: 86.4 MB / 0.5497 GB, free: 12.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.4455, allocations: 71.23 kB / 0.5498 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01857/0.4641, allocations: 4.002 MB / 0.5537 GB, free: 8.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.4642, allocations: 4 kB / 0.5537 GB, free: 8.582 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.0005544/0.4648, allocations: 390.1 kB / 0.5541 GB, free: 8.156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4648, allocations: 8.031 kB / 0.5541 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.4649, allocations: 7.906 kB / 0.5541 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.4652, allocations: 217.6 kB / 0.5543 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4653, allocations: 4 kB / 0.5543 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.4653, allocations: 0 / 0.5543 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001165/0.4654, allocations: 16 kB / 0.5543 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.4656, allocations: 45.69 kB / 0.5544 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4656, allocations: 4 kB / 0.5544 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.4656, allocations: 0 / 0.5544 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4656, allocations: 4 kB / 0.5544 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.4662, allocations: 297.3 kB / 0.5547 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.4664, allocations: 38.48 kB / 0.5547 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.4664, allocations: 12.86 kB / 0.5547 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.4665, allocations: 8.078 kB / 0.5547 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4665, allocations: 38.58 kB / 0.5548 GB, free: 7.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.4665, allocations: 4 kB / 0.5548 GB, free: 7.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007642/0.4673, allocations: 161.1 kB / 0.5549 GB, free: 7.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.4673, allocations: 51.41 kB / 0.555 GB, free: 7.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.4676, allocations: 169.4 kB / 0.5551 GB, free: 6.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.4676, allocations: 25.7 kB / 0.5552 GB, free: 6.934 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.4677, allocations: 162.5 kB / 0.5553 GB, free: 6.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.4678, allocations: 15.66 kB / 0.5553 GB, free: 6.758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.4678, allocations: 0 / 0.5553 GB, free: 6.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4679, allocations: 322.8 kB / 0.5556 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.468, allocations: 16 kB / 0.5557 GB, free: 6.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.4681, allocations: 20 kB / 0.5557 GB, free: 6.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.719e-05/0.4682, allocations: 23.98 kB / 0.5557 GB, free: 6.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.4682, allocations: 0 / 0.5557 GB, free: 6.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002093/0.4684, allocations: 85.61 kB / 0.5558 GB, free: 6.285 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4684, allocations: 4 kB / 0.5558 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4684, allocations: 0 / 0.5558 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4685, allocations: 7.906 kB / 0.5558 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.4687, allocations: 27.92 kB / 0.5558 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4687, allocations: 4 kB / 0.5558 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.4689, allocations: 11.98 kB / 0.5558 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.4689, allocations: 4 kB / 0.5558 GB, free: 6.227 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 8.721e-05/0.469, allocations: 31.11 kB / 0.5559 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.469, allocations: 11.81 kB / 0.5559 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.4694, allocations: 114.4 kB / 0.556 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.4694, allocations: 0 / 0.556 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4694, allocations: 0 / 0.556 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4694, allocations: 0 / 0.556 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.47, allocations: 363 kB / 0.5563 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.47, allocations: 0 / 0.5563 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.4702, allocations: 31.92 kB / 0.5564 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.4703, allocations: 4 kB / 0.5564 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4703, allocations: 0 / 0.5564 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4703, allocations: 0 / 0.5564 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4703, allocations: 0 / 0.5564 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002636/0.4706, allocations: 191.3 kB / 0.5565 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.4707, allocations: 97.14 kB / 0.5566 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.4707, allocations: 3.984 kB / 0.5566 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.4709, allocations: 15.89 kB / 0.5567 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.471, allocations: 7.984 kB / 0.5567 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.471, allocations: 0 / 0.5567 GB, free: 5.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002065/0.4712, allocations: 152.1 kB / 0.5568 GB, free: 5.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.4715, allocations: 19.94 kB / 0.5568 GB, free: 5.109 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.000867/0.4724, allocations: 307.6 kB / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.4726, allocations: 48 kB / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4727, allocations: 0 / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/0.4728, allocations: 39.92 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.4731, allocations: 11.98 kB / 0.5572 GB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.4737, allocations: 208.7 kB / 0.5574 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/0.4742, allocations: 0.727 MB / 0.5581 GB, free: 3.762 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4742, allocations: 0 / 0.5581 GB, free: 3.762 MB / 394.7 MB Notification: Performance of Templates: time 0.005193/0.4794, allocations: 1.802 MB / 0.5599 GB, free: 1.961 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches