Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,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.Test3") [: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.001619/0.001623, allocations: 172.2 kB / 8.147 MB, free: 2.207 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.671/1.671, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001777/0.001777, allocations: 93.97 kB / 261.8 MB, free: 13.62 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.3747/0.3747, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.858e-06/9.999e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2707, allocations: 58.85 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.4222, allocations: 86.01 MB / 0.5494 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.4226, allocations: 67.95 kB / 0.5494 GB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0307/0.4533, allocations: 7.554 MB / 0.5568 GB, free: 5.434 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.4533, allocations: 8 kB / 0.5568 GB, free: 5.426 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.0008116/0.4542, allocations: 0.5442 MB / 0.5574 GB, free: 4.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4542, allocations: 14.98 kB / 0.5574 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.4544, allocations: 47.44 kB / 0.5574 GB, free: 4.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/0.4551, allocations: 331.2 kB / 0.5577 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4551, allocations: 4 kB / 0.5577 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.4552, allocations: 0 / 0.5577 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001054/0.4553, allocations: 16 kB / 0.5577 GB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.4554, allocations: 45.62 kB / 0.5578 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4554, allocations: 3.906 kB / 0.5578 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4555, allocations: 0 / 0.5578 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4555, allocations: 0 / 0.5578 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.4563, allocations: 417.2 kB / 0.5582 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.225e-05/0.4564, allocations: 30.58 kB / 0.5582 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.4565, allocations: 12.86 kB / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.4565, allocations: 0 / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.4566, allocations: 38.56 kB / 0.5583 GB, free: 3.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.4566, allocations: 0 / 0.5583 GB, free: 3.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008295/0.4574, allocations: 216.1 kB / 0.5585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4575, allocations: 55.39 kB / 0.5585 GB, free: 3.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.4595, allocations: 0.7512 MB / 0.5593 GB, free: 2.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.4595, allocations: 25.7 kB / 0.5593 GB, free: 2.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4597, allocations: 162.5 kB / 0.5594 GB, free: 2.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.4597, allocations: 19.7 kB / 0.5595 GB, free: 2.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.4597, allocations: 0 / 0.5595 GB, free: 2.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4599, allocations: 314.8 kB / 0.5598 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.46, allocations: 16 kB / 0.5598 GB, free: 2.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.46, allocations: 12 kB / 0.5598 GB, free: 2.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.808e-05/0.4601, allocations: 12.22 kB / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4601, allocations: 11.94 kB / 0.5598 GB, free: 2.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000202/0.4603, allocations: 69.59 kB / 0.5599 GB, free: 2.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4604, allocations: 6.656 kB / 0.5599 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4604, allocations: 4 kB / 0.5599 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4604, allocations: 0 / 0.5599 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.4607, allocations: 31.91 kB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4607, allocations: 4 kB / 0.5599 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.4608, allocations: 8 kB / 0.5599 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.4608, allocations: 4 kB / 0.5599 GB, free: 2.039 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 6.05e-05/0.4609, allocations: 35 kB / 0.56 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.4611, allocations: 39.53 kB / 0.56 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.4615, allocations: 133.4 kB / 0.5601 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.4615, allocations: 4.141 kB / 0.5601 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4615, allocations: 3.984 kB / 0.5601 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4615, allocations: 0 / 0.5601 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.4627, allocations: 0.5573 MB / 0.5607 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4627, allocations: 0 / 0.5607 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.4629, allocations: 27.98 kB / 0.5607 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.463, allocations: 0 / 0.5607 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.463, allocations: 3.984 kB / 0.5607 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.463, allocations: 0 / 0.5607 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.463, allocations: 3.938 kB / 0.5607 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003325/0.4634, allocations: 211.1 kB / 0.5609 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.4637, allocations: 164.5 kB / 0.5611 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.4638, allocations: 4 kB / 0.5611 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.464, allocations: 15.98 kB / 0.5611 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.4641, allocations: 0 / 0.5611 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.4641, allocations: 4 kB / 0.5611 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001249/0.4654, allocations: 0.6082 MB / 0.5617 GB, free: 148 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.4659, allocations: 59.89 kB / 0.5617 GB, free: 88 kB / 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.0009005/0.4668, allocations: 300.8 kB / 0.562 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.467, allocations: 47.91 kB / 0.5621 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.467, allocations: 0 / 0.5621 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.4671, allocations: 24 kB / 0.5621 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.4676, allocations: 21.83 kB / 0.5621 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.4697, allocations: 0.7571 MB / 0.5629 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007722/0.4705, allocations: 0.8644 MB / 0.5637 GB, free: 14.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4705, allocations: 0 / 0.5637 GB, free: 14.05 MB / 410.7 MB Notification: Performance of Templates: time 0.01234/0.4829, allocations: 4.313 MB / 0.5679 GB, free: 9.73 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches