Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 187 kB / 16.64 MB, free: 5.133 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.497/1.497, 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.001077/0.001077, allocations: 93.55 kB / 269.9 MB, free: 8.441 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.4362/0.4362, allocations: 43.49 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 59.91 kB / 429.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1577, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004225/0.162, allocations: 1.723 MB / 488.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1636, allocations: 0.7818 MB / 489.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1638, allocations: 4 kB / 489.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.1642, allocations: 51.8 kB / 489.6 MB, free: 9.977 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.1646, allocations: 55.81 kB / 489.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.1649, allocations: 71.84 kB / 489.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1651, allocations: 95.69 kB / 489.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.81e-05/0.1652, allocations: 11.97 kB / 489.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1653, allocations: 43.78 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1654, allocations: 31.84 kB / 489.9 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1655, allocations: 3.938 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1656, allocations: 24 kB / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.1657, allocations: 27.89 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.1658, allocations: 43.69 kB / 490 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.166, allocations: 115.8 kB / 490.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.166, allocations: 0 / 490.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.166, allocations: 0 / 490.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1661, allocations: 0 / 490.1 MB, free: 9.461 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007559/0.1668, allocations: 426.8 kB / 490.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.1669, allocations: 15.97 kB / 490.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.167, allocations: 12.75 kB / 490.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1673, allocations: 215.8 kB / 490.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1673, allocations: 4.375 kB / 490.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.1673, allocations: 4.125 kB / 490.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1675, allocations: 53.67 kB / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1675, allocations: 0 / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1675, allocations: 0 / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1675, allocations: 0 / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.1676, allocations: 19.92 kB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.1679, allocations: 185.7 kB / 491 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1681, allocations: 66.55 kB / 491.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.1682, allocations: 24.78 kB / 491.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.1682, allocations: 0 / 491.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.1685, allocations: 59.39 kB / 491.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.983e-06/0.1686, allocations: 0 / 491.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003154/0.1689, allocations: 105.4 kB / 491.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.1689, allocations: 55.34 kB / 491.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.1693, allocations: 255.7 kB / 491.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1693, allocations: 29.7 kB / 491.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.1694, allocations: 112.1 kB / 491.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.1694, allocations: 11.81 kB / 491.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.1695, allocations: 21.7 kB / 491.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1696, allocations: 330.8 kB / 492 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.287e-05/0.1697, allocations: 12 kB / 492.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.1698, allocations: 29.7 kB / 492.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.881e-05/0.1699, allocations: 45.64 kB / 492.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1699, allocations: 0 / 492.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001829/0.1701, allocations: 89.69 kB / 492.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1701, allocations: 8.031 kB / 492.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1701, allocations: 3.938 kB / 492.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1701, allocations: 4 kB / 492.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.1702, allocations: 11.98 kB / 492.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1702, allocations: 0 / 492.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/0.1703, allocations: 11.94 kB / 492.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1703, allocations: 0 / 492.3 MB, free: 7.043 MB / 378.7 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 (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.0001218/0.1704, allocations: 133.8 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1705, allocations: 11.81 kB / 492.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.1705, allocations: 24.98 kB / 492.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1705, allocations: 0 / 492.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1705, allocations: 0 / 492.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1706, allocations: 7.984 kB / 492.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1707, allocations: 197.6 kB / 492.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1708, allocations: 0 / 492.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.1708, allocations: 4 kB / 492.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1708, allocations: 0 / 492.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1708, allocations: 0 / 492.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.1708, allocations: 3.938 kB / 492.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1708, allocations: 0 / 492.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.1715, allocations: 0.6979 MB / 493.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.1716, allocations: 84.92 kB / 493.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.1717, allocations: 15.92 kB / 493.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.1717, allocations: 0 / 493.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.1718, allocations: 7.938 kB / 493.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.1718, allocations: 3.938 kB / 493.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.172, allocations: 211 kB / 493.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.172, allocations: 0 / 493.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000361/0.1724, allocations: 12 kB / 493.7 MB, free: 5.5 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001162/0.1736, allocations: 413.4 kB / 494.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1738, allocations: 39.92 kB / 494.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1738, allocations: 0 / 494.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.1739, allocations: 27.98 kB / 494.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1742, allocations: 28.58 kB / 494.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.175, allocations: 403.2 kB / 494.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1754, allocations: 0.7121 MB / 495.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.299e-05/0.1754, allocations: 8.812 kB / 495.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.1755, allocations: 19.42 kB / 495.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1755, allocations: 0 / 495.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of Templates: time 0.004377/0.1799, allocations: 1.489 MB / 496.8 MB, free: 2.367 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches