Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.002489/0.002494, allocations: 178.6 kB / 8.15 MB, free: 2.207 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.732/1.732, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001182/0.001181, allocations: 90.12 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.2618/0.2618, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.257e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2863, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.443, allocations: 86.48 MB / 0.5498 GB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.4434, allocations: 75.25 kB / 0.5499 GB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03058/0.474, allocations: 7.615 MB / 0.5573 GB, free: 4.902 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.507e-05/0.4741, allocations: 4 kB / 0.5573 GB, free: 4.898 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.0007485/0.4748, allocations: 0.5558 MB / 0.5579 GB, free: 4.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4749, allocations: 8.031 kB / 0.5579 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.475, allocations: 47.42 kB / 0.5579 GB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006765/0.4757, allocations: 323.3 kB / 0.5582 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4757, allocations: 0 / 0.5582 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.4757, allocations: 4 kB / 0.5582 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001128/0.4759, allocations: 23.98 kB / 0.5583 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.476, allocations: 49.62 kB / 0.5583 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.476, allocations: 3.906 kB / 0.5583 GB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.476, allocations: 3.984 kB / 0.5583 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4761, allocations: 0 / 0.5583 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009389/0.477, allocations: 421.2 kB / 0.5587 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.4772, allocations: 33.7 kB / 0.5587 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.4773, allocations: 24.73 kB / 0.5588 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.4773, allocations: 0 / 0.5588 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4774, allocations: 34.56 kB / 0.5588 GB, free: 3.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.4774, allocations: 0 / 0.5588 GB, free: 3.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006521/0.4781, allocations: 184.2 kB / 0.559 GB, free: 3.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.4781, allocations: 59.31 kB / 0.559 GB, free: 2.977 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.4801, allocations: 0.7512 MB / 0.5598 GB, free: 2.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.4801, allocations: 29.7 kB / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.4802, allocations: 158.5 kB / 0.5599 GB, free: 2.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.4803, allocations: 15.8 kB / 0.56 GB, free: 2.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.4803, allocations: 0 / 0.56 GB, free: 2.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4804, allocations: 318.8 kB / 0.5603 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.701e-05/0.4805, allocations: 15.94 kB / 0.5603 GB, free: 1.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/0.4805, allocations: 15.98 kB / 0.5603 GB, free: 1.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.506e-05/0.4806, allocations: 12 kB / 0.5603 GB, free: 1.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4806, allocations: 0 / 0.5603 GB, free: 1.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000175/0.4808, allocations: 61.69 kB / 0.5604 GB, free: 1.578 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4809, allocations: 4 kB / 0.5604 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4809, allocations: 0 / 0.5604 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4809, allocations: 0 / 0.5604 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.481, allocations: 15.98 kB / 0.5604 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4811, allocations: 4 kB / 0.5604 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.4812, allocations: 4 kB / 0.5604 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.4812, allocations: 4 kB / 0.5604 GB, free: 1.547 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.013e-05/0.4813, allocations: 38.94 kB / 0.5604 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.4815, allocations: 39.53 kB / 0.5605 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.4819, allocations: 125.1 kB / 0.5606 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4819, allocations: 0 / 0.5606 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4819, allocations: 0 / 0.5606 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4819, allocations: 3.938 kB / 0.5606 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.483, allocations: 0.5535 MB / 0.5611 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.483, allocations: 0 / 0.5611 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.4832, allocations: 16.36 kB / 0.5612 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4832, allocations: 144 / 0.5612 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4832, allocations: 0 / 0.5612 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.4832, allocations: 4 kB / 0.5612 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4832, allocations: 3.938 kB / 0.5612 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000297/0.4835, allocations: 203 kB / 0.5614 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.4838, allocations: 160.5 kB / 0.5615 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/0.4839, allocations: 0 / 0.5615 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4841, allocations: 11.98 kB / 0.5615 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.4841, allocations: 0 / 0.5615 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.4842, allocations: 8 kB / 0.5615 GB, free: 304 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.00118/0.4854, allocations: 0.6082 MB / 0.5621 GB, free: 15.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005865/0.486, allocations: 59.94 kB / 0.5622 GB, free: 15.63 MB / 410.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.001136/0.4871, allocations: 301.9 kB / 0.5625 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.4873, allocations: 32.05 kB / 0.5625 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4874, allocations: 3.938 kB / 0.5625 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.4875, allocations: 28.06 kB / 0.5625 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.488, allocations: 29.84 kB / 0.5626 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.4907, allocations: 0.7521 MB / 0.5633 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009511/0.4917, allocations: 0.8567 MB / 0.5641 GB, free: 13.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.4917, allocations: 0 / 0.5641 GB, free: 13.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01656/0.5083, allocations: 4.258 MB / 0.5683 GB, free: 9.328 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches