Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005659/0.005659, allocations: 100.1 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.001161/0.001161, allocations: 193.9 kB / 16.79 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.801/1.801, allocations: 205.1 MB / 222.7 MB, free: 4.504 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.3871/0.3871, allocations: 43.5 MB / 313.5 MB, free: 8.703 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.001433/0.001433, allocations: 66.55 kB / 382 MB, free: 8.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1606, allocations: 57.78 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.004106/0.1648, allocations: 1.622 MB / 441.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1664, allocations: 0.922 MB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.1665, allocations: 0 / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.1668, allocations: 23.92 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.167, allocations: 31.91 kB / 442.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1673, allocations: 87.83 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1674, allocations: 59.78 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1676, allocations: 15.97 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.1676, allocations: 11.94 kB / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.1678, allocations: 31.84 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1678, allocations: 4 kB / 442.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.168, allocations: 51.97 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.168, allocations: 3.984 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.1681, allocations: 19.86 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1683, allocations: 95.94 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1683, allocations: 0 / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1683, allocations: 0 / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1683, allocations: 0 / 442.8 MB, free: 11.82 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.0006588/0.169, allocations: 375.2 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1691, allocations: 12.03 kB / 443.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.1691, allocations: 0.9375 kB / 443.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1694, allocations: 192.2 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1694, allocations: 384 / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.1694, allocations: 12.28 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1696, allocations: 67.45 kB / 443.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1697, allocations: 0 / 443.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1697, allocations: 4 kB / 443.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1697, allocations: 8 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1698, allocations: 23.92 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.1703, allocations: 276.9 kB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.1706, allocations: 46.5 kB / 443.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.609e-05/0.1707, allocations: 24.94 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.1707, allocations: 0 / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1707, allocations: 30.56 kB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1708, allocations: 0 / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006408/0.1714, allocations: 145.4 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.1715, allocations: 81.11 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1716, allocations: 137.8 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1717, allocations: 25.7 kB / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.1717, allocations: 99.97 kB / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1718, allocations: 15.75 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.1718, allocations: 17.72 kB / 444.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.172, allocations: 322.8 kB / 444.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.1721, allocations: 19.98 kB / 444.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.1721, allocations: 41.69 kB / 444.7 MB, free: 9.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1723, allocations: 56.95 kB / 444.8 MB, free: 9.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1723, allocations: 0 / 444.8 MB, free: 9.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001766/0.1725, allocations: 81.58 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1725, allocations: 8 kB / 444.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1725, allocations: 4.031 kB / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1725, allocations: 0 / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.1726, allocations: 11.98 kB / 444.9 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1726, allocations: 0 / 444.9 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.1727, allocations: 11.98 kB / 444.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1727, allocations: 4 kB / 444.9 MB, free: 9.469 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 9.55e-05/0.1728, allocations: 121.8 kB / 445 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.1728, allocations: 0 / 445 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.1731, allocations: 105.5 kB / 445.1 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1731, allocations: 0 / 445.1 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1731, allocations: 0 / 445.1 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1731, allocations: 0 / 445.1 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.1735, allocations: 362.3 kB / 445.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1735, allocations: 0 / 445.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.1736, allocations: 12 kB / 445.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1736, allocations: 4 kB / 445.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1736, allocations: 4.172 kB / 445.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1736, allocations: 7.938 kB / 445.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1736, allocations: 0 / 445.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1739, allocations: 171.5 kB / 445.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.1739, allocations: 85 kB / 445.8 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.174, allocations: 11.94 kB / 445.8 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.174, allocations: 7.938 kB / 445.8 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1741, allocations: 7.984 kB / 445.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.1741, allocations: 0 / 445.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.59e-05/0.1742, allocations: 111.7 kB / 445.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.532e-06/0.1742, allocations: 0 / 445.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1744, allocations: 23.94 kB / 445.9 MB, free: 8.348 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.0009879/0.1754, allocations: 442 kB / 446.3 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1757, allocations: 51.95 kB / 446.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1757, allocations: 4 kB / 446.4 MB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.1757, allocations: 27.92 kB / 446.4 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.1761, allocations: 15.98 kB / 446.4 MB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.1766, allocations: 179.1 kB / 446.6 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.177, allocations: 0.6926 MB / 447.3 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.791e-05/0.177, allocations: 15.98 kB / 447.3 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.1771, allocations: 15.42 kB / 447.3 MB, free: 6.898 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1771, allocations: 0 / 447.3 MB, free: 6.898 MB / 382.1 MB Notification: Performance of Templates: time 0.003989/0.1811, allocations: 1.315 MB / 448.7 MB, free: 5.582 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches