Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") [: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.001683/0.001683, allocations: 186.1 kB / 8.15 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.2 MB / 213.7 MB, free: 8.684 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 94.61 kB / 261.8 MB, free: 5.066 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.279/0.279, allocations: 43.49 MB / 353.2 MB, free: 11.44 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 1.128e-05/1.142e-05, allocations: 4 kB / 417.7 MB, free: 68.59 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 58.85 MB / 476.5 MB, free: 9.68 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4513, allocations: 86.04 MB / 0.5494 GB, free: 10.8 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4516, allocations: 66.34 kB / 0.5495 GB, free: 10.77 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.02909/0.4807, allocations: 7.227 MB / 0.5565 GB, free: 4.395 MB / 370.8 MB Notification: Performance of Transformations before backend: time 3.276e-05/0.4808, allocations: 11.88 kB / 0.5565 GB, free: 4.383 MB / 370.8 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.0008168/0.4817, allocations: 0.5535 MB / 0.5571 GB, free: 3.809 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4817, allocations: 12.03 kB / 0.5571 GB, free: 3.797 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4819, allocations: 39.44 kB / 0.5571 GB, free: 3.758 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006927/0.4826, allocations: 320.5 kB / 0.5574 GB, free: 3.414 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4826, allocations: 0 / 0.5574 GB, free: 3.414 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.4826, allocations: 0 / 0.5574 GB, free: 3.414 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.269e-05/0.4827, allocations: 19.88 kB / 0.5574 GB, free: 3.398 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.4829, allocations: 45.55 kB / 0.5575 GB, free: 3.352 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4829, allocations: 3.938 kB / 0.5575 GB, free: 3.352 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4829, allocations: 0 / 0.5575 GB, free: 3.352 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.4829, allocations: 3.906 kB / 0.5575 GB, free: 3.348 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.4837, allocations: 416.4 kB / 0.5579 GB, free: 2.953 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.484, allocations: 29.53 kB / 0.5579 GB, free: 2.922 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.4841, allocations: 12.73 kB / 0.5579 GB, free: 2.91 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.4841, allocations: 96 / 0.5579 GB, free: 2.91 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4841, allocations: 38.55 kB / 0.558 GB, free: 2.863 MB / 370.8 MB Notification: Performance of pre-optimization done (n=3): time 4.489e-06/0.4842, allocations: 4 kB / 0.558 GB, free: 2.859 MB / 370.8 MB Notification: Performance of matching and sorting (n=5): time 0.0006835/0.4849, allocations: 179.6 kB / 0.5581 GB, free: 2.688 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4849, allocations: 51.41 kB / 0.5582 GB, free: 2.625 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.4869, allocations: 0.7513 MB / 0.5589 GB, free: 2.047 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.487, allocations: 25.7 kB / 0.5589 GB, free: 2.016 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.4871, allocations: 165.4 kB / 0.5591 GB, free: 1.855 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.4871, allocations: 19.75 kB / 0.5591 GB, free: 1.836 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.4871, allocations: 0 / 0.5591 GB, free: 1.836 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4873, allocations: 314.3 kB / 0.5594 GB, free: 1.523 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.4874, allocations: 7.438 kB / 0.5594 GB, free: 1.52 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.4874, allocations: 10.69 kB / 0.5594 GB, free: 1.512 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.832e-05/0.4875, allocations: 10.17 kB / 0.5595 GB, free: 1.504 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4875, allocations: 0 / 0.5595 GB, free: 1.504 MB / 370.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001651/0.4877, allocations: 52.3 kB / 0.5595 GB, free: 1.453 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4877, allocations: 8 kB / 0.5595 GB, free: 1.445 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4877, allocations: 4 kB / 0.5595 GB, free: 1.441 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4877, allocations: 0 / 0.5595 GB, free: 1.441 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.4879, allocations: 19.42 kB / 0.5595 GB, free: 1.426 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4879, allocations: 0 / 0.5595 GB, free: 1.426 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.488, allocations: 7.984 kB / 0.5595 GB, free: 1.418 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.488, allocations: 4.141 kB / 0.5595 GB, free: 1.414 MB / 370.8 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 5.781e-05/0.4881, allocations: 35.2 kB / 0.5596 GB, free: 1.375 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.4883, allocations: 43.42 kB / 0.5596 GB, free: 1.332 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.4886, allocations: 113 kB / 0.5597 GB, free: 1.227 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4887, allocations: 0 / 0.5597 GB, free: 1.227 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4887, allocations: 7.938 kB / 0.5597 GB, free: 1.219 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4887, allocations: 3.906 kB / 0.5597 GB, free: 1.215 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.4898, allocations: 0.5355 MB / 0.5603 GB, free: 0.7109 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4899, allocations: 4 kB / 0.5603 GB, free: 0.707 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.49, allocations: 16.36 kB / 0.5603 GB, free: 0.6914 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.4901, allocations: 0 / 0.5603 GB, free: 0.6914 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.4901, allocations: 7.906 kB / 0.5603 GB, free: 0.6836 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4901, allocations: 0 / 0.5603 GB, free: 0.6836 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4901, allocations: 0 / 0.5603 GB, free: 0.6836 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002918/0.4904, allocations: 188.5 kB / 0.5605 GB, free: 0.4922 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.4907, allocations: 161.4 kB / 0.5606 GB, free: 332 kB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-05/0.4908, allocations: 3.906 kB / 0.5606 GB, free: 328 kB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.491, allocations: 15.92 kB / 0.5606 GB, free: 312 kB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.491, allocations: 0 / 0.5606 GB, free: 312 kB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.4911, allocations: 0 / 0.5606 GB, free: 312 kB / 370.8 MB Notification: Performance of sort global known variables: time 0.001214/0.4923, allocations: 0.6123 MB / 0.5612 GB, free: 15.87 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0004463/0.4928, allocations: 55.56 kB / 0.5613 GB, free: 15.82 MB / 386.8 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.0009283/0.4937, allocations: 308.8 kB / 0.5616 GB, free: 15.56 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.4939, allocations: 31.31 kB / 0.5616 GB, free: 15.54 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4939, allocations: 0 / 0.5616 GB, free: 15.54 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.494, allocations: 19 kB / 0.5616 GB, free: 15.52 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.4944, allocations: 23.58 kB / 0.5617 GB, free: 15.52 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.4966, allocations: 0.7329 MB / 0.5624 GB, free: 14.81 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008304/0.4975, allocations: 0.8619 MB / 0.5632 GB, free: 13.94 MB / 386.8 MB Notification: Performance of SimCode: time 1.402e-06/0.4975, allocations: 0 / 0.5632 GB, free: 13.94 MB / 386.8 MB Notification: Performance of Templates: time 0.01237/0.5099, allocations: 4.187 MB / 0.5673 GB, free: 9.758 MB / 386.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches