Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") [: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.002368/0.002368, allocations: 179.7 kB / 8.151 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.697/1.697, 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.001252/0.001252, allocations: 86.38 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.2563/0.2563, allocations: 43.49 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.019e-05/1.038e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2721, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.4252, allocations: 86.08 MB / 0.5494 GB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.4255, allocations: 71.47 kB / 0.5495 GB, free: 12.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03409/0.4596, allocations: 7.507 MB / 0.5568 GB, free: 5.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.704e-05/0.4598, allocations: 8 kB / 0.5568 GB, free: 5.406 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000996/0.4608, allocations: 0.5441 MB / 0.5574 GB, free: 4.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.4608, allocations: 11.31 kB / 0.5574 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.461, allocations: 47.44 kB / 0.5574 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000941/0.462, allocations: 323.3 kB / 0.5577 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.462, allocations: 0 / 0.5577 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.4621, allocations: 4 kB / 0.5577 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001372/0.4622, allocations: 15.94 kB / 0.5578 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.4624, allocations: 37.7 kB / 0.5578 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4624, allocations: 0 / 0.5578 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.4624, allocations: 3.984 kB / 0.5578 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4624, allocations: 7.906 kB / 0.5578 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.4635, allocations: 409.2 kB / 0.5582 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.4638, allocations: 37.64 kB / 0.5582 GB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.4639, allocations: 4.859 kB / 0.5582 GB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.4639, allocations: 4.078 kB / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.464, allocations: 34.56 kB / 0.5583 GB, free: 3.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.565e-06/0.464, allocations: 0 / 0.5583 GB, free: 3.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008302/0.4648, allocations: 184.2 kB / 0.5584 GB, free: 3.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.4649, allocations: 55.41 kB / 0.5585 GB, free: 3.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.4676, allocations: 0.7512 MB / 0.5592 GB, free: 2.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.4676, allocations: 29.64 kB / 0.5593 GB, free: 2.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.4677, allocations: 158.5 kB / 0.5594 GB, free: 2.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.4678, allocations: 15.75 kB / 0.5594 GB, free: 2.574 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.4678, allocations: 4 kB / 0.5594 GB, free: 2.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.468, allocations: 318.8 kB / 0.5597 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.4681, allocations: 12 kB / 0.5597 GB, free: 2.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-05/0.4681, allocations: 4 kB / 0.5598 GB, free: 2.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.4682, allocations: 8 kB / 0.5598 GB, free: 2.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4682, allocations: 0 / 0.5598 GB, free: 2.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002329/0.4685, allocations: 61.59 kB / 0.5598 GB, free: 2.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4685, allocations: 4 kB / 0.5598 GB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4685, allocations: 3.938 kB / 0.5598 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4686, allocations: 4 kB / 0.5598 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.4688, allocations: 12 kB / 0.5598 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4688, allocations: 0 / 0.5598 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-05/0.4689, allocations: 15.92 kB / 0.5599 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.4689, allocations: 0 / 0.5599 GB, free: 2.121 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 (5): * Single equations (assignments): 5 * 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 7.366e-05/0.469, allocations: 35.05 kB / 0.5599 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.4692, allocations: 43.44 kB / 0.5599 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.4697, allocations: 113.2 kB / 0.56 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4697, allocations: 0 / 0.56 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4698, allocations: 0 / 0.56 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4698, allocations: 4.047 kB / 0.56 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.4714, allocations: 0.5379 MB / 0.5606 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4714, allocations: 3.984 kB / 0.5606 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4716, allocations: 16 kB / 0.5606 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4716, allocations: 0 / 0.5606 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.4716, allocations: 3.906 kB / 0.5606 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4717, allocations: 384 / 0.5606 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.4717, allocations: 0 / 0.5606 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004012/0.4721, allocations: 191 kB / 0.5608 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.4725, allocations: 164.6 kB / 0.5609 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.4727, allocations: 3.906 kB / 0.5609 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.473, allocations: 11.98 kB / 0.5609 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.473, allocations: 0 / 0.5609 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.4731, allocations: 4 kB / 0.561 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001687/0.4748, allocations: 0.612 MB / 0.5615 GB, free: 304 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007341/0.4755, allocations: 59.92 kB / 0.5616 GB, free: 244 kB / 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 (5): * Single equations (assignments): 5 * 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.001274/0.4768, allocations: 299.8 kB / 0.5619 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.477, allocations: 27.98 kB / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4771, allocations: 0 / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.4772, allocations: 19.94 kB / 0.5619 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.4778, allocations: 17.97 kB / 0.562 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.4806, allocations: 0.7445 MB / 0.5627 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.4816, allocations: 0.8528 MB / 0.5635 GB, free: 14.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4817, allocations: 0 / 0.5635 GB, free: 14.24 MB / 410.7 MB Notification: Performance of Templates: time 0.01664/0.4983, allocations: 4.196 MB / 0.5676 GB, free: 10.04 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches