Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") [: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.001651/0.001651, allocations: 170.9 kB / 8.149 MB, free: 2.223 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.682/1.682, allocations: 205.2 MB / 213.8 MB, free: 13.9 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.001282/0.001282, allocations: 94.89 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.2712/0.2712, allocations: 43.49 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.636e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2695, allocations: 58.83 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.4207, allocations: 85.45 MB / 0.5488 GB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.421, allocations: 79.89 kB / 0.5489 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01797/0.439, allocations: 4.12 MB / 0.5529 GB, free: 9.391 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4391, allocations: 0 / 0.5529 GB, free: 9.391 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.0005065/0.4396, allocations: 386.2 kB / 0.5533 GB, free: 8.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4396, allocations: 8.031 kB / 0.5533 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.4397, allocations: 7.906 kB / 0.5533 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.4399, allocations: 171 kB / 0.5535 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.4399, allocations: 7.875 kB / 0.5535 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.4399, allocations: 11.98 kB / 0.5535 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001338/0.4401, allocations: 43.83 kB / 0.5535 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.4403, allocations: 171.3 kB / 0.5537 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4404, allocations: 3.938 kB / 0.5537 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.4404, allocations: 4 kB / 0.5537 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.4404, allocations: 12 kB / 0.5537 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.4417, allocations: 1.667 MB / 0.5553 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.4418, allocations: 181 kB / 0.5555 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.4418, allocations: 84.14 kB / 0.5556 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.4419, allocations: 75.31 kB / 0.5557 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.672e-05/0.442, allocations: 113.8 kB / 0.5558 GB, free: 6.211 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.254e-06/0.442, allocations: 0 / 0.5558 GB, free: 6.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001029/0.4421, allocations: 33.61 kB / 0.5558 GB, free: 6.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.4422, allocations: 55.41 kB / 0.5559 GB, free: 6.105 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.4424, allocations: 168 kB / 0.556 GB, free: 5.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.4424, allocations: 25.7 kB / 0.556 GB, free: 5.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.4426, allocations: 217.6 kB / 0.5562 GB, free: 5.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.4426, allocations: 4 kB / 0.5562 GB, free: 5.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.4426, allocations: 0 / 0.5562 GB, free: 5.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4428, allocations: 318.8 kB / 0.5566 GB, free: 5.367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.4428, allocations: 28.34 kB / 0.5566 GB, free: 5.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.4431, allocations: 152.5 kB / 0.5567 GB, free: 5.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.4432, allocations: 63.91 kB / 0.5568 GB, free: 5.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.4432, allocations: 4 kB / 0.5568 GB, free: 5.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000416/0.4437, allocations: 169.3 kB / 0.557 GB, free: 4.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4437, allocations: 4 kB / 0.557 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4437, allocations: 4 kB / 0.557 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.4437, allocations: 8 kB / 0.557 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.444, allocations: 35.92 kB / 0.557 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.444, allocations: 12.52 kB / 0.557 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.4441, allocations: 11.84 kB / 0.557 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.4442, allocations: 16 kB / 0.557 GB, free: 4.805 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.429e-05/0.4443, allocations: 108.9 kB / 0.5571 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.4444, allocations: 112.8 kB / 0.5572 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.27e-05/0.4445, allocations: 120.5 kB / 0.5574 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.302e-05/0.4446, allocations: 184.2 kB / 0.5575 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.57e-05/0.4447, allocations: 184.3 kB / 0.5577 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-05/0.4447, allocations: 182.1 kB / 0.5579 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.4451, allocations: 413.6 kB / 0.5583 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-05/0.4451, allocations: 101 kB / 0.5584 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.4452, allocations: 104.9 kB / 0.5585 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.962e-05/0.4453, allocations: 180.2 kB / 0.5587 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/0.4454, allocations: 184.3 kB / 0.5588 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.916e-05/0.4454, allocations: 184.2 kB / 0.559 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.418e-05/0.4455, allocations: 176.3 kB / 0.5592 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001869/0.4457, allocations: 319.6 kB / 0.5595 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.4459, allocations: 193.9 kB / 0.5597 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.284e-05/0.446, allocations: 180.5 kB / 0.5598 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.4461, allocations: 104.9 kB / 0.5599 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4462, allocations: 180.3 kB / 0.5601 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.4463, allocations: 104.9 kB / 0.5602 GB, free: 1.348 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000205/0.4465, allocations: 132.1 kB / 0.5603 GB, free: 1.219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.4469, allocations: 16 kB / 0.5603 GB, free: 1.203 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.0005418/0.4474, allocations: 257.8 kB / 0.5606 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.4476, allocations: 63.86 kB / 0.5607 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4477, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.4477, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4481, allocations: 0.5314 MB / 0.5612 GB, free: 372 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.4485, allocations: 220.4 kB / 0.5614 GB, free: 120 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/0.4489, allocations: 0.7196 MB / 0.5621 GB, free: 15.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4489, allocations: 0 / 0.5621 GB, free: 15.37 MB / 410.7 MB Notification: Performance of Templates: time 0.004104/0.4531, allocations: 1.286 MB / 0.5633 GB, free: 14.09 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches