Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.74/1.74, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.4217/0.4217, allocations: 43.49 MB / 313.5 MB, free: 8.262 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.001622/0.001623, allocations: 60.42 kB / 382 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1594, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.00383/0.1633, allocations: 1.614 MB / 441.4 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.165, allocations: 0.922 MB / 442.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1652, allocations: 4 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1655, allocations: 23.91 kB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.1658, allocations: 31.91 kB / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.1662, allocations: 83.72 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1664, allocations: 51.84 kB / 442.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.1666, allocations: 15.97 kB / 442.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.216e-05/0.1667, allocations: 27.86 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.1668, allocations: 27.86 kB / 442.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1669, allocations: 0 / 442.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.1671, allocations: 51.95 kB / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-05/0.1672, allocations: 8 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.1672, allocations: 15.88 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.1675, allocations: 91.98 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1675, allocations: 3.984 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1676, allocations: 0 / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1676, allocations: 0 / 442.8 MB, free: 11.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006715/0.1682, allocations: 379.2 kB / 443.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.1683, allocations: 12.03 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.1684, allocations: 4.938 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1687, allocations: 188.1 kB / 443.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1687, allocations: 4.375 kB / 443.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1687, allocations: 4.281 kB / 443.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.1689, allocations: 67.52 kB / 443.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.169, allocations: 11.98 kB / 443.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.169, allocations: 0 / 443.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.169, allocations: 3.938 kB / 443.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1691, allocations: 19.98 kB / 443.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.1697, allocations: 276.9 kB / 443.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.17, allocations: 50.55 kB / 443.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.17, allocations: 16.8 kB / 443.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1701, allocations: 0 / 443.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1701, allocations: 38.64 kB / 443.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.1701, allocations: 0 / 443.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006862/0.1708, allocations: 145.4 kB / 444 MB, free: 10.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.1709, allocations: 77.11 kB / 444.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.1711, allocations: 137.8 kB / 444.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1711, allocations: 25.7 kB / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.1712, allocations: 104 kB / 444.3 MB, free: 9.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1713, allocations: 7.812 kB / 444.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.1713, allocations: 21.72 kB / 444.3 MB, free: 9.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1715, allocations: 322.8 kB / 444.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.1716, allocations: 23.98 kB / 444.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.14e-05/0.1716, allocations: 33.7 kB / 444.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1718, allocations: 57 kB / 444.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1718, allocations: 0 / 444.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002319/0.172, allocations: 93.45 kB / 444.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1721, allocations: 8.031 kB / 444.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1721, allocations: 0 / 444.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.1721, allocations: 0 / 444.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.1722, allocations: 11.98 kB / 444.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1722, allocations: 4 kB / 444.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.1723, allocations: 0 / 444.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1723, allocations: 7.984 kB / 444.9 MB, free: 9.285 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 (5): * Single equations (assignments): 5 * 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.0001301/0.1724, allocations: 125.7 kB / 445 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.1725, allocations: 4 kB / 445 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.1728, allocations: 97.56 kB / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1728, allocations: 0 / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1728, allocations: 0 / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1728, allocations: 7.984 kB / 445.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.1734, allocations: 350.4 kB / 445.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1734, allocations: 0 / 445.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.1735, allocations: 23.88 kB / 445.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1735, allocations: 0 / 445.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1735, allocations: 4.188 kB / 445.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/0.1735, allocations: 7.938 kB / 445.5 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1736, allocations: 3.984 kB / 445.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1738, allocations: 171.5 kB / 445.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.1739, allocations: 89 kB / 445.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1739, allocations: 4 kB / 445.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.174, allocations: 7.938 kB / 445.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.1741, allocations: 7.984 kB / 445.8 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1741, allocations: 0 / 445.8 MB, free: 8.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1742, allocations: 103.8 kB / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1742, allocations: 0 / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.1745, allocations: 16 kB / 445.9 MB, free: 8.18 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 (5): * Single equations (assignments): 5 * 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.001319/0.1759, allocations: 455 kB / 446.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1761, allocations: 51.95 kB / 446.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1761, allocations: 0 / 446.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-05/0.1763, allocations: 23.98 kB / 446.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.1768, allocations: 27.91 kB / 446.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.1773, allocations: 187.1 kB / 446.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1777, allocations: 0.6925 MB / 447.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.511e-05/0.1778, allocations: 15.98 kB / 447.3 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1779, allocations: 15.42 kB / 447.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1779, allocations: 0 / 447.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of Templates: time 0.004949/0.1828, allocations: 1.307 MB / 448.7 MB, free: 5.391 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches