Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") [: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.001588/0.001588, allocations: 172.5 kB / 8.147 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.639/1.639, 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.002464/0.002465, allocations: 93.09 kB / 261.8 MB, free: 13.63 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.287/0.287, allocations: 43.5 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.997e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2701, allocations: 58.83 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.4214, allocations: 86.36 MB / 0.5497 GB, free: 12.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4218, allocations: 75.45 kB / 0.5498 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02992/0.4517, allocations: 7.404 MB / 0.557 GB, free: 5.227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.072e-05/0.4518, allocations: 12 kB / 0.557 GB, free: 5.215 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.0008123/0.4526, allocations: 0.5442 MB / 0.5576 GB, free: 4.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4527, allocations: 12.03 kB / 0.5576 GB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.4528, allocations: 43.42 kB / 0.5576 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.4536, allocations: 331.2 kB / 0.5579 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.4536, allocations: 3.984 kB / 0.5579 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.4536, allocations: 4 kB / 0.5579 GB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001216/0.4538, allocations: 23.98 kB / 0.558 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.4539, allocations: 49.59 kB / 0.558 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4539, allocations: 0 / 0.558 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4539, allocations: 0 / 0.558 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.454, allocations: 4 kB / 0.558 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009587/0.4549, allocations: 433.2 kB / 0.5584 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.4551, allocations: 38.58 kB / 0.5585 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.4551, allocations: 16.8 kB / 0.5585 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.4552, allocations: 4 kB / 0.5585 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4552, allocations: 30.66 kB / 0.5585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.195e-06/0.4552, allocations: 0 / 0.5585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008603/0.4561, allocations: 239.9 kB / 0.5587 GB, free: 3.301 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.4562, allocations: 55.41 kB / 0.5588 GB, free: 3.234 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.4581, allocations: 0.7589 MB / 0.5595 GB, free: 2.469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.4582, allocations: 25.7 kB / 0.5595 GB, free: 2.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.4583, allocations: 158.5 kB / 0.5597 GB, free: 2.281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.4584, allocations: 15.72 kB / 0.5597 GB, free: 2.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.4584, allocations: 4 kB / 0.5597 GB, free: 2.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4585, allocations: 318.8 kB / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.4586, allocations: 19.98 kB / 0.56 GB, free: 1.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.4587, allocations: 16 kB / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.657e-05/0.4588, allocations: 23.98 kB / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4588, allocations: 0 / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002416/0.4591, allocations: 81.67 kB / 0.5602 GB, free: 1.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4591, allocations: 11.22 kB / 0.5602 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4591, allocations: 0 / 0.5602 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4591, allocations: 8 kB / 0.5602 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.4594, allocations: 19.98 kB / 0.5602 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4594, allocations: 4.312 kB / 0.5602 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.4595, allocations: 19.89 kB / 0.5602 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.4596, allocations: 0 / 0.5602 GB, free: 1.738 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 (7): * Single equations (assignments): 7 * 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.323e-05/0.4597, allocations: 35.2 kB / 0.5603 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.4598, allocations: 39.44 kB / 0.5603 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/0.4603, allocations: 153.4 kB / 0.5604 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4603, allocations: 0 / 0.5604 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4603, allocations: 0 / 0.5604 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4603, allocations: 4 kB / 0.5604 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.4616, allocations: 0.5808 MB / 0.561 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4617, allocations: 0 / 0.561 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.4619, allocations: 19.98 kB / 0.561 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.4619, allocations: 4 kB / 0.561 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.4619, allocations: 0 / 0.561 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4619, allocations: 3.938 kB / 0.561 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.462, allocations: 4 kB / 0.561 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003742/0.4623, allocations: 222.8 kB / 0.5612 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.4626, allocations: 164.6 kB / 0.5614 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.4627, allocations: 3.906 kB / 0.5614 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.463, allocations: 15.98 kB / 0.5614 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.463, allocations: 4 kB / 0.5614 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4631, allocations: 3.984 kB / 0.5614 GB, free: 412 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.001194/0.4643, allocations: 0.6121 MB / 0.562 GB, free: 15.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004396/0.4647, allocations: 52 kB / 0.5621 GB, free: 15.74 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 (7): * Single equations (assignments): 7 * 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.0008915/0.4656, allocations: 314.7 kB / 0.5624 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.4659, allocations: 55.92 kB / 0.5624 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4659, allocations: 0 / 0.5624 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.748e-05/0.466, allocations: 31.98 kB / 0.5625 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.4665, allocations: 29.75 kB / 0.5625 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.4687, allocations: 0.7649 MB / 0.5632 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/0.4695, allocations: 0.8645 MB / 0.5641 GB, free: 13.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.4695, allocations: 0 / 0.5641 GB, free: 13.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01277/0.4823, allocations: 4.415 MB / 0.5684 GB, free: 9.234 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches