Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") [: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.001625/0.001625, allocations: 182.5 kB / 8.154 MB, free: 2.125 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.677/1.677, allocations: 205.2 MB / 213.8 MB, free: 14 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.001269/0.001269, allocations: 89.97 kB / 261.8 MB, free: 13.64 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.2855/0.2855, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.587e-06/8.736e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.452, allocations: 85.85 MB / 0.5492 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.4523, allocations: 71.45 kB / 0.5493 GB, free: 13.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03592/0.4882, allocations: 7.347 MB / 0.5565 GB, free: 5.762 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.228e-05/0.4883, allocations: 4 kB / 0.5565 GB, free: 5.758 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001123/0.4895, allocations: 0.5368 MB / 0.557 GB, free: 5.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/0.4895, allocations: 11.31 kB / 0.557 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.4897, allocations: 47.38 kB / 0.557 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.4916, allocations: 331.2 kB / 0.5574 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4917, allocations: 0 / 0.5574 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.4917, allocations: 4 kB / 0.5574 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001147/0.4918, allocations: 12 kB / 0.5574 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.492, allocations: 41.67 kB / 0.5574 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.492, allocations: 0 / 0.5574 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.492, allocations: 4 kB / 0.5574 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.492, allocations: 0 / 0.5574 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.4931, allocations: 405.3 kB / 0.5578 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.4933, allocations: 26.58 kB / 0.5578 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.4933, allocations: 12.95 kB / 0.5578 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.4934, allocations: 3.984 kB / 0.5578 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.4935, allocations: 34.47 kB / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.295e-06/0.4935, allocations: 0 / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003756/0.4939, allocations: 77.23 kB / 0.558 GB, free: 4.074 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.4939, allocations: 55.41 kB / 0.558 GB, free: 4.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00369/0.4976, allocations: 0.7551 MB / 0.5587 GB, free: 3.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.4977, allocations: 25.7 kB / 0.5588 GB, free: 3.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.4978, allocations: 162.4 kB / 0.5589 GB, free: 3.055 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.4979, allocations: 7.844 kB / 0.5589 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.4979, allocations: 0 / 0.5589 GB, free: 3.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4981, allocations: 314.8 kB / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.4982, allocations: 8 kB / 0.5592 GB, free: 2.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.231e-05/0.4982, allocations: 8 kB / 0.5592 GB, free: 2.715 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.536e-05/0.4983, allocations: 11.98 kB / 0.5593 GB, free: 2.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4983, allocations: 0 / 0.5593 GB, free: 2.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001821/0.4985, allocations: 45.61 kB / 0.5593 GB, free: 2.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.4985, allocations: 4 kB / 0.5593 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4986, allocations: 7.922 kB / 0.5593 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4986, allocations: 0 / 0.5593 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.4988, allocations: 8 kB / 0.5593 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4988, allocations: 8 kB / 0.5593 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.4989, allocations: 7.984 kB / 0.5593 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.499, allocations: 0 / 0.5593 GB, free: 2.617 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 (3): * Single equations (assignments): 3 * 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 8.185e-05/0.4991, allocations: 31.05 kB / 0.5594 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.4993, allocations: 43.44 kB / 0.5594 GB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.4996, allocations: 101.1 kB / 0.5595 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4997, allocations: 0 / 0.5595 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4997, allocations: 4 kB / 0.5595 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4997, allocations: 0 / 0.5595 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.5002, allocations: 313.9 kB / 0.5598 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5002, allocations: 3.938 kB / 0.5598 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.5003, allocations: 8 kB / 0.5598 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5003, allocations: 0 / 0.5598 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.5003, allocations: 0 / 0.5598 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.5003, allocations: 3.984 kB / 0.5598 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5004, allocations: 0 / 0.5598 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002582/0.5006, allocations: 191.2 kB / 0.56 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.5009, allocations: 160.5 kB / 0.5602 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.501, allocations: 3.984 kB / 0.5602 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.5012, allocations: 4 kB / 0.5602 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.5013, allocations: 4 kB / 0.5602 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.5013, allocations: 0 / 0.5602 GB, free: 1.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001171/0.5024, allocations: 0.6121 MB / 0.5608 GB, free: 1.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.5029, allocations: 55.89 kB / 0.5608 GB, free: 1.008 MB / 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 (3): * Single equations (assignments): 3 * 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.0007941/0.5037, allocations: 255.2 kB / 0.5611 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.5038, allocations: 23.94 kB / 0.5611 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5038, allocations: 0 / 0.5611 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.5039, allocations: 15.92 kB / 0.5611 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.5043, allocations: 21.95 kB / 0.5611 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.5064, allocations: 0.7208 MB / 0.5618 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008287/0.5073, allocations: 0.8602 MB / 0.5627 GB, free: 15.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5073, allocations: 0 / 0.5627 GB, free: 15.08 MB / 410.7 MB Notification: Performance of Templates: time 0.01155/0.5189, allocations: 4.024 MB / 0.5666 GB, free: 11.05 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches