Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SDF_SDF.Examples.Playback.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006912/0.0006912, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009021/0.001593, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006799/0.0006799, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008533/0.001533, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.022/1.022, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1374/1.159, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003675/0.003675, allocations: 0.8384 MB / 245 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.005028, allocations: 0.6549 MB / 245.6 MB, free: 13.3 MB / 250.7 MB " [Timeout remaining time 180] Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(SDF.Examples.Playback,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SDF_SDF.Examples.Playback") translateModel(SDF.Examples.Playback,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SDF_SDF.Examples.Playback") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 246.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.493e-05, allocations: 2.312 kB / 246.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.00187/0.001885, allocations: 1.725 MB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.003674, allocations: 1.944 MB / 250.6 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.003747, allocations: 7.938 kB / 250.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.005809, allocations: 233.8 kB / 250.8 MB, free: 8.152 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.006293, allocations: 150.8 kB / 250.9 MB, free: 8.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.00648, allocations: 91.55 kB / 251 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.006645, allocations: 155.5 kB / 251.2 MB, free: 7.785 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.006735, allocations: 13.97 kB / 251.2 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.006992, allocations: 153.3 kB / 251.4 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.007051, allocations: 35.84 kB / 251.4 MB, free: 7.602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.007069, allocations: 8 kB / 251.4 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.007268, allocations: 131.7 kB / 251.5 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.008508, allocations: 2.824 MB / 254.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.008891, allocations: 0.5168 MB / 254.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.01049, allocations: 2.589 MB / 257.5 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.0105, allocations: 4 kB / 257.5 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.01051, allocations: 0 / 257.5 MB, free: 1.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.073e-05/0.01055, allocations: 0 / 257.5 MB, free: 1.5 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00359/0.01414, allocations: 4.707 MB / 262.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.01417, allocations: 8.031 kB / 262.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.01443, allocations: 228.6 kB / 262.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.01637, allocations: 2.233 MB / 264.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.01638, allocations: 4.375 kB / 264.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.0164, allocations: 384 / 264.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.01652, allocations: 77.67 kB / 264.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.01653, allocations: 7.938 kB / 264.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.01653, allocations: 0 / 264.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.01654, allocations: 4 kB / 264.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.01657, allocations: 11.92 kB / 264.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007924/0.01736, allocations: 0.5493 MB / 265.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.01748, allocations: 89.3 kB / 265.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.0175, allocations: 16.86 kB / 265.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.01751, allocations: 3.938 kB / 265.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.01762, allocations: 78.16 kB / 265.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.01762, allocations: 0 / 265.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000314/0.01793, allocations: 281.4 kB / 265.7 MB, free: 9.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.01796, allocations: 51.41 kB / 265.8 MB, free: 8.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004459/0.02242, allocations: 6.24 MB / 272 MB, free: 2.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.02244, allocations: 33.7 kB / 272.1 MB, free: 2.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004963/0.02293, allocations: 0.9599 MB / 273 MB, free: 1.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.0231, allocations: 279.6 kB / 273.3 MB, free: 1.418 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1069/0.13, allocations: 2.984 MB / 276.3 MB, free: 17.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.1301, allocations: 321.9 kB / 276.6 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003279/0.1334, allocations: 2.355 MB / 278.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003149/0.1365, allocations: 2.814 MB / 281.8 MB, free: 17.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006542/0.1431, allocations: 6.436 MB / 288.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.194e-05/0.1431, allocations: 0 / 288.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.005319/0.1484, allocations: 6.631 MB / 294.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.1485, allocations: 4 kB / 294.8 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.1485, allocations: 7.5 kB / 294.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-05/0.1485, allocations: 48 kB / 294.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/0.1526, allocations: 2.701 MB / 297.6 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.252e-05/0.1526, allocations: 52 kB / 297.6 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.1536, allocations: 247.7 kB / 297.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/0.154, allocations: 242.4 kB / 298.1 MB, free: 6.535 MB / 266.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.timeTable.combiTimeTable.nextTimeEvent,$whenCondition1,timeTable.combiTimeTable.nextTimeEventScaled,$PRE.timeTable.combiTimeTable.nextTimeEventScaled,timeTable.combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1555): * Single equations (assignments): 1555 * 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.0005792/0.1545, allocations: 0.4996 MB / 298.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.1547, allocations: 231.7 kB / 298.8 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.1549, allocations: 119.3 kB / 299 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1549, allocations: 3.938 kB / 299 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1549, allocations: 0 / 299 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1549, allocations: 4 kB / 299 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.1557, allocations: 0.9892 MB / 300 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1557, allocations: 0 / 300 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.1557, allocations: 10.62 kB / 300 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.1562, allocations: 0.6273 MB / 300.6 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1562, allocations: 4.656 kB / 300.6 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1562, allocations: 0 / 300.6 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1562, allocations: 8.438 kB / 300.6 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1562, allocations: 0.8125 kB / 300.6 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.1565, allocations: 335.3 kB / 300.9 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.1567, allocations: 8.734 kB / 300.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.157, allocations: 0 / 300.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.157, allocations: 13.22 kB / 301 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.157, allocations: 5.297 kB / 301 MB, free: 4.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001736/0.1588, allocations: 2.291 MB / 303.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1588, allocations: 0.5 kB / 303.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001218/0.16, allocations: 1.511 MB / 304.8 MB, free: 236 kB / 266.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,timeTable.combiTimeTable.nextTimeEvent,timeTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (timeTable.combiTimeTable.nextTimeEvent,timeTable.combiTimeTable.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.001404/0.1614, allocations: 0.6858 MB / 305.5 MB, free: 0 / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003719/0.1651, allocations: 4.128 MB / 309.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.439e-05/0.1652, allocations: 48 kB / 309.6 MB, free: 11.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.354e-05/0.1652, allocations: 32.83 kB / 309.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009807/0.1662, allocations: 0.618 MB / 310.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.1777, allocations: 13.09 MB / 323.4 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.1789, allocations: 1.691 MB / 325.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000863/0.1798, allocations: 477.5 kB / 325.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000739/0.1805, allocations: 471.3 kB / 326 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 1.833e-06/0.1805, allocations: 0 / 326 MB, free: 11.36 MB / 298.7 MB Notification: Performance of Templates: time 0.0594/0.2399, allocations: 37.61 MB / 363.6 MB, free: 5.816 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f SDF_SDF.Examples.Playback.makefile [Timeout 660] (rm -f SDF_SDF.Examples.Playback.pipe ; mkfifo SDF_SDF.Examples.Playback.pipe ; head -c 1048576 < SDF_SDF.Examples.Playback.pipe >> ../files/SDF_SDF.Examples.Playback.sim & ./SDF_SDF.Examples.Playback -abortSlowSimulation -alarm=240 -lv LOG_STATS > SDF_SDF.Examples.Playback.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4811527486890554]