Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11") translateModel(ModelicaTest.Tables.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11") [: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.002328/0.002328, allocations: 182.1 kB / 8.146 MB, free: 0.8555 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.772/1.772, allocations: 205.2 MB / 213.7 MB, free: 8.574 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.001236/0.001236, allocations: 91.34 kB / 261.8 MB, free: 5.145 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.2672/0.2672, allocations: 43.49 MB / 353.2 MB, free: 11.39 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 7.845e-06/8.005e-06, allocations: 224 / 417.7 MB, free: 68.56 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 58.85 MB / 476.5 MB, free: 9.66 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3312/0.434, allocations: 86.31 MB / 0.5497 GB, free: 10.45 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.4344, allocations: 71.7 kB / 0.5497 GB, free: 10.41 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.02639/0.4608, allocations: 5.946 MB / 0.5555 GB, free: 5.797 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.4608, allocations: 4 kB / 0.5555 GB, free: 5.793 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.0006865/0.4615, allocations: 420 kB / 0.5559 GB, free: 5.352 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4616, allocations: 8.031 kB / 0.5559 GB, free: 5.344 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.4617, allocations: 15.8 kB / 0.556 GB, free: 5.328 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.462, allocations: 189.6 kB / 0.5561 GB, free: 5.113 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.462, allocations: 4 kB / 0.5561 GB, free: 5.109 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.4621, allocations: 11.92 kB / 0.5562 GB, free: 5.098 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.693e-05/0.4622, allocations: 11.5 kB / 0.5562 GB, free: 5.09 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.4624, allocations: 61.47 kB / 0.5562 GB, free: 5.023 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4624, allocations: 0 / 0.5562 GB, free: 5.023 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.4624, allocations: 0 / 0.5562 GB, free: 5.023 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4624, allocations: 4 kB / 0.5562 GB, free: 5.02 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.4629, allocations: 259.7 kB / 0.5565 GB, free: 4.746 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.537e-05/0.463, allocations: 35.95 kB / 0.5565 GB, free: 4.707 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.4631, allocations: 16.23 kB / 0.5565 GB, free: 4.691 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.4631, allocations: 0 / 0.5565 GB, free: 4.691 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.4631, allocations: 34.47 kB / 0.5566 GB, free: 4.648 MB / 370.8 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.4632, allocations: 0 / 0.5566 GB, free: 4.648 MB / 370.8 MB Notification: Performance of matching and sorting (n=7): time 0.0006794/0.4638, allocations: 139.1 kB / 0.5567 GB, free: 4.523 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.4639, allocations: 81.11 kB / 0.5568 GB, free: 4.426 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.4641, allocations: 127.4 kB / 0.5569 GB, free: 4.305 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4641, allocations: 25.7 kB / 0.5569 GB, free: 4.273 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.4642, allocations: 150.6 kB / 0.5571 GB, free: 4.125 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.4643, allocations: 18.97 kB / 0.5571 GB, free: 4.109 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.4643, allocations: 0 / 0.5571 GB, free: 4.109 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4644, allocations: 322.7 kB / 0.5574 GB, free: 3.785 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.4645, allocations: 18.94 kB / 0.5574 GB, free: 3.773 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.4646, allocations: 28.34 kB / 0.5574 GB, free: 3.746 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.4646, allocations: 11.5 kB / 0.5574 GB, free: 3.738 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4647, allocations: 0 / 0.5574 GB, free: 3.738 MB / 370.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001822/0.4648, allocations: 64.38 kB / 0.5575 GB, free: 3.68 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4649, allocations: 4 kB / 0.5575 GB, free: 3.676 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4649, allocations: 0 / 0.5575 GB, free: 3.676 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4649, allocations: 4.031 kB / 0.5575 GB, free: 3.672 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.4652, allocations: 31.91 kB / 0.5575 GB, free: 3.641 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.4652, allocations: 3.938 kB / 0.5575 GB, free: 3.637 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4653, allocations: 16 kB / 0.5576 GB, free: 3.621 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4653, allocations: 0 / 0.5576 GB, free: 3.621 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 (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 6.836e-05/0.4654, allocations: 44.09 kB / 0.5576 GB, free: 3.574 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.4655, allocations: 8.047 kB / 0.5576 GB, free: 3.566 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.4657, allocations: 87 kB / 0.5577 GB, free: 3.484 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.4658, allocations: 4 kB / 0.5577 GB, free: 3.48 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4658, allocations: 3.938 kB / 0.5577 GB, free: 3.477 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4658, allocations: 0 / 0.5577 GB, free: 3.477 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.4663, allocations: 329.2 kB / 0.558 GB, free: 3.141 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4664, allocations: 0 / 0.558 GB, free: 3.141 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.4666, allocations: 23.98 kB / 0.558 GB, free: 3.117 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4666, allocations: 0 / 0.558 GB, free: 3.117 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4666, allocations: 3.5 kB / 0.558 GB, free: 3.117 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4666, allocations: 4 kB / 0.558 GB, free: 3.113 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4666, allocations: 4 kB / 0.5581 GB, free: 3.109 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002321/0.4669, allocations: 165.2 kB / 0.5582 GB, free: 2.941 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.4669, allocations: 92.31 kB / 0.5583 GB, free: 2.836 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.467, allocations: 0 / 0.5583 GB, free: 2.836 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.4672, allocations: 19.98 kB / 0.5583 GB, free: 2.816 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.4672, allocations: 7.984 kB / 0.5583 GB, free: 2.809 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4672, allocations: 7.5 kB / 0.5583 GB, free: 2.805 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0001116/0.4674, allocations: 102.3 kB / 0.5584 GB, free: 2.711 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0003497/0.4677, allocations: 27.44 kB / 0.5585 GB, free: 2.688 MB / 370.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 (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.0009416/0.4687, allocations: 343.4 kB / 0.5588 GB, free: 2.41 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.4689, allocations: 42.5 kB / 0.5588 GB, free: 2.379 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4689, allocations: 0 / 0.5588 GB, free: 2.379 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.469, allocations: 23.31 kB / 0.5588 GB, free: 2.363 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.4693, allocations: 15.39 kB / 0.5589 GB, free: 2.352 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.4698, allocations: 152 kB / 0.559 GB, free: 2.184 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.4703, allocations: 0.7147 MB / 0.5597 GB, free: 1.445 MB / 370.8 MB Notification: Performance of SimCode: time 8.81e-07/0.4703, allocations: 0 / 0.5597 GB, free: 1.445 MB / 370.8 MB Notification: Performance of Templates: time 0.00512/0.4754, allocations: 1.777 MB / 0.5614 GB, free: 15.68 MB / 386.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches