Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008447/0.008447, allocations: 100.2 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 189.6 kB / 16.78 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4072/0.4072, allocations: 43.5 MB / 313.5 MB, free: 8.273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 66.55 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1544, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.005315/0.1597, allocations: 1.676 MB / 441.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1611, allocations: 347.6 kB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.1613, allocations: 4 kB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.1622, allocations: 451.2 kB / 442.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.1627, allocations: 239.5 kB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.1632, allocations: 147.7 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.1635, allocations: 163.7 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1637, allocations: 28.2 kB / 442.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1639, allocations: 107.7 kB / 442.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1641, allocations: 207.6 kB / 443.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.1642, allocations: 0 / 443.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1643, allocations: 35.98 kB / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1644, allocations: 83.62 kB / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1646, allocations: 99.06 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.1649, allocations: 250.9 kB / 443.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1649, allocations: 7.938 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.165, allocations: 0 / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.165, allocations: 4 kB / 443.6 MB, free: 10.8 MB / 382.1 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.0009081/0.1659, allocations: 0.6297 MB / 444.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1659, allocations: 12.03 kB / 444.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.166, allocations: 40.38 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1664, allocations: 308.1 kB / 444.6 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1664, allocations: 4.375 kB / 444.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1664, allocations: 8.375 kB / 444.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1666, allocations: 61.8 kB / 444.7 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1667, allocations: 0 / 444.7 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1667, allocations: 0 / 444.7 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1667, allocations: 0 / 444.7 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1668, allocations: 39.97 kB / 444.7 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.1675, allocations: 404.7 kB / 445.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1677, allocations: 42.56 kB / 445.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.1678, allocations: 24.94 kB / 445.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.1678, allocations: 4 kB / 445.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1678, allocations: 38.55 kB / 445.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1679, allocations: 0 / 445.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001001/0.1689, allocations: 303.9 kB / 445.5 MB, free: 8.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1689, allocations: 55.39 kB / 445.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.1697, allocations: 0.8535 MB / 446.4 MB, free: 7.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1698, allocations: 25.7 kB / 446.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1699, allocations: 212 kB / 446.6 MB, free: 7.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.17, allocations: 31.58 kB / 446.7 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.17, allocations: 21.66 kB / 446.7 MB, free: 7.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.1703, allocations: 370.7 kB / 447.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.1704, allocations: 35.97 kB / 447.1 MB, free: 7.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.991e-05/0.1705, allocations: 35.97 kB / 447.1 MB, free: 7.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.1707, allocations: 88.8 kB / 447.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1707, allocations: 0 / 447.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003213/0.1711, allocations: 161.3 kB / 447.4 MB, free: 6.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1711, allocations: 8 kB / 447.4 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1711, allocations: 3.938 kB / 447.4 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1711, allocations: 4 kB / 447.4 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1713, allocations: 19.92 kB / 447.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.1713, allocations: 0 / 447.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.1714, allocations: 23.92 kB / 447.4 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1714, allocations: 0 / 447.4 MB, free: 6.746 MB / 382.1 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.0002096/0.1716, allocations: 221.8 kB / 447.7 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.1717, allocations: 39.53 kB / 447.7 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.1721, allocations: 177.4 kB / 447.9 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1721, allocations: 0 / 447.9 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1721, allocations: 3.938 kB / 447.9 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1721, allocations: 3.938 kB / 447.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/0.1728, allocations: 0.5062 MB / 448.4 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1728, allocations: 0 / 448.4 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.1729, allocations: 19.98 kB / 448.4 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1729, allocations: 0 / 448.4 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1729, allocations: 7.938 kB / 448.4 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1729, allocations: 0 / 448.4 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1729, allocations: 0 / 448.4 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.1733, allocations: 251 kB / 448.7 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.1734, allocations: 112.5 kB / 448.8 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.1734, allocations: 4.219 kB / 448.8 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.1735, allocations: 7.984 kB / 448.8 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.1736, allocations: 11.98 kB / 448.8 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1736, allocations: 8 kB / 448.8 MB, free: 5.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005682/0.1742, allocations: 0.6433 MB / 449.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.049e-06/0.1742, allocations: 0 / 449.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1744, allocations: 23.94 kB / 449.5 MB, free: 4.617 MB / 382.1 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.001057/0.1755, allocations: 414.5 kB / 449.9 MB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.1758, allocations: 95.86 kB / 450 MB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1759, allocations: 0 / 450 MB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.176, allocations: 43.97 kB / 450 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.1765, allocations: 25.95 kB / 450 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1778, allocations: 0.9024 MB / 450.9 MB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.1782, allocations: 0.8341 MB / 451.8 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.304e-05/0.1783, allocations: 16.28 kB / 451.8 MB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.1784, allocations: 15.44 kB / 451.8 MB, free: 2.258 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1784, allocations: 0 / 451.8 MB, free: 2.258 MB / 382.1 MB Notification: Performance of Templates: time 0.005328/0.1837, allocations: 1.491 MB / 453.3 MB, free: 0.7656 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches