Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,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.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.001237/0.001237, allocations: 186 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.077/1.077, 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.0007732/0.0007732, allocations: 81.98 kB / 261.4 MB, free: 13.54 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.1642/0.1642, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.692e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.241, allocations: 58.83 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09879/0.3399, allocations: 86.31 MB / 0.5497 GB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.3401, allocations: 71.97 kB / 0.5498 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01504/0.3551, allocations: 5.937 MB / 0.5555 GB, free: 6.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.3552, allocations: 4 kB / 0.5556 GB, free: 6.684 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.0003479/0.3555, allocations: 422.1 kB / 0.556 GB, free: 6.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.3556, allocations: 8.031 kB / 0.556 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.3556, allocations: 11.81 kB / 0.556 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.3558, allocations: 186.9 kB / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.3558, allocations: 4 kB / 0.5562 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3558, allocations: 0 / 0.5562 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.265e-05/0.3559, allocations: 16 kB / 0.5562 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.355e-05/0.356, allocations: 67.28 kB / 0.5562 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.475e-06/0.356, allocations: 0 / 0.5562 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.356, allocations: 7.984 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.356, allocations: 0 / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.3563, allocations: 269.3 kB / 0.5565 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.723e-05/0.3564, allocations: 30.58 kB / 0.5565 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.3564, allocations: 16.86 kB / 0.5565 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3564, allocations: 4.078 kB / 0.5565 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3565, allocations: 42.41 kB / 0.5566 GB, free: 5.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3565, allocations: 0 / 0.5566 GB, free: 5.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003968/0.3569, allocations: 121.4 kB / 0.5567 GB, free: 5.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.3569, allocations: 81.11 kB / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3571, allocations: 126 kB / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3571, allocations: 25.7 kB / 0.5569 GB, free: 5.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.3571, allocations: 92.12 kB / 0.557 GB, free: 4.984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.3571, allocations: 19.72 kB / 0.557 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.3572, allocations: 0 / 0.557 GB, free: 4.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3573, allocations: 326.7 kB / 0.5573 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.3573, allocations: 12 kB / 0.5574 GB, free: 4.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.3573, allocations: 33.66 kB / 0.5574 GB, free: 4.586 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.3574, allocations: 16.06 kB / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3574, allocations: 0 / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001116/0.3575, allocations: 73.58 kB / 0.5575 GB, free: 4.492 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.3575, allocations: 4 kB / 0.5575 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3575, allocations: 4 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.3575, allocations: 0 / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3577, allocations: 24.02 kB / 0.5575 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.3577, allocations: 4 kB / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/0.3578, allocations: 19.92 kB / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3578, allocations: 7.938 kB / 0.5575 GB, free: 4.43 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.278e-05/0.3578, allocations: 106.3 kB / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.3579, allocations: 11.81 kB / 0.5576 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.358, allocations: 82.47 kB / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.358, allocations: 0 / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3581, allocations: 0 / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3581, allocations: 0 / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.3584, allocations: 339 kB / 0.5581 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3584, allocations: 0 / 0.5581 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.3585, allocations: 19.98 kB / 0.5581 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3585, allocations: 4 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3585, allocations: 3.984 kB / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3585, allocations: 0 / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3585, allocations: 7.938 kB / 0.5581 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001328/0.3586, allocations: 163.5 kB / 0.5582 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.3587, allocations: 89.02 kB / 0.5583 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.3587, allocations: 7.891 kB / 0.5583 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.3588, allocations: 12 kB / 0.5583 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.3589, allocations: 7.984 kB / 0.5584 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3589, allocations: 4 kB / 0.5584 GB, free: 3.496 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.32e-05/0.359, allocations: 112.2 kB / 0.5585 GB, free: 3.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.3592, allocations: 20 kB / 0.5585 GB, free: 3.367 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.000579/0.3598, allocations: 339.2 kB / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.3599, allocations: 43.97 kB / 0.5588 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3599, allocations: 0 / 0.5588 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.36, allocations: 31.88 kB / 0.5589 GB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.3602, allocations: 15.86 kB / 0.5589 GB, free: 2.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.3605, allocations: 119.3 kB / 0.559 GB, free: 2.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.3608, allocations: 0.7153 MB / 0.5597 GB, free: 2.098 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3608, allocations: 0 / 0.5597 GB, free: 2.098 MB / 394.7 MB Notification: Performance of Templates: time 0.003494/0.3643, allocations: 1.509 MB / 0.5612 GB, free: 0.5938 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches