Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") [: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.002378/0.002378, allocations: 177.1 kB / 8.149 MB, free: 2.211 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.662/1.662, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001286/0.001285, allocations: 93.77 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.4393/0.4393, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.109e-05/1.119e-05, allocations: 4.219 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2859, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.4456, allocations: 85.65 MB / 0.549 GB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.4459, allocations: 71.97 kB / 0.5491 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01846/0.4644, allocations: 4.136 MB / 0.5531 GB, free: 9.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.4645, allocations: 0 / 0.5531 GB, free: 9.211 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005203/0.465, allocations: 378.3 kB / 0.5535 GB, free: 8.797 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.465, allocations: 12.03 kB / 0.5535 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.4651, allocations: 7.906 kB / 0.5535 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.4653, allocations: 170.9 kB / 0.5537 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4653, allocations: 4 kB / 0.5537 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.4654, allocations: 11.94 kB / 0.5537 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001369/0.4655, allocations: 43.83 kB / 0.5537 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.4658, allocations: 171.3 kB / 0.5539 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4658, allocations: 4 kB / 0.5539 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4658, allocations: 0 / 0.5539 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.4659, allocations: 11.98 kB / 0.5539 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.4672, allocations: 1.679 MB / 0.5555 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.4674, allocations: 173 kB / 0.5557 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.4675, allocations: 80.14 kB / 0.5558 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.4675, allocations: 79.3 kB / 0.5559 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.4676, allocations: 109.8 kB / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.775e-06/0.4676, allocations: 0 / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001129/0.4678, allocations: 37.55 kB / 0.556 GB, free: 6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.4678, allocations: 59.41 kB / 0.5561 GB, free: 5.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.4681, allocations: 168.1 kB / 0.5562 GB, free: 5.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.4681, allocations: 25.7 kB / 0.5562 GB, free: 5.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.4683, allocations: 217.6 kB / 0.5564 GB, free: 5.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.4683, allocations: 0 / 0.5564 GB, free: 5.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.4683, allocations: 0 / 0.5564 GB, free: 5.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4685, allocations: 318.8 kB / 0.5568 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.4685, allocations: 28.33 kB / 0.5568 GB, free: 5.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.4687, allocations: 160.5 kB / 0.5569 GB, free: 4.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.4689, allocations: 67.89 kB / 0.557 GB, free: 4.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4689, allocations: 0 / 0.557 GB, free: 4.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004222/0.4693, allocations: 161.4 kB / 0.5572 GB, free: 4.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4694, allocations: 8 kB / 0.5572 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.4694, allocations: 4 kB / 0.5572 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.4694, allocations: 4 kB / 0.5572 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.4697, allocations: 39.92 kB / 0.5572 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.4697, allocations: 4 kB / 0.5572 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4698, allocations: 16.34 kB / 0.5572 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.4699, allocations: 16 kB / 0.5572 GB, free: 4.633 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.317e-05/0.47, allocations: 108.9 kB / 0.5573 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.4701, allocations: 120.7 kB / 0.5575 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.426e-05/0.4702, allocations: 112.6 kB / 0.5576 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.286e-05/0.4702, allocations: 176.3 kB / 0.5577 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001164/0.4704, allocations: 188.2 kB / 0.5579 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-05/0.4705, allocations: 190 kB / 0.5581 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.4708, allocations: 405.6 kB / 0.5585 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.302e-05/0.4708, allocations: 104.9 kB / 0.5586 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.4709, allocations: 109 kB / 0.5587 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.872e-05/0.471, allocations: 176.3 kB / 0.5589 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.867e-05/0.4711, allocations: 188.1 kB / 0.559 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.628e-05/0.4712, allocations: 176.3 kB / 0.5592 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.769e-05/0.4712, allocations: 180.3 kB / 0.5594 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001791/0.4714, allocations: 319.6 kB / 0.5597 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.4716, allocations: 193.9 kB / 0.5599 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.942e-05/0.4717, allocations: 184.5 kB / 0.56 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.4718, allocations: 105 kB / 0.5601 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.4719, allocations: 184.3 kB / 0.5603 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.472, allocations: 108.8 kB / 0.5604 GB, free: 1.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001736/0.4722, allocations: 128.1 kB / 0.5605 GB, free: 1.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.4726, allocations: 12 kB / 0.5606 GB, free: 1.023 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 (0): * Single equations (assignments): 0 * 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.0005784/0.4732, allocations: 252.9 kB / 0.5608 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.4734, allocations: 67.84 kB / 0.5609 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4734, allocations: 0 / 0.5609 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.579e-06/0.4734, allocations: 3.938 kB / 0.5609 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.4738, allocations: 0.5276 MB / 0.5614 GB, free: 192 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.4743, allocations: 224.4 kB / 0.5616 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.4748, allocations: 0.7196 MB / 0.5623 GB, free: 15.19 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.4748, allocations: 0 / 0.5623 GB, free: 15.19 MB / 410.7 MB Notification: Performance of Templates: time 0.004025/0.4788, allocations: 1.288 MB / 0.5636 GB, free: 13.9 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches