Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.001581/0.00158, allocations: 172.5 kB / 8.149 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.764/1.764, 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.001303/0.001303, allocations: 98.62 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.2885/0.2885, allocations: 43.5 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.247e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2892, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.4469, allocations: 85.92 MB / 0.5493 GB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.4473, allocations: 75.95 kB / 0.5493 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02887/0.4762, allocations: 7.284 MB / 0.5565 GB, free: 5.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.433e-05/0.4762, allocations: 8 kB / 0.5565 GB, free: 5.762 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.0007325/0.477, allocations: 0.5325 MB / 0.557 GB, free: 5.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4771, allocations: 12.03 kB / 0.557 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.4772, allocations: 39.44 kB / 0.557 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006982/0.4779, allocations: 327.3 kB / 0.5573 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4779, allocations: 0 / 0.5573 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.4779, allocations: 11.92 kB / 0.5574 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.285e-05/0.478, allocations: 12 kB / 0.5574 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.4781, allocations: 37.64 kB / 0.5574 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4782, allocations: 0 / 0.5574 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4782, allocations: 0 / 0.5574 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.4782, allocations: 4 kB / 0.5574 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008165/0.479, allocations: 397.3 kB / 0.5578 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.274e-05/0.4791, allocations: 30.52 kB / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.4792, allocations: 4.859 kB / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.4792, allocations: 4.062 kB / 0.5578 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4792, allocations: 38.47 kB / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.4792, allocations: 0 / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002532/0.4795, allocations: 77.22 kB / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.4796, allocations: 51.41 kB / 0.558 GB, free: 4.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.4815, allocations: 0.7473 MB / 0.5587 GB, free: 3.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.4815, allocations: 29.7 kB / 0.5587 GB, free: 3.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.4816, allocations: 154.5 kB / 0.5589 GB, free: 3.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.4816, allocations: 11.89 kB / 0.5589 GB, free: 3.082 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.4817, allocations: 0 / 0.5589 GB, free: 3.082 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4818, allocations: 314.8 kB / 0.5592 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.4818, allocations: 7.969 kB / 0.5592 GB, free: 2.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.4819, allocations: 8 kB / 0.5592 GB, free: 2.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.598e-05/0.4819, allocations: 4 kB / 0.5592 GB, free: 2.746 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4819, allocations: 0 / 0.5592 GB, free: 2.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.4821, allocations: 37.7 kB / 0.5593 GB, free: 2.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4821, allocations: 10.75 kB / 0.5593 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4821, allocations: 3.984 kB / 0.5593 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.4821, allocations: 7.984 kB / 0.5593 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.4823, allocations: 4 kB / 0.5593 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4823, allocations: 4.094 kB / 0.5593 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.4823, allocations: 7.906 kB / 0.5593 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4824, allocations: 4 kB / 0.5593 GB, free: 2.664 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.988e-05/0.4824, allocations: 25.7 kB / 0.5593 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.4826, allocations: 43.44 kB / 0.5594 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.4828, allocations: 96.67 kB / 0.5595 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4829, allocations: 0 / 0.5595 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.4829, allocations: 4.031 kB / 0.5595 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4829, allocations: 0 / 0.5595 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.4834, allocations: 302 kB / 0.5597 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4834, allocations: 0 / 0.5597 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.961e-05/0.4835, allocations: 8 kB / 0.5598 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4835, allocations: 0 / 0.5598 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4835, allocations: 3.906 kB / 0.5598 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4835, allocations: 0 / 0.5598 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4835, allocations: 3.938 kB / 0.5598 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00023/0.4838, allocations: 179 kB / 0.5599 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.4841, allocations: 160.6 kB / 0.5601 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.4841, allocations: 3.938 kB / 0.5601 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4843, allocations: 4 kB / 0.5601 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.4844, allocations: 3.906 kB / 0.5601 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4844, allocations: 0 / 0.5601 GB, free: 1.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001169/0.4855, allocations: 0.6082 MB / 0.5607 GB, free: 1.148 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000384/0.4859, allocations: 52 kB / 0.5607 GB, free: 1.098 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.0007661/0.4867, allocations: 269.6 kB / 0.561 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.795e-05/0.4868, allocations: 12 kB / 0.561 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4869, allocations: 0 / 0.561 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.4869, allocations: 8 kB / 0.561 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.4873, allocations: 25.75 kB / 0.561 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.4895, allocations: 0.7285 MB / 0.5618 GB, free: 52 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007667/0.4903, allocations: 0.8489 MB / 0.5626 GB, free: 15.17 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.4903, allocations: 4 kB / 0.5626 GB, free: 15.17 MB / 410.7 MB Notification: Performance of Templates: time 0.01131/0.5016, allocations: 3.946 MB / 0.5664 GB, free: 11.21 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches