Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") [: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.00246/0.002459, allocations: 171.2 kB / 8.144 MB, free: 2.688 MB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.2 MB / 213.8 MB, free: 2.137 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 99.52 kB / 261.8 MB, free: 1.469 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2712/0.2712, allocations: 43.49 MB / 353.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 1.309e-05/1.331e-05, allocations: 4 kB / 417.7 MB, free: 63.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 58.85 MB / 476.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4458, allocations: 88.42 MB / 0.5517 GB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4461, allocations: 65.03 kB / 0.5518 GB, free: 14.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.03587/0.482, allocations: 8.008 MB / 0.5596 GB, free: 8.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-05/0.4821, allocations: 12 kB / 0.5596 GB, free: 8.242 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007756/0.4829, allocations: 0.5265 MB / 0.5601 GB, free: 7.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4829, allocations: 11.97 kB / 0.5601 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.4831, allocations: 39.53 kB / 0.5602 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007623/0.4838, allocations: 340.7 kB / 0.5605 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.4839, allocations: 3.906 kB / 0.5605 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.4839, allocations: 4 kB / 0.5605 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002002/0.4841, allocations: 55.78 kB / 0.5606 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.4843, allocations: 74.98 kB / 0.5606 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4844, allocations: 0 / 0.5606 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.4844, allocations: 0 / 0.5606 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4844, allocations: 0 / 0.5606 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.4854, allocations: 468.2 kB / 0.5611 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.4856, allocations: 61.88 kB / 0.5611 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.4857, allocations: 31.09 kB / 0.5612 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.4858, allocations: 3.984 kB / 0.5612 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4858, allocations: 34.81 kB / 0.5612 GB, free: 6.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 4.398e-06/0.4858, allocations: 4 kB / 0.5612 GB, free: 6.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000379/0.4862, allocations: 118.5 kB / 0.5613 GB, free: 6.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.4862, allocations: 51.41 kB / 0.5614 GB, free: 6.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00097/0.4872, allocations: 480 kB / 0.5618 GB, free: 6.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4873, allocations: 25.7 kB / 0.5619 GB, free: 6.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.4874, allocations: 161.7 kB / 0.562 GB, free: 5.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.4874, allocations: 15.8 kB / 0.562 GB, free: 5.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-06/0.4874, allocations: 4 kB / 0.562 GB, free: 5.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4876, allocations: 318.6 kB / 0.5623 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.4877, allocations: 27.11 kB / 0.5624 GB, free: 5.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.964e-05/0.4877, allocations: 19.56 kB / 0.5624 GB, free: 5.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.4879, allocations: 27.23 kB / 0.5624 GB, free: 5.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4879, allocations: 0 / 0.5624 GB, free: 5.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002284/0.4881, allocations: 83.67 kB / 0.5625 GB, free: 5.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4881, allocations: 8 kB / 0.5625 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4881, allocations: 0 / 0.5625 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.941e-05/0.4882, allocations: 4 kB / 0.5625 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.4884, allocations: 19.67 kB / 0.5625 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4884, allocations: 0 / 0.5625 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.4885, allocations: 11.84 kB / 0.5625 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4885, allocations: 0 / 0.5625 GB, free: 5.363 MB / 382.1 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 (6): * Single equations (assignments): 6 * 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.151e-05/0.4886, allocations: 35.09 kB / 0.5626 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.4888, allocations: 35.53 kB / 0.5626 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.4892, allocations: 145.7 kB / 0.5627 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4892, allocations: 0 / 0.5627 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4893, allocations: 3.906 kB / 0.5627 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4893, allocations: 4 kB / 0.5627 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.4897, allocations: 275.2 kB / 0.563 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4898, allocations: 0 / 0.563 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.4899, allocations: 15.98 kB / 0.563 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.4899, allocations: 3.906 kB / 0.563 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4899, allocations: 4 kB / 0.563 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4899, allocations: 4 kB / 0.563 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.49, allocations: 0 / 0.563 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000342/0.4903, allocations: 211.9 kB / 0.5632 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.4905, allocations: 138.8 kB / 0.5634 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.4906, allocations: 4.188 kB / 0.5634 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.4908, allocations: 15.92 kB / 0.5634 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.4908, allocations: 0 / 0.5634 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.4909, allocations: 11.12 kB / 0.5634 GB, free: 4.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.0006858/0.4916, allocations: 381.3 kB / 0.5638 GB, free: 4.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004251/0.492, allocations: 50.28 kB / 0.5638 GB, free: 4.148 MB / 382.1 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 (6): * Single equations (assignments): 6 * 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.001279/0.4933, allocations: 445.4 kB / 0.5642 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.4936, allocations: 54.66 kB / 0.5643 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4936, allocations: 0 / 0.5643 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.4937, allocations: 31.06 kB / 0.5643 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.4944, allocations: 61.61 kB / 0.5644 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.4959, allocations: 0.5022 MB / 0.5649 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007552/0.4967, allocations: 0.8461 MB / 0.5657 GB, free: 2.316 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4967, allocations: 0 / 0.5657 GB, free: 2.316 MB / 382.1 MB Notification: Performance of Templates: time 0.01066/0.5074, allocations: 4.168 MB / 0.5698 GB, free: 14.16 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches