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.0009673/0.0009673, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001016/0.001016, allocations: 173 kB / 24.06 MB, free: 452 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.9749/0.9749, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.006363/0.006363, allocations: 0.8395 MB / 261.9 MB, free: 12.08 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 / 331.8 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.854e-05, allocations: 8.641 kB / 331.8 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.002152/0.002171, allocations: 1.673 MB / 333.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.004045, allocations: 1.886 MB / 335.4 MB, free: 140 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.159e-05/0.004127, allocations: 0 / 335.4 MB, free: 140 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.005653, allocations: 243 kB / 335.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.006081, allocations: 144.7 kB / 335.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.006236, allocations: 87.61 kB / 335.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.0064, allocations: 159.5 kB / 336 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.006497, allocations: 13.3 kB / 336 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.006725, allocations: 123.8 kB / 336.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.006785, allocations: 35.84 kB / 336.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.006804, allocations: 8 kB / 336.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.00696, allocations: 127.7 kB / 336.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.008267, allocations: 2.832 MB / 339.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005247/0.008792, allocations: 0.7783 MB / 339.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.01059, allocations: 2.613 MB / 342.5 MB, free: 9.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.01059, allocations: 0 / 342.5 MB, free: 9.039 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01059, allocations: 0 / 342.5 MB, free: 9.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.01062, allocations: 0 / 342.5 MB, free: 9.039 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.003686/0.01431, allocations: 4.729 MB / 347.2 MB, free: 4.238 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.01434, allocations: 8.75 kB / 347.2 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.01468, allocations: 473.7 kB / 347.7 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.01628, allocations: 1.828 MB / 349.5 MB, free: 1.875 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.0163, allocations: 4.375 kB / 349.5 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.01631, allocations: 4.375 kB / 349.5 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.01641, allocations: 66.92 kB / 349.6 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.01642, allocations: 3.938 kB / 349.6 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.01643, allocations: 0 / 349.6 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.01643, allocations: 4 kB / 349.6 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.559e-05/0.01647, allocations: 23.91 kB / 349.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.01828, allocations: 1.728 MB / 351.4 MB, free: 0 / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.01839, allocations: 51.09 kB / 351.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.01842, allocations: 15.69 kB / 351.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.01843, allocations: 3.938 kB / 351.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.01854, allocations: 80.97 kB / 351.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.01854, allocations: 3.938 kB / 351.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000452/0.019, allocations: 0.5453 MB / 352.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.01903, allocations: 51.41 kB / 352.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006021/0.02505, allocations: 7.426 MB / 359.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.02506, allocations: 25.7 kB / 359.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008734/0.02593, allocations: 1.396 MB / 361 MB, free: 6.297 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.02608, allocations: 283.6 kB / 361.2 MB, free: 6.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002926/0.02901, allocations: 3.783 MB / 365 MB, free: 2.207 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000356/0.02937, allocations: 0.4887 MB / 365.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.03121, allocations: 1.941 MB / 367.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/0.03401, allocations: 3.189 MB / 370.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/0.03719, allocations: 3.648 MB / 374.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.0372, allocations: 0 / 374.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.006213/0.04342, allocations: 7.387 MB / 381.7 MB, free: 1.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.04345, allocations: 8 kB / 381.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.04347, allocations: 0 / 381.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/0.04351, allocations: 48 kB / 381.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003671/0.04718, allocations: 2.379 MB / 384.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.972e-05/0.04725, allocations: 52.03 kB / 384.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.04833, allocations: 247.9 kB / 384.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000292/0.04862, allocations: 248 kB / 384.6 MB, free: 14.38 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.0006177/0.04924, allocations: 0.5335 MB / 385.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.04955, allocations: 480.7 kB / 385.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.04977, allocations: 148.9 kB / 385.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.04978, allocations: 4 kB / 385.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.04978, allocations: 0 / 385.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.04978, allocations: 0 / 385.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.05115, allocations: 1.417 MB / 387.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.05115, allocations: 4 kB / 387.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.05118, allocations: 8 kB / 387.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.05118, allocations: 0 / 387.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.05119, allocations: 7.922 kB / 387.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.05119, allocations: 4 kB / 387.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.0512, allocations: 0 / 387.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.0519, allocations: 0.6138 MB / 387.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006102/0.05251, allocations: 0.6216 MB / 388.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.05272, allocations: 16.12 kB / 388.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.053, allocations: 4 kB / 388.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.05303, allocations: 11.98 kB / 388.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.05304, allocations: 4 kB / 388.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002099/0.05513, allocations: 2.333 MB / 390.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05513, allocations: 0 / 390.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001406/0.05654, allocations: 1.512 MB / 392.4 MB, free: 6.578 MB / 362.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.001047/0.05759, allocations: 491.7 kB / 392.8 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003847/0.06143, allocations: 4.378 MB / 397.2 MB, free: 1.875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.06144, allocations: 0 / 397.2 MB, free: 1.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.06148, allocations: 27.67 kB / 397.2 MB, free: 1.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.06221, allocations: 176 kB / 397.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.07454, allocations: 13.08 MB / 410.5 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.07581, allocations: 1.687 MB / 412.2 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000903/0.07671, allocations: 478.7 kB / 412.6 MB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006287/0.07734, allocations: 494.2 kB / 413.1 MB, free: 1.797 MB / 378.7 MB Notification: Performance of SimCode: time 2.034e-06/0.07734, allocations: 0 / 413.1 MB, free: 1.797 MB / 378.7 MB Notification: Performance of Templates: time 0.1821/0.2595, allocations: 38.18 MB / 451.3 MB, free: 141.5 MB / 410.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.8727358472533524]