Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.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.CombiTable2D.Test29,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_ModelicaTest.Tables.CombiTable2D.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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_ModelicaTest.Tables.CombiTable2D.Test29") [: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.000863/0.0008631, allocations: 185.2 kB / 7.799 MB, free: 2.441 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.075/1.075, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008123/0.0008124, allocations: 94.61 kB / 261.4 MB, free: 13.53 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.153/0.153, allocations: 43.48 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.79e-06/5.81e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.235, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3451, allocations: 86.02 MB / 0.5494 GB, free: 12.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.3453, allocations: 67.97 kB / 0.5495 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01035/0.3557, allocations: 3.934 MB / 0.5533 GB, free: 8.934 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.3557, allocations: 4 kB / 0.5533 GB, free: 8.93 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.0003779/0.3561, allocations: 402.1 kB / 0.5537 GB, free: 8.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3562, allocations: 8.031 kB / 0.5537 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.3562, allocations: 11.91 kB / 0.5537 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3565, allocations: 200.9 kB / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3565, allocations: 4 kB / 0.5539 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3565, allocations: 0 / 0.5539 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.6e-05/0.3566, allocations: 16 kB / 0.5539 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.306e-05/0.3567, allocations: 49.67 kB / 0.554 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3567, allocations: 0 / 0.554 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3567, allocations: 3.906 kB / 0.554 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.3567, allocations: 0 / 0.554 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.3571, allocations: 281.2 kB / 0.5542 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.3572, allocations: 34.56 kB / 0.5543 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.3572, allocations: 12.86 kB / 0.5543 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3572, allocations: 4 kB / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.3572, allocations: 34.5 kB / 0.5543 GB, free: 7.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.3573, allocations: 4 kB / 0.5543 GB, free: 7.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004628/0.3577, allocations: 133.3 kB / 0.5544 GB, free: 7.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.3578, allocations: 59.31 kB / 0.5545 GB, free: 7.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3579, allocations: 182.4 kB / 0.5547 GB, free: 7.336 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.358, allocations: 29.7 kB / 0.5547 GB, free: 7.301 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.358, allocations: 96.12 kB / 0.5548 GB, free: 7.203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3581, allocations: 27.64 kB / 0.5548 GB, free: 7.176 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.3581, allocations: 0 / 0.5548 GB, free: 7.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.3582, allocations: 322.8 kB / 0.5551 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.3582, allocations: 12.08 kB / 0.5551 GB, free: 6.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.3582, allocations: 19.98 kB / 0.5552 GB, free: 6.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.3583, allocations: 12 kB / 0.5552 GB, free: 6.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-07/0.3583, allocations: 0 / 0.5552 GB, free: 6.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001137/0.3584, allocations: 89.44 kB / 0.5553 GB, free: 6.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3584, allocations: 4 kB / 0.5553 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3584, allocations: 0 / 0.5553 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3584, allocations: 0 / 0.5553 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3586, allocations: 23.98 kB / 0.5553 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.3586, allocations: 0 / 0.5553 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.3587, allocations: 23.92 kB / 0.5553 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3587, allocations: 0 / 0.5553 GB, free: 6.664 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.994e-05/0.3587, allocations: 108.9 kB / 0.5554 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.3588, allocations: 8.047 kB / 0.5554 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.359, allocations: 99.2 kB / 0.5555 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.359, allocations: 8 kB / 0.5555 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.359, allocations: 0 / 0.5555 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.359, allocations: 3.984 kB / 0.5555 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.3593, allocations: 339.1 kB / 0.5559 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3593, allocations: 0 / 0.5559 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.3594, allocations: 27.89 kB / 0.5559 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3594, allocations: 7.938 kB / 0.5559 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3594, allocations: 0 / 0.5559 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.3594, allocations: 0 / 0.5559 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.3595, allocations: 4 kB / 0.5559 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001336/0.3596, allocations: 175.3 kB / 0.5561 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.3597, allocations: 89 kB / 0.5561 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.3597, allocations: 4 kB / 0.5561 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.3598, allocations: 15.98 kB / 0.5562 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.3598, allocations: 11.89 kB / 0.5562 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.3598, allocations: 4 kB / 0.5562 GB, free: 5.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000105/0.36, allocations: 148.9 kB / 0.5563 GB, free: 5.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.3602, allocations: 23.94 kB / 0.5563 GB, free: 5.523 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.0005858/0.3608, allocations: 309.1 kB / 0.5566 GB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.3609, allocations: 43.98 kB / 0.5567 GB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.3609, allocations: 0 / 0.5567 GB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.3609, allocations: 16 kB / 0.5567 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.3612, allocations: 23.78 kB / 0.5567 GB, free: 5.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.3615, allocations: 163.6 kB / 0.5569 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.3618, allocations: 0.7309 MB / 0.5576 GB, free: 4.238 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3618, allocations: 0 / 0.5576 GB, free: 4.238 MB / 394.7 MB Notification: Performance of Templates: time 0.003366/0.3652, allocations: 1.349 MB / 0.5589 GB, free: 2.895 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches