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.001001/0.001001, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.000946/0.000946, allocations: 173.9 kB / 23.21 MB, free: 1.324 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.9006/0.9006, allocations: 177.1 MB / 203.5 MB, free: 5.668 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.004075/0.004075, allocations: 0.8307 MB / 260.8 MB, free: 12.46 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.052e-06/1.052e-06, allocations: 0 / 382.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.507e-05, allocations: 2.281 kB / 382.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.001726/0.001741, allocations: 1.621 MB / 384.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.003202, allocations: 1.839 MB / 386.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.003264, allocations: 4 kB / 386.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.004681, allocations: 197.8 kB / 386.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.005045, allocations: 143.8 kB / 386.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.005158, allocations: 79.61 kB / 386.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.005299, allocations: 167.4 kB / 386.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.005384, allocations: 17.25 kB / 386.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.005469, allocations: 71.83 kB / 386.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.005524, allocations: 43.83 kB / 387 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.00554, allocations: 8 kB / 387 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.005671, allocations: 119.8 kB / 387.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.006989, allocations: 2.839 MB / 389.9 MB, free: 7.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004461/0.007436, allocations: 0.7782 MB / 390.7 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.009209, allocations: 3.564 MB / 394.3 MB, free: 3.305 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.009211, allocations: 3.938 kB / 394.3 MB, free: 3.301 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.009212, allocations: 0 / 394.3 MB, free: 3.301 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.009229, allocations: 3.938 kB / 394.3 MB, free: 3.297 MB / 314.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.003619/0.01285, allocations: 4.647 MB / 398.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.01288, allocations: 8.75 kB / 398.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.01317, allocations: 473.7 kB / 399.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/0.01689, allocations: 4.504 MB / 403.9 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.01691, allocations: 12.31 kB / 403.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.01692, allocations: 384 / 403.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.01704, allocations: 74.22 kB / 404 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.01705, allocations: 3.938 kB / 404 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.01706, allocations: 0 / 404 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.01706, allocations: 0 / 404 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.876e-05/0.01713, allocations: 43.91 kB / 404 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.01997, allocations: 3.488 MB / 407.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.02011, allocations: 78.47 kB / 407.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.02014, allocations: 24.86 kB / 407.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.02016, allocations: 7.984 kB / 407.6 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.02026, allocations: 79.38 kB / 407.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.02026, allocations: 0 / 407.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005424/0.02081, allocations: 0.5726 MB / 408.3 MB, free: 5.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.02084, allocations: 51.41 kB / 408.3 MB, free: 5.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1318/0.1527, allocations: 16.23 MB / 424.6 MB, free: 31.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1527, allocations: 31.64 kB / 424.6 MB, free: 31.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.1533, allocations: 1.016 MB / 425.6 MB, free: 30.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.1534, allocations: 289.2 kB / 425.9 MB, free: 30.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002163/0.1556, allocations: 3.36 MB / 429.2 MB, free: 29.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.261e-05/0.1556, allocations: 319.8 kB / 429.6 MB, free: 28.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005007/0.1606, allocations: 9.399 MB / 439 MB, free: 23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005254/0.1659, allocations: 10.29 MB / 449.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005665/0.1716, allocations: 10.87 MB / 460.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.1716, allocations: 3.75 kB / 460.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.01513/0.1867, allocations: 21.79 MB / 481.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.1867, allocations: 8 kB / 481.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.1868, allocations: 0 / 481.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.587e-05/0.1868, allocations: 48 kB / 482 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003631/0.1904, allocations: 2.372 MB / 484.3 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.197e-05/0.1905, allocations: 51.98 kB / 484.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.1918, allocations: 248.9 kB / 484.6 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.1921, allocations: 341.6 kB / 485 MB, free: 8.816 MB / 362.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.001676/0.1938, allocations: 2.641 MB / 487.6 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.1941, allocations: 476.7 kB / 488.1 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.1944, allocations: 179.1 kB / 488.2 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1944, allocations: 3.938 kB / 488.2 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1944, allocations: 5.156 kB / 488.2 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1944, allocations: 4 kB / 488.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1957, allocations: 1.726 MB / 490 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1957, allocations: 0 / 490 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.1957, allocations: 11.98 kB / 490 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1957, allocations: 0.875 kB / 490 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1957, allocations: 0 / 490 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1957, allocations: 0 / 490 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1957, allocations: 7.469 kB / 490 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.1961, allocations: 0.6198 MB / 490.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009766/0.1971, allocations: 0.9106 MB / 491.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.1973, allocations: 4 kB / 491.5 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.1976, allocations: 4 kB / 491.5 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1976, allocations: 10.33 kB / 491.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1976, allocations: 4 kB / 491.5 MB, free: 2.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005176/0.2028, allocations: 7.285 MB / 498.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2028, allocations: 0 / 498.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001219/0.204, allocations: 1.513 MB / 0.4886 GB, free: 9.363 MB / 378.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.001068/0.2051, allocations: 0.5258 MB / 0.4891 GB, free: 9.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00729/0.2124, allocations: 10.9 MB / 0.4998 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2124, allocations: 0 / 0.4998 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.046e-05/0.2124, allocations: 36.05 kB / 0.4998 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.2132, allocations: 159.1 kB / 0.5 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007569/0.2208, allocations: 11.77 MB / 0.5115 GB, free: 2.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.2222, allocations: 2.083 MB / 0.5135 GB, free: 84 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.2225, allocations: 224.5 kB / 0.5137 GB, free: 15.86 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2225, allocations: 0 / 0.5137 GB, free: 15.86 MB / 410.7 MB Notification: Performance of Templates: time 0.2601/0.4826, allocations: 196.8 MB / 0.7059 GB, free: 39.68 MB / 458.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 > SDF_SDF.Examples.Playback.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.016186610329896]