Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") [: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.002481/0.00248, allocations: 172.4 kB / 8.146 MB, free: 2.219 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.724/1.724, 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.00127/0.00127, allocations: 88.69 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.2637/0.2637, allocations: 43.5 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.026e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2882, allocations: 58.83 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.4452, allocations: 86.32 MB / 0.5497 GB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.4455, allocations: 67.97 kB / 0.5497 GB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02687/0.4724, allocations: 5.937 MB / 0.5555 GB, free: 6.766 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4725, allocations: 4 kB / 0.5555 GB, free: 6.762 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.0006358/0.4731, allocations: 422.1 kB / 0.5559 GB, free: 6.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4732, allocations: 8.031 kB / 0.5559 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.4732, allocations: 11.81 kB / 0.556 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.4735, allocations: 186.9 kB / 0.5561 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4735, allocations: 4 kB / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.4736, allocations: 4 kB / 0.5561 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.674e-05/0.4737, allocations: 19.94 kB / 0.5562 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.4738, allocations: 55.41 kB / 0.5562 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4739, allocations: 4 kB / 0.5562 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4739, allocations: 0 / 0.5562 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4739, allocations: 0 / 0.5562 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.4743, allocations: 265.3 kB / 0.5565 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4745, allocations: 38.52 kB / 0.5565 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.4745, allocations: 16.86 kB / 0.5565 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.4746, allocations: 8.016 kB / 0.5565 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/0.4746, allocations: 38.47 kB / 0.5566 GB, free: 5.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.4746, allocations: 0 / 0.5566 GB, free: 5.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006408/0.4753, allocations: 121.4 kB / 0.5567 GB, free: 5.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.4754, allocations: 85.05 kB / 0.5568 GB, free: 5.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.4755, allocations: 126.6 kB / 0.5569 GB, free: 5.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.4756, allocations: 25.7 kB / 0.5569 GB, free: 5.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.4757, allocations: 162.6 kB / 0.5571 GB, free: 4.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.4757, allocations: 15.7 kB / 0.5571 GB, free: 4.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.4757, allocations: 0 / 0.5571 GB, free: 4.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4759, allocations: 322.8 kB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.4759, allocations: 12 kB / 0.5574 GB, free: 4.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.476, allocations: 29.7 kB / 0.5574 GB, free: 4.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.52e-05/0.4761, allocations: 12.23 kB / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4761, allocations: 4.031 kB / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000175/0.4763, allocations: 69.73 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4763, allocations: 4 kB / 0.5575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4763, allocations: 0 / 0.5575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4763, allocations: 4 kB / 0.5575 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.4766, allocations: 27.92 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4766, allocations: 4 kB / 0.5575 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.4767, allocations: 15.98 kB / 0.5576 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.4767, allocations: 8.078 kB / 0.5576 GB, free: 4.457 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 5.898e-05/0.4768, allocations: 34.95 kB / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.4769, allocations: 11.89 kB / 0.5576 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.4771, allocations: 82.17 kB / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.4771, allocations: 0 / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4772, allocations: 0 / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4772, allocations: 0 / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.4777, allocations: 331 kB / 0.558 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4777, allocations: 3.984 kB / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.4779, allocations: 27.98 kB / 0.558 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4779, allocations: 0 / 0.558 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4779, allocations: 4 kB / 0.558 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4779, allocations: 0 / 0.558 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.478, allocations: 0 / 0.558 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002211/0.4782, allocations: 171.5 kB / 0.5582 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.4783, allocations: 89 kB / 0.5583 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.4783, allocations: 4 kB / 0.5583 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.4785, allocations: 15.98 kB / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.4786, allocations: 4 kB / 0.5583 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.4786, allocations: 0 / 0.5583 GB, free: 3.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001192/0.4787, allocations: 116.2 kB / 0.5584 GB, free: 3.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003341/0.4791, allocations: 23.98 kB / 0.5584 GB, free: 3.465 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 (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.0009272/0.48, allocations: 344.3 kB / 0.5588 GB, free: 3.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.4802, allocations: 43.92 kB / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4802, allocations: 0 / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.4803, allocations: 27.94 kB / 0.5588 GB, free: 3.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.4806, allocations: 27.75 kB / 0.5589 GB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.4811, allocations: 137.1 kB / 0.559 GB, free: 2.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.4815, allocations: 0.7153 MB / 0.5597 GB, free: 2.156 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4815, allocations: 0 / 0.5597 GB, free: 2.156 MB / 394.7 MB Notification: Performance of Templates: time 0.005042/0.4866, allocations: 1.785 MB / 0.5614 GB, free: 380 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches