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.0009092/0.0009092, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001686/0.001686, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9545/0.9545, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.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.005247/0.005247, allocations: 0.8346 MB / 261.1 MB, free: 12.12 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.533e-06/1.533e-06, allocations: 0 / 277.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.81e-05, allocations: 6.25 kB / 277.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.001906/0.001924, allocations: 1.669 MB / 279.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.003599, allocations: 1.916 MB / 281.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.003669, allocations: 8 kB / 281.4 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.005972, allocations: 240.2 kB / 281.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.006392, allocations: 150.4 kB / 281.7 MB, free: 7.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.006552, allocations: 83.61 kB / 281.8 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.006704, allocations: 163.5 kB / 282 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.006783, allocations: 13.95 kB / 282 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.006992, allocations: 110.5 kB / 282.1 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.007046, allocations: 43.83 kB / 282.1 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.00706, allocations: 8 kB / 282.1 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.007205, allocations: 119.8 kB / 282.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.008415, allocations: 2.835 MB / 285.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.008907, allocations: 0.7783 MB / 285.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.01042, allocations: 2.605 MB / 288.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01042, allocations: 0 / 288.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01043, allocations: 0 / 288.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.735e-05/0.01048, allocations: 0 / 288.5 MB, free: 0.7617 MB / 266.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.1101/0.1205, allocations: 4.206 MB / 292.7 MB, free: 22.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1206, allocations: 11.34 kB / 292.7 MB, free: 22.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.1211, allocations: 228.5 kB / 292.9 MB, free: 22.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.1234, allocations: 2.232 MB / 295.2 MB, free: 21.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1234, allocations: 5.625 kB / 295.2 MB, free: 21.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1234, allocations: 3.844 kB / 295.2 MB, free: 21.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1235, allocations: 69.78 kB / 295.2 MB, free: 21.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1235, allocations: 1.422 kB / 295.2 MB, free: 21.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.1235, allocations: 5.594 kB / 295.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.1235, allocations: 1.969 kB / 295.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.441e-05/0.1236, allocations: 14.59 kB / 295.3 MB, free: 21.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.1246, allocations: 0.5495 MB / 295.8 MB, free: 20.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.1247, allocations: 92.27 kB / 295.9 MB, free: 20.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.1247, allocations: 14.03 kB / 295.9 MB, free: 20.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1247, allocations: 1.906 kB / 295.9 MB, free: 20.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.492e-05/0.1248, allocations: 72.44 kB / 296 MB, free: 20.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.1248, allocations: 2.703 kB / 296 MB, free: 20.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003652/0.1252, allocations: 277.5 kB / 296.3 MB, free: 20.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.1252, allocations: 53.77 kB / 296.3 MB, free: 20.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005253/0.1305, allocations: 6.242 MB / 302.6 MB, free: 18.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1305, allocations: 27.39 kB / 302.6 MB, free: 18.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.1309, allocations: 0.9625 MB / 303.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.131, allocations: 287.3 kB / 303.8 MB, free: 18.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001725/0.1327, allocations: 2.988 MB / 306.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.168e-05/0.1328, allocations: 318 kB / 307.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.1345, allocations: 2.361 MB / 309.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.1363, allocations: 2.806 MB / 312.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.139, allocations: 4.186 MB / 316.5 MB, free: 6.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/0.139, allocations: 0 / 316.5 MB, free: 6.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.004667/0.1436, allocations: 6.623 MB / 323.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.1437, allocations: 9.031 kB / 323.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.1437, allocations: 0 / 323.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.6e-05/0.1437, allocations: 51.47 kB / 323.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/0.1475, allocations: 2.376 MB / 325.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.866e-05/0.1476, allocations: 48 kB / 325.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.1491, allocations: 251.9 kB / 325.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002771/0.1494, allocations: 244.8 kB / 326.1 MB, free: 12.59 MB / 282.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.0006259/0.15, allocations: 0.4967 MB / 326.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.1502, allocations: 235.6 kB / 326.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.1504, allocations: 117 kB / 326.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1504, allocations: 6.781 kB / 326.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1504, allocations: 7.109 kB / 326.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1505, allocations: 1.594 kB / 326.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1515, allocations: 0.9911 MB / 327.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1515, allocations: 0 / 327.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.1516, allocations: 8 kB / 327.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1516, allocations: 0 / 327.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1516, allocations: 11.23 kB / 327.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1516, allocations: 3.938 kB / 327.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1516, allocations: 0 / 327.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.1519, allocations: 335.3 kB / 328.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006396/0.1525, allocations: 0.6332 MB / 328.9 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.1527, allocations: 4 kB / 328.9 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.153, allocations: 3.938 kB / 328.9 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.153, allocations: 11.98 kB / 328.9 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1531, allocations: 2.312 kB / 328.9 MB, free: 9.742 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002326/0.1554, allocations: 2.294 MB / 331.2 MB, free: 7.445 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1554, allocations: 0 / 331.2 MB, free: 7.445 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001472/0.1569, allocations: 1.508 MB / 332.7 MB, free: 5.938 MB / 282.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.001225/0.1581, allocations: 0.6249 MB / 333.3 MB, free: 5.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003501/0.1616, allocations: 3.994 MB / 337.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-05/0.1616, allocations: 52 kB / 337.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.1616, allocations: 17.36 kB / 337.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.1624, allocations: 180.3 kB / 337.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.173, allocations: 13.08 MB / 350.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.1744, allocations: 1.691 MB / 352.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006267/0.1751, allocations: 478.8 kB / 352.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.1757, allocations: 471.3 kB / 353.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1757, allocations: 0 / 353.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of Templates: time 0.05424/0.2299, allocations: 37.11 MB / 390.4 MB, free: 12.57 MB / 346.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.39930561138317]