Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000847/0.0008471, allocations: 192 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.078/1.078, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008266/0.0008266, allocations: 94.73 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1571/0.1571, allocations: 43.49 MB / 352.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.491e-06/5.521e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2404, allocations: 58.83 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3486, allocations: 86.7 MB / 0.5501 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.3489, allocations: 75.95 kB / 0.5501 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01509/0.364, allocations: 6.068 MB / 0.5561 GB, free: 6.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.364, allocations: 11.92 kB / 0.5561 GB, free: 6.176 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.0003553/0.3644, allocations: 402.2 kB / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.3644, allocations: 8.031 kB / 0.5565 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.3645, allocations: 11.81 kB / 0.5565 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.3647, allocations: 206.8 kB / 0.5567 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.3647, allocations: 0 / 0.5567 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3647, allocations: 4 kB / 0.5567 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.294e-05/0.3648, allocations: 16 kB / 0.5567 GB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.355e-05/0.3649, allocations: 63.41 kB / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.3649, allocations: 0 / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3649, allocations: 3.938 kB / 0.5567 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3649, allocations: 0 / 0.5567 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.3653, allocations: 289.3 kB / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.3654, allocations: 42.47 kB / 0.5571 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.3654, allocations: 16.86 kB / 0.5571 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3654, allocations: 4 kB / 0.5571 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.3655, allocations: 34.56 kB / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.3655, allocations: 0 / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004224/0.3659, allocations: 157.4 kB / 0.5573 GB, free: 4.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.3659, allocations: 77.11 kB / 0.5573 GB, free: 4.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.366, allocations: 129.1 kB / 0.5575 GB, free: 4.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3661, allocations: 25.7 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.3661, allocations: 99.97 kB / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3661, allocations: 15.72 kB / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.3661, allocations: 0 / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.3662, allocations: 326.8 kB / 0.5579 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.3663, allocations: 16 kB / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.3663, allocations: 33.7 kB / 0.558 GB, free: 4.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.3663, allocations: 23.98 kB / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.3663, allocations: 0 / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001428/0.3665, allocations: 89.53 kB / 0.5581 GB, free: 3.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.3665, allocations: 4 kB / 0.5581 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.3665, allocations: 0 / 0.5581 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.3665, allocations: 0 / 0.5581 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3667, allocations: 32 kB / 0.5581 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.3667, allocations: 0 / 0.5581 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.3667, allocations: 15.91 kB / 0.5581 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3668, allocations: 4 kB / 0.5581 GB, free: 3.848 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.892e-05/0.3668, allocations: 110.3 kB / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.3669, allocations: 7.906 kB / 0.5582 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.367, allocations: 110.4 kB / 0.5583 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.367, allocations: 0 / 0.5583 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3671, allocations: 3.984 kB / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3671, allocations: 0 / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.3674, allocations: 351 kB / 0.5587 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3674, allocations: 0 / 0.5587 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/0.3675, allocations: 23.98 kB / 0.5587 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3675, allocations: 144 / 0.5587 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.3675, allocations: 0 / 0.5587 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3675, allocations: 7.938 kB / 0.5587 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3675, allocations: 3.906 kB / 0.5587 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001405/0.3677, allocations: 183.4 kB / 0.5589 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.3677, allocations: 92.94 kB / 0.559 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.3677, allocations: 0 / 0.559 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3678, allocations: 15.98 kB / 0.559 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.3679, allocations: 15.94 kB / 0.559 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.3679, allocations: 3.984 kB / 0.559 GB, free: 2.844 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.241e-05/0.368, allocations: 106.5 kB / 0.5591 GB, free: 2.742 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.3682, allocations: 35.98 kB / 0.5591 GB, free: 2.707 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.0005848/0.3688, allocations: 340.4 kB / 0.5595 GB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.3689, allocations: 51.98 kB / 0.5595 GB, free: 2.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.3689, allocations: 0 / 0.5595 GB, free: 2.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.369, allocations: 28 kB / 0.5595 GB, free: 2.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.3692, allocations: 15.78 kB / 0.5596 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.3694, allocations: 127.5 kB / 0.5597 GB, free: 2.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.3697, allocations: 0.7309 MB / 0.5604 GB, free: 1.41 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3697, allocations: 3.938 kB / 0.5604 GB, free: 1.406 MB / 394.7 MB Notification: Performance of Templates: time 0.00338/0.3731, allocations: 1.552 MB / 0.5619 GB, free: 15.86 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches