Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001727/0.001727, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002121/0.00212, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.213/2.213, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3312/0.3312, allocations: 46.1 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 79.22 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1534, allocations: 62.45 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.005026/0.1585, allocations: 1.875 MB / 481.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.1614, allocations: 1.098 MB / 482.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1616, allocations: 0 / 482.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007044/0.1623, allocations: 299.4 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00062/0.163, allocations: 223.4 kB / 483.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.1633, allocations: 87.84 kB / 483.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.1637, allocations: 255.2 kB / 483.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.965e-05/0.1638, allocations: 13.69 kB / 483.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.164, allocations: 119.6 kB / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.1643, allocations: 184 kB / 484.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.1643, allocations: 4 kB / 484.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1645, allocations: 47.91 kB / 484.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1647, allocations: 132.5 kB / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.1649, allocations: 142.8 kB / 484.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.1653, allocations: 283.8 kB / 484.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1653, allocations: 0 / 484.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1653, allocations: 0 / 484.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1653, allocations: 4 kB / 484.7 MB, free: 0.9531 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001224/0.1666, allocations: 0.723 MB / 485.4 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.1666, allocations: 12.88 kB / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.1668, allocations: 48.28 kB / 485.5 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007719/0.1675, allocations: 451.8 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.1676, allocations: 4.375 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1676, allocations: 16.05 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.1679, allocations: 91.3 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1679, allocations: 0 / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.168, allocations: 0 / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.168, allocations: 0 / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.1681, allocations: 27.98 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.1687, allocations: 370.4 kB / 486.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.1691, allocations: 117.2 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1692, allocations: 41.64 kB / 486.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1693, allocations: 0 / 486.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003785/0.1696, allocations: 117 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.1697, allocations: 0 / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006611/0.1703, allocations: 200.9 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1704, allocations: 77.11 kB / 486.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.172, allocations: 1.022 MB / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.172, allocations: 29.7 kB / 488 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.1723, allocations: 236.1 kB / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.1723, allocations: 27.64 kB / 488.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.1724, allocations: 25.72 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.1726, allocations: 374.8 kB / 488.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1728, allocations: 27.98 kB / 488.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1729, allocations: 59.17 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.1732, allocations: 91.34 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.1732, allocations: 4 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004396/0.1736, allocations: 169.5 kB / 489 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1737, allocations: 4 kB / 489 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1737, allocations: 4 kB / 489 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1737, allocations: 4.062 kB / 489 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.1739, allocations: 23.98 kB / 489 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1739, allocations: 4 kB / 489 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.1741, allocations: 15.89 kB / 489 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1741, allocations: 4 kB / 489 MB, free: 12.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003177/0.1745, allocations: 222.5 kB / 489.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.393e-05/0.1746, allocations: 51.42 kB / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1747, allocations: 60.09 kB / 489.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1747, allocations: 4 kB / 489.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1747, allocations: 3.938 kB / 489.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1747, allocations: 0 / 489.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.1752, allocations: 353.2 kB / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1752, allocations: 0 / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.1753, allocations: 8 kB / 489.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1753, allocations: 0 / 489.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.1753, allocations: 8 kB / 489.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1753, allocations: 0 / 489.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1753, allocations: 0 / 489.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.1758, allocations: 217.1 kB / 490 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.176, allocations: 132.5 kB / 490.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.1761, allocations: 8 kB / 490.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.1762, allocations: 4 kB / 490.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.1763, allocations: 11.92 kB / 490.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.1763, allocations: 7.984 kB / 490.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00114/0.1775, allocations: 0.7682 MB / 490.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1775, allocations: 0 / 490.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004724/0.178, allocations: 40 kB / 490.9 MB, free: 10.33 MB / 366.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001424/0.1794, allocations: 403 kB / 491.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.1798, allocations: 83.89 kB / 491.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1798, allocations: 0 / 491.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.1799, allocations: 44.05 kB / 491.4 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.1806, allocations: 77.08 kB / 491.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1825, allocations: 0.9755 MB / 492.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.1831, allocations: 0.8507 MB / 493.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1832, allocations: 27.44 kB / 493.4 MB, free: 7.949 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1832, allocations: 0 / 493.4 MB, free: 7.949 MB / 366.1 MB Notification: Performance of Templates: time 0.01193/0.1951, allocations: 5.044 MB / 498.4 MB, free: 2.902 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches