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.001146/0.001146, 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.001251/0.001251, 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.9055/0.9055, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.00981/0.00981, allocations: 0.8307 MB / 261.1 MB, free: 12.14 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.022e-06/1.022e-06, allocations: 0 / 277.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.188e-05, allocations: 6.25 kB / 277.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.001867/0.001879, allocations: 1.72 MB / 279.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.003506, allocations: 1.917 MB / 281.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.003567, allocations: 0 / 281.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.005946, allocations: 232.8 kB / 281.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.006338, allocations: 153.3 kB / 281.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.006456, allocations: 87.61 kB / 281.9 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.006597, allocations: 159.5 kB / 282.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.08e-05/0.006667, allocations: 17.94 kB / 282.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.006875, allocations: 110.2 kB / 282.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.006924, allocations: 39.78 kB / 282.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.006938, allocations: 8 kB / 282.2 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.007081, allocations: 123.8 kB / 282.3 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.008352, allocations: 2.832 MB / 285.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005868/0.008939, allocations: 0.786 MB / 286 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.01035, allocations: 2.605 MB / 288.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01036, allocations: 11.92 kB / 288.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01036, allocations: 0 / 288.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.01037, allocations: 0 / 288.6 MB, free: 0.6758 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.1027/0.113, allocations: 4.197 MB / 292.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1131, allocations: 10.55 kB / 292.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/0.1136, allocations: 227.9 kB / 293 MB, free: 22.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.1157, allocations: 2.233 MB / 295.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1157, allocations: 1.344 kB / 295.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.1157, allocations: 7.344 kB / 295.3 MB, free: 21.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.1158, allocations: 68.42 kB / 295.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1158, allocations: 1.188 kB / 295.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1158, allocations: 9.281 kB / 295.3 MB, free: 21.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1159, allocations: 1.609 kB / 295.3 MB, free: 21.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.222e-05/0.1159, allocations: 12.45 kB / 295.3 MB, free: 21.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.1171, allocations: 0.5526 MB / 295.9 MB, free: 20.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.585e-05/0.1172, allocations: 83.33 kB / 296 MB, free: 20.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.1172, allocations: 17 kB / 296 MB, free: 20.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.1173, allocations: 5.859 kB / 296 MB, free: 20.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.173e-05/0.1173, allocations: 68.75 kB / 296.1 MB, free: 20.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1173, allocations: 0.625 kB / 296.1 MB, free: 20.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000356/0.1177, allocations: 286.9 kB / 296.3 MB, free: 20.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.1177, allocations: 52.81 kB / 296.4 MB, free: 20.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004818/0.1225, allocations: 6.241 MB / 302.6 MB, free: 18.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1225, allocations: 27.44 kB / 302.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.1229, allocations: 0.9626 MB / 303.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.1231, allocations: 288.7 kB / 303.9 MB, free: 18.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001777/0.1248, allocations: 2.985 MB / 306.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.873e-05/0.1249, allocations: 321.9 kB / 307.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.1266, allocations: 2.36 MB / 309.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.1284, allocations: 2.807 MB / 312.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.1313, allocations: 4.182 MB / 316.6 MB, free: 6.004 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/0.1313, allocations: 1.125 kB / 316.6 MB, free: 6.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.00465/0.1359, allocations: 6.627 MB / 323.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.136, allocations: 8.438 kB / 323.2 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.136, allocations: 0 / 323.2 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.267e-05/0.136, allocations: 52.94 kB / 323.2 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004102/0.1401, allocations: 2.513 MB / 325.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.345e-05/0.1402, allocations: 48.81 kB / 325.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.1415, allocations: 252.6 kB / 326.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.1418, allocations: 249.4 kB / 326.3 MB, free: 12.36 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.0005914/0.1424, allocations: 0.4936 MB / 326.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.1426, allocations: 231.6 kB / 327 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.1428, allocations: 117 kB / 327.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1428, allocations: 0 / 327.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.1428, allocations: 5.578 kB / 327.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1428, allocations: 8.484 kB / 327.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009912/0.1438, allocations: 0.9918 MB / 328.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1438, allocations: 0 / 328.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.1438, allocations: 8 kB / 328.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1438, allocations: 0 / 328.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.1438, allocations: 3.984 kB / 328.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1438, allocations: 3.938 kB / 328.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1438, allocations: 4.562 kB / 328.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.1441, allocations: 338.5 kB / 328.5 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.1447, allocations: 0.6293 MB / 329.1 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.1449, allocations: 0 / 329.1 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.1452, allocations: 7.938 kB / 329.1 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.1452, allocations: 15.61 kB / 329.1 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1452, allocations: 4 kB / 329.1 MB, free: 9.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002313/0.1476, allocations: 2.291 MB / 331.4 MB, free: 7.215 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1476, allocations: 0 / 331.4 MB, free: 7.215 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001275/0.1488, allocations: 1.508 MB / 332.9 MB, free: 5.707 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.001212/0.15, allocations: 0.6258 MB / 333.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003309/0.1533, allocations: 3.99 MB / 337.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-05/0.1534, allocations: 49.42 kB / 337.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.454e-05/0.1534, allocations: 28.78 kB / 337.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.1541, allocations: 175 kB / 337.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.164, allocations: 13.08 MB / 350.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.1654, allocations: 1.683 MB / 352.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004747/0.1659, allocations: 483 kB / 353 MB, free: 1.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/0.1665, allocations: 471.3 kB / 353.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1665, allocations: 0 / 353.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of Templates: time 0.05161/0.2181, allocations: 37.1 MB / 390.6 MB, free: 12.36 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SDF_SDF.Examples.Playback.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.202242256142199]