Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005662/0.005667, allocations: 101.3 kB / 15.88 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.001183/0.001183, allocations: 196.3 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.868/1.868, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.3826/0.3826, allocations: 43.5 MB / 313.5 MB, free: 8.285 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.001412/0.001412, allocations: 67.91 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1587, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003671/0.1624, allocations: 1.756 MB / 441.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1638, allocations: 0.7923 MB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.1639, allocations: 7.938 kB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1642, allocations: 31.91 kB / 442.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1644, allocations: 51.81 kB / 442.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1647, allocations: 75.86 kB / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1648, allocations: 87.75 kB / 442.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1649, allocations: 16.22 kB / 442.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.061e-05/0.165, allocations: 43.72 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.1651, allocations: 27.86 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1651, allocations: 3.938 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.276e-05/0.1652, allocations: 39.97 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.1653, allocations: 19.92 kB / 442.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1654, allocations: 31.8 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.1656, allocations: 111.9 kB / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1656, allocations: 0 / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1656, allocations: 3.938 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1656, allocations: 11.94 kB / 442.9 MB, free: 11.47 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005612/0.1662, allocations: 411 kB / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1662, allocations: 8.031 kB / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.1663, allocations: 16.83 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1665, allocations: 204.7 kB / 443.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1666, allocations: 8.375 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.1666, allocations: 4.125 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1668, allocations: 53.67 kB / 443.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.1668, allocations: 8 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1668, allocations: 7.922 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1668, allocations: 0 / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.1669, allocations: 15.98 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.1673, allocations: 288.9 kB / 443.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1675, allocations: 54.69 kB / 444 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.1675, allocations: 32.77 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1676, allocations: 0 / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.1678, allocations: 67.39 kB / 444.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1678, allocations: 0 / 444.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006147/0.1684, allocations: 177.1 kB / 444.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.1685, allocations: 51.41 kB / 444.3 MB, free: 9.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1687, allocations: 203.3 kB / 444.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1687, allocations: 29.64 kB / 444.5 MB, free: 9.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.1688, allocations: 104.1 kB / 444.6 MB, free: 9.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.1688, allocations: 19.72 kB / 444.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.1689, allocations: 25.7 kB / 444.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.169, allocations: 326.8 kB / 445 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.1691, allocations: 16 kB / 445 MB, free: 9.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.1692, allocations: 45.64 kB / 445.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1693, allocations: 57.64 kB / 445.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1693, allocations: 0 / 445.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.1695, allocations: 109.4 kB / 445.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1695, allocations: 4 kB / 445.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1695, allocations: 0 / 445.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.1695, allocations: 4 kB / 445.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1697, allocations: 16.03 kB / 445.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1697, allocations: 0 / 445.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.1697, allocations: 11.92 kB / 445.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1698, allocations: 4 kB / 445.3 MB, free: 8.902 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001274/0.1699, allocations: 125.8 kB / 445.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.1699, allocations: 7.906 kB / 445.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.17, allocations: 21.39 kB / 445.4 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.17, allocations: 3.938 kB / 445.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.17, allocations: 0 / 445.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.17, allocations: 7.938 kB / 445.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.1705, allocations: 391.3 kB / 445.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1705, allocations: 3.938 kB / 445.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.1706, allocations: 12.36 kB / 445.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1706, allocations: 0 / 445.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.1706, allocations: 15.94 kB / 445.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1706, allocations: 0 / 445.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1706, allocations: 0 / 445.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1709, allocations: 200.5 kB / 446 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.1709, allocations: 88.92 kB / 446.1 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.171, allocations: 11.92 kB / 446.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.171, allocations: 4 kB / 446.1 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.1711, allocations: 7.938 kB / 446.1 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1711, allocations: 3.984 kB / 446.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1712, allocations: 164.8 kB / 446.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1713, allocations: 0 / 446.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1715, allocations: 24 kB / 446.3 MB, free: 7.727 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001086/0.1726, allocations: 473.2 kB / 446.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1728, allocations: 63.91 kB / 446.9 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1728, allocations: 0 / 446.9 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.1729, allocations: 24 kB / 446.9 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1732, allocations: 23.97 kB / 446.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.1737, allocations: 265 kB / 447.2 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.174, allocations: 0.7004 MB / 447.9 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.277e-05/0.1741, allocations: 21.17 kB / 447.9 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.1741, allocations: 15.44 kB / 447.9 MB, free: 6.141 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1741, allocations: 0 / 447.9 MB, free: 6.141 MB / 382.1 MB Notification: Performance of Templates: time 0.004219/0.1784, allocations: 1.634 MB / 449.5 MB, free: 4.508 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches