Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2D.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.001123/0.001124, allocations: 98.28 kB / 269.9 MB, free: 8.438 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.4219/0.4219, allocations: 43.5 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001178, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1459, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test26): time 0.003828/0.1497, allocations: 1.675 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007588/0.1505, allocations: 319.5 kB / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.1506, allocations: 0 / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1509, allocations: 55.86 kB / 489 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1512, allocations: 47.83 kB / 489.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1516, allocations: 103.8 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1518, allocations: 67.77 kB / 489.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1519, allocations: 20.17 kB / 489.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.152, allocations: 23.92 kB / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1521, allocations: 39.83 kB / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1521, allocations: 4 kB / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1522, allocations: 27.98 kB / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.148e-05/0.1523, allocations: 23.86 kB / 489.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.1524, allocations: 27.8 kB / 489.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1526, allocations: 87.94 kB / 489.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1526, allocations: 3.984 kB / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1526, allocations: 0 / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1526, allocations: 8 kB / 489.5 MB, free: 10.02 MB / 378.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.000609/0.1532, allocations: 387.1 kB / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1533, allocations: 12.03 kB / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.1533, allocations: 8.844 kB / 489.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.1536, allocations: 196.7 kB / 490.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1536, allocations: 4.125 kB / 490.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1536, allocations: 7.938 kB / 490.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1538, allocations: 57.67 kB / 490.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1538, allocations: 4 kB / 490.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1538, allocations: 3.938 kB / 490.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1539, allocations: 0 / 490.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.154, allocations: 35.97 kB / 490.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.1544, allocations: 284.8 kB / 490.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.1546, allocations: 50.48 kB / 490.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.1546, allocations: 24.94 kB / 490.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1547, allocations: 3.938 kB / 490.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1547, allocations: 34.56 kB / 490.6 MB, free: 8.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.1547, allocations: 4 kB / 490.6 MB, free: 8.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007474/0.1555, allocations: 209.1 kB / 490.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1555, allocations: 59.34 kB / 490.9 MB, free: 8.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1557, allocations: 170.4 kB / 491 MB, free: 8.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1557, allocations: 29.7 kB / 491.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.1558, allocations: 104 kB / 491.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.1558, allocations: 23.66 kB / 491.2 MB, free: 8.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.1559, allocations: 25.7 kB / 491.2 MB, free: 8.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.156, allocations: 318.8 kB / 491.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1561, allocations: 27.98 kB / 491.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.1562, allocations: 35.97 kB / 491.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1564, allocations: 80.97 kB / 491.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1564, allocations: 0 / 491.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002619/0.1567, allocations: 109.5 kB / 491.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1567, allocations: 7.984 kB / 491.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1567, allocations: 3.938 kB / 491.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1568, allocations: 0 / 491.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1569, allocations: 23.98 kB / 491.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1569, allocations: 0 / 491.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.157, allocations: 11.98 kB / 491.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.157, allocations: 0 / 491.8 MB, free: 7.477 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.1571, allocations: 125.8 kB / 492 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1571, allocations: 11.91 kB / 492 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.1575, allocations: 138.3 kB / 492.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1575, allocations: 0 / 492.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1575, allocations: 0 / 492.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1575, allocations: 3.984 kB / 492.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.158, allocations: 386.4 kB / 492.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.158, allocations: 4 kB / 492.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.1581, allocations: 27.97 kB / 492.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1581, allocations: 0 / 492.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1581, allocations: 0 / 492.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1581, allocations: 0 / 492.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1582, allocations: 3.938 kB / 492.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.1588, allocations: 0.8057 MB / 493.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.1589, allocations: 81.02 kB / 493.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1589, allocations: 0 / 493.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.159, allocations: 15.98 kB / 493.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.1591, allocations: 7.984 kB / 493.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1591, allocations: 3.938 kB / 493.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1592, allocations: 139.9 kB / 493.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.743e-06/0.1592, allocations: 0 / 493.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.1595, allocations: 27.84 kB / 493.6 MB, free: 5.566 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009053/0.1605, allocations: 399.1 kB / 494 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1607, allocations: 83.92 kB / 494.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1607, allocations: 0 / 494.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.1609, allocations: 43.84 kB / 494.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1612, allocations: 24.45 kB / 494.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.1618, allocations: 367.3 kB / 494.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1621, allocations: 0.7082 MB / 495.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.199e-05/0.1622, allocations: 7.984 kB / 495.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.1622, allocations: 15.44 kB / 495.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1622, allocations: 4 kB / 495.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of Templates: time 0.003824/0.1661, allocations: 1.178 MB / 496.4 MB, free: 2.723 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches