Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") [: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.0008653/0.0008653, allocations: 187.8 kB / 7.804 MB, free: 2.492 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.072/1.072, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007855/0.0007856, allocations: 94.84 kB / 261.4 MB, free: 13.62 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.1587/0.1587, allocations: 43.48 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.722e-06/6.762e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2371, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.34, allocations: 86.24 MB / 0.5496 GB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001456/0.3402, allocations: 71.45 kB / 0.5497 GB, free: 12.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01474/0.3549, allocations: 7.455 MB / 0.557 GB, free: 5.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.355, allocations: 11.98 kB / 0.557 GB, free: 5.172 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004275/0.3554, allocations: 0.5447 MB / 0.5575 GB, free: 4.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.587e-05/0.3554, allocations: 11.97 kB / 0.5575 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.3555, allocations: 43.44 kB / 0.5576 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.3559, allocations: 331.2 kB / 0.5579 GB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.3559, allocations: 4 kB / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.3559, allocations: 4 kB / 0.5579 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.92e-05/0.356, allocations: 20 kB / 0.5579 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.11e-05/0.356, allocations: 45.69 kB / 0.5579 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-06/0.3561, allocations: 0 / 0.5579 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3561, allocations: 3.906 kB / 0.5579 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-06/0.3561, allocations: 0 / 0.5579 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.3566, allocations: 421.3 kB / 0.5583 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.308e-05/0.3566, allocations: 42.45 kB / 0.5584 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.3567, allocations: 16.8 kB / 0.5584 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.3567, allocations: 4 kB / 0.5584 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.3567, allocations: 38.56 kB / 0.5584 GB, free: 3.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3567, allocations: 0 / 0.5584 GB, free: 3.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001663/0.3569, allocations: 81.31 kB / 0.5585 GB, free: 3.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.3569, allocations: 59.25 kB / 0.5586 GB, free: 3.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.3579, allocations: 0.759 MB / 0.5593 GB, free: 2.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.358, allocations: 25.7 kB / 0.5593 GB, free: 2.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.358, allocations: 128.1 kB / 0.5595 GB, free: 2.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.3581, allocations: 11.84 kB / 0.5595 GB, free: 2.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.3581, allocations: 0 / 0.5595 GB, free: 2.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3582, allocations: 370.8 kB / 0.5598 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.3582, allocations: 8 kB / 0.5598 GB, free: 2.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.576e-05/0.3582, allocations: 8 kB / 0.5598 GB, free: 2.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.3583, allocations: 11.98 kB / 0.5599 GB, free: 2.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.3583, allocations: 3.906 kB / 0.5599 GB, free: 2.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001089/0.3584, allocations: 85.22 kB / 0.5599 GB, free: 1.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.3584, allocations: 4 kB / 0.5599 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.3584, allocations: 0 / 0.5599 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.3584, allocations: 4 kB / 0.5599 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.3585, allocations: 16 kB / 0.56 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3585, allocations: 7.891 kB / 0.56 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.3586, allocations: 4 kB / 0.56 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3586, allocations: 7.938 kB / 0.56 GB, free: 1.875 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 (3): * Single equations (assignments): 3 * 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.054e-05/0.3587, allocations: 102.4 kB / 0.5601 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.3587, allocations: 43.44 kB / 0.5601 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.3589, allocations: 105.1 kB / 0.5602 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3589, allocations: 4 kB / 0.5602 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3589, allocations: 0 / 0.5602 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3589, allocations: 3.984 kB / 0.5602 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.3592, allocations: 305.9 kB / 0.5605 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3592, allocations: 0 / 0.5605 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.3593, allocations: 11.94 kB / 0.5605 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3593, allocations: 0 / 0.5605 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.3593, allocations: 4 kB / 0.5605 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3593, allocations: 3.984 kB / 0.5605 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3593, allocations: 3.938 kB / 0.5605 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001428/0.3594, allocations: 190.9 kB / 0.5607 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.3596, allocations: 164.5 kB / 0.5609 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3596, allocations: 0 / 0.5609 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3598, allocations: 8 kB / 0.5609 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.3598, allocations: 7.984 kB / 0.5609 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3598, allocations: 0 / 0.5609 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005385/0.3603, allocations: 0.6082 MB / 0.5615 GB, free: 244 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.3606, allocations: 48 kB / 0.5615 GB, free: 196 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 (3): * Single equations (assignments): 3 * 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.0004611/0.3611, allocations: 270.2 kB / 0.5618 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.3612, allocations: 23.94 kB / 0.5618 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.3612, allocations: 0 / 0.5618 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.3612, allocations: 12 kB / 0.5618 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.3614, allocations: 33.73 kB / 0.5619 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.3624, allocations: 0.6955 MB / 0.5625 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.3628, allocations: 0.8524 MB / 0.5634 GB, free: 14.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3628, allocations: 0 / 0.5634 GB, free: 14.27 MB / 410.7 MB Notification: Performance of Templates: time 0.00456/0.3674, allocations: 2.055 MB / 0.5654 GB, free: 12.21 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches