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.001352/0.001352, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001738/0.001738, allocations: 165 kB / 24.22 MB, free: 244 kB / 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.944/0.944, allocations: 177.2 MB / 204.7 MB, free: 5.004 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.003751/0.003751, allocations: 0.8446 MB / 262 MB, free: 11.91 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.423e-06/1.423e-06, allocations: 3.938 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.015e-05, allocations: 2.312 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.002267/0.002287, allocations: 1.72 MB / 280.5 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.003938, allocations: 1.917 MB / 282.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.004002, allocations: 0 / 282.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.00598, allocations: 233.9 kB / 282.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.006392, allocations: 143.9 kB / 282.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.006512, allocations: 91.53 kB / 282.9 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.006674, allocations: 155.5 kB / 283 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.187e-05/0.006756, allocations: 25.94 kB / 283 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.006963, allocations: 111.8 kB / 283.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.007046, allocations: 35.89 kB / 283.2 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.00706, allocations: 4 kB / 283.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.007217, allocations: 127.8 kB / 283.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.008588, allocations: 2.832 MB / 286.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004595/0.009048, allocations: 0.7821 MB / 286.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.01052, allocations: 2.609 MB / 289.5 MB, free: 424 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01052, allocations: 0 / 289.5 MB, free: 424 kB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01052, allocations: 0 / 289.5 MB, free: 424 kB / 266.7 MB Notification: Performance of Transformations before backend: time 5.748e-05/0.01058, allocations: 0 / 289.5 MB, free: 424 kB / 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.1111/0.1216, allocations: 4.208 MB / 293.7 MB, free: 21.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1217, allocations: 10.09 kB / 293.7 MB, free: 21.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005274/0.1222, allocations: 227.7 kB / 294 MB, free: 21.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.1244, allocations: 2.237 MB / 296.2 MB, free: 20.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1244, allocations: 1.984 kB / 296.2 MB, free: 20.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1245, allocations: 3.375 kB / 296.2 MB, free: 20.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1246, allocations: 68.83 kB / 296.3 MB, free: 20.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1246, allocations: 0 / 296.3 MB, free: 20.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1246, allocations: 6 kB / 296.3 MB, free: 20.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1246, allocations: 1.469 kB / 296.3 MB, free: 20.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.1246, allocations: 12.53 kB / 296.3 MB, free: 20.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.1256, allocations: 0.5549 MB / 296.9 MB, free: 20.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1257, allocations: 88.83 kB / 296.9 MB, free: 20.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.1257, allocations: 11.42 kB / 296.9 MB, free: 20.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.1257, allocations: 8.844 kB / 297 MB, free: 20.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.585e-05/0.1258, allocations: 72.08 kB / 297 MB, free: 20.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1258, allocations: 0 / 297 MB, free: 20.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004274/0.1262, allocations: 280.1 kB / 297.3 MB, free: 20.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.1263, allocations: 57 kB / 297.4 MB, free: 20.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005831/0.1321, allocations: 6.241 MB / 303.6 MB, free: 18.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1321, allocations: 26.95 kB / 303.6 MB, free: 18.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/0.1326, allocations: 0.9629 MB / 304.6 MB, free: 17.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.1328, allocations: 288.6 kB / 304.9 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001825/0.1346, allocations: 2.985 MB / 307.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.544e-05/0.1347, allocations: 318.4 kB / 308.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.1364, allocations: 2.357 MB / 310.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.1382, allocations: 2.81 MB / 313.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.141, allocations: 4.181 MB / 317.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/0.141, allocations: 5.156 kB / 317.5 MB, free: 5.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.00483/0.1458, allocations: 6.623 MB / 324.1 MB, free: 15.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.1459, allocations: 12.5 kB / 324.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.1459, allocations: 0 / 324.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.064e-05/0.1459, allocations: 48.66 kB / 324.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/0.1498, allocations: 2.517 MB / 326.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.604e-05/0.1499, allocations: 52.47 kB / 326.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.1516, allocations: 252 kB / 327 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/0.1519, allocations: 244.8 kB / 327.3 MB, free: 12.16 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.0006477/0.1526, allocations: 0.4967 MB / 327.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.1529, allocations: 231.6 kB / 328 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1531, allocations: 127.8 kB / 328.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1531, allocations: 0 / 328.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1531, allocations: 0.875 kB / 328.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1531, allocations: 0.9375 kB / 328.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1542, allocations: 0.9833 MB / 329.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1542, allocations: 5.625 kB / 329.1 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.1543, allocations: 11.98 kB / 329.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1543, allocations: 4 kB / 329.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1543, allocations: 2.75 kB / 329.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1543, allocations: 4.906 kB / 329.1 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1543, allocations: 3.938 kB / 329.1 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1546, allocations: 335.8 kB / 329.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.1551, allocations: 0.6254 MB / 330.1 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.1553, allocations: 10.62 kB / 330.1 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.1556, allocations: 3.938 kB / 330.1 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.1556, allocations: 8.875 kB / 330.1 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1556, allocations: 2.516 kB / 330.1 MB, free: 9.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001957/0.1576, allocations: 2.298 MB / 332.4 MB, free: 7.023 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1576, allocations: 0 / 332.4 MB, free: 7.023 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001613/0.1592, allocations: 1.5 MB / 333.9 MB, free: 5.523 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.001275/0.1605, allocations: 0.6252 MB / 334.5 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.1639, allocations: 3.994 MB / 338.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.942e-05/0.164, allocations: 52 kB / 338.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.164, allocations: 16.86 kB / 338.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.1651, allocations: 178.1 kB / 338.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.177, allocations: 13.1 MB / 351.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.1787, allocations: 1.691 MB / 353.5 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001036/0.1797, allocations: 474.8 kB / 354 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008334/0.1805, allocations: 475.3 kB / 354.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1805, allocations: 0 / 354.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of Templates: time 0.06352/0.2441, allocations: 37.1 MB / 391.6 MB, free: 12.14 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.4351039957255125]