Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") [: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.008192/0.008191, allocations: 171.8 kB / 8.142 MB, free: 2.203 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.678/1.678, 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.001261/0.00126, allocations: 90.73 kB / 261.8 MB, free: 13.61 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.2856/0.2856, allocations: 43.48 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.688e-06/9.819e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2953, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.4523, allocations: 85.91 MB / 0.5493 GB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.4526, allocations: 75.25 kB / 0.5493 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02817/0.4808, allocations: 7.292 MB / 0.5565 GB, free: 5.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.672e-05/0.4809, allocations: 15.98 kB / 0.5565 GB, free: 5.766 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.0007002/0.4816, allocations: 0.5285 MB / 0.557 GB, free: 5.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4816, allocations: 12.03 kB / 0.557 GB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.977e-05/0.4818, allocations: 39.44 kB / 0.557 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/0.4824, allocations: 331.3 kB / 0.5574 GB, free: 4.777 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4825, allocations: 7.938 kB / 0.5574 GB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.4825, allocations: 0 / 0.5574 GB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.432e-05/0.4826, allocations: 8 kB / 0.5574 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.705e-05/0.4827, allocations: 41.67 kB / 0.5574 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.4827, allocations: 0 / 0.5574 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4828, allocations: 0 / 0.5574 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4828, allocations: 4 kB / 0.5574 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007507/0.4835, allocations: 397.3 kB / 0.5578 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.4836, allocations: 30.52 kB / 0.5578 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.4837, allocations: 4.922 kB / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.4837, allocations: 4 kB / 0.5578 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.4838, allocations: 38.47 kB / 0.5579 GB, free: 4.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.4838, allocations: 0 / 0.5579 GB, free: 4.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002558/0.484, allocations: 73.23 kB / 0.5579 GB, free: 4.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.4841, allocations: 51.41 kB / 0.558 GB, free: 4.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.486, allocations: 0.7551 MB / 0.5587 GB, free: 3.285 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.486, allocations: 25.7 kB / 0.5588 GB, free: 3.254 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.4861, allocations: 158.5 kB / 0.5589 GB, free: 3.098 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.4861, allocations: 3.906 kB / 0.5589 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.4861, allocations: 0 / 0.5589 GB, free: 3.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4863, allocations: 314.8 kB / 0.5592 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.4863, allocations: 7.938 kB / 0.5592 GB, free: 2.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.4863, allocations: 8.031 kB / 0.5592 GB, free: 2.762 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.4864, allocations: 4 kB / 0.5592 GB, free: 2.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4864, allocations: 0 / 0.5592 GB, free: 2.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001148/0.4865, allocations: 41.69 kB / 0.5593 GB, free: 2.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4865, allocations: 4 kB / 0.5593 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4866, allocations: 3.938 kB / 0.5593 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4866, allocations: 4 kB / 0.5593 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.4868, allocations: 7.938 kB / 0.5593 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4868, allocations: 4.094 kB / 0.5593 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.4868, allocations: 11.89 kB / 0.5593 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4869, allocations: 0 / 0.5593 GB, free: 2.676 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.698e-05/0.4869, allocations: 25.7 kB / 0.5593 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.487, allocations: 43.44 kB / 0.5594 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.4873, allocations: 92.69 kB / 0.5595 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4873, allocations: 0 / 0.5595 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4873, allocations: 4.031 kB / 0.5595 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4874, allocations: 4 kB / 0.5595 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.4878, allocations: 302 kB / 0.5598 GB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.4878, allocations: 0 / 0.5598 GB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.4879, allocations: 8 kB / 0.5598 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4879, allocations: 0 / 0.5598 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.4879, allocations: 3.906 kB / 0.5598 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.488, allocations: 3.984 kB / 0.5598 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.488, allocations: 0 / 0.5598 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002309/0.4882, allocations: 178.9 kB / 0.5599 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.4885, allocations: 160.6 kB / 0.5601 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.4886, allocations: 0 / 0.5601 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.4887, allocations: 7.984 kB / 0.5601 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.4888, allocations: 3.906 kB / 0.5601 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.4888, allocations: 0 / 0.5601 GB, free: 1.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001095/0.4899, allocations: 0.6082 MB / 0.5607 GB, free: 1.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.4903, allocations: 56.03 kB / 0.5608 GB, free: 1.102 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.0007836/0.4911, allocations: 266.5 kB / 0.561 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.48e-05/0.4912, allocations: 8 kB / 0.561 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4912, allocations: 0 / 0.561 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.4913, allocations: 11.94 kB / 0.561 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.4917, allocations: 29.81 kB / 0.5611 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.4937, allocations: 0.7169 MB / 0.5618 GB, free: 64 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007163/0.4945, allocations: 0.8566 MB / 0.5626 GB, free: 15.18 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.4945, allocations: 4 kB / 0.5626 GB, free: 15.17 MB / 410.7 MB Notification: Performance of Templates: time 0.01126/0.5058, allocations: 3.942 MB / 0.5664 GB, free: 11.22 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches