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.0009754/0.0009754, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001441/0.001441, allocations: 169 kB / 23.02 MB, free: 1.547 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.9874/0.9874, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.00424/0.00424, allocations: 0.8413 MB / 260.8 MB, free: 12.25 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.283e-06/1.283e-06, allocations: 0 / 330.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.516e-05, allocations: 2.312 kB / 330.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.001942/0.001957, allocations: 1.676 MB / 332.2 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.003687, allocations: 1.905 MB / 334.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.003774, allocations: 0 / 334.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.005422, allocations: 243 kB / 334.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.005825, allocations: 159 kB / 334.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.005976, allocations: 79.66 kB / 334.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.006118, allocations: 167.4 kB / 334.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.006204, allocations: 17.3 kB / 334.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.006406, allocations: 118.2 kB / 334.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.006454, allocations: 31.92 kB / 334.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.006472, allocations: 8 kB / 334.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.006608, allocations: 131.6 kB / 335.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000896/0.007504, allocations: 2.828 MB / 337.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.007884, allocations: 0.7821 MB / 338.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.009107, allocations: 2.605 MB / 341.3 MB, free: 8.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.009109, allocations: 0 / 341.3 MB, free: 8.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.009111, allocations: 4 kB / 341.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.009131, allocations: 0 / 341.3 MB, free: 8.262 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.003119/0.01225, allocations: 4.867 MB / 346.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.01229, allocations: 8.75 kB / 346.2 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/0.01255, allocations: 473.7 kB / 346.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.01428, allocations: 2.028 MB / 348.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.0143, allocations: 384 / 348.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.01431, allocations: 8.375 kB / 348.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.01442, allocations: 62.94 kB / 348.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.01443, allocations: 3.938 kB / 348.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.01444, allocations: 0 / 348.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.01444, allocations: 4 kB / 348.7 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.01449, allocations: 19.97 kB / 348.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.01715, allocations: 2.841 MB / 351.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.01727, allocations: 55.05 kB / 351.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.0173, allocations: 27.67 kB / 351.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.01731, allocations: 0 / 351.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.51e-05/0.0174, allocations: 72.98 kB / 351.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.01741, allocations: 0 / 351.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004639/0.01787, allocations: 0.5375 MB / 352.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.0179, allocations: 63.41 kB / 352.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00609/0.02399, allocations: 7.684 MB / 360 MB, free: 5.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.02401, allocations: 29.64 kB / 360.1 MB, free: 5.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008848/0.02489, allocations: 1.343 MB / 361.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.02504, allocations: 283.6 kB / 361.7 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002762/0.0278, allocations: 3.676 MB / 365.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.0279, allocations: 0.4887 MB / 365.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/0.03023, allocations: 2.316 MB / 368.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003316/0.03354, allocations: 3.518 MB / 371.7 MB, free: 9.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/0.03726, allocations: 3.988 MB / 375.7 MB, free: 5.445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.03728, allocations: 3.938 kB / 375.7 MB, free: 5.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.007264/0.04454, allocations: 8.145 MB / 383.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.04458, allocations: 4 kB / 383.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.0446, allocations: 4 kB / 383.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-05/0.04464, allocations: 48 kB / 383.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003956/0.0486, allocations: 2.372 MB / 386.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.143e-05/0.04866, allocations: 48 kB / 386.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.04969, allocations: 251.9 kB / 386.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/0.05001, allocations: 344 kB / 386.9 MB, free: 10.15 MB / 314.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.0006595/0.05067, allocations: 0.5412 MB / 387.4 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.05099, allocations: 472.8 kB / 387.9 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.05126, allocations: 160.8 kB / 388 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.05126, allocations: 0 / 388 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.05126, allocations: 0 / 388 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.05127, allocations: 3.984 kB / 388 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.05317, allocations: 2.232 MB / 390.3 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.05317, allocations: 3.938 kB / 390.3 MB, free: 6.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.0532, allocations: 8 kB / 390.3 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.0532, allocations: 0 / 390.3 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.05321, allocations: 12.23 kB / 390.3 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.05321, allocations: 8 kB / 390.3 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.05322, allocations: 0 / 390.3 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.05363, allocations: 0.6177 MB / 390.9 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008921/0.05452, allocations: 0.8129 MB / 391.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.05471, allocations: 4 kB / 391.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.05498, allocations: 4 kB / 391.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.05502, allocations: 11.92 kB / 391.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.05503, allocations: 4 kB / 391.8 MB, free: 5.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002678/0.0577, allocations: 2.486 MB / 394.2 MB, free: 2.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.0577, allocations: 0 / 394.2 MB, free: 2.684 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001441/0.05915, allocations: 1.512 MB / 395.7 MB, free: 1.172 MB / 314.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.001067/0.06021, allocations: 487.8 kB / 396.2 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0041/0.06431, allocations: 4.73 MB / 401 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.06431, allocations: 4.062 kB / 401 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.06436, allocations: 31.61 kB / 401 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.06508, allocations: 169.5 kB / 401.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1112/0.1762, allocations: 13.09 MB / 414.2 MB, free: 80.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.1776, allocations: 1.693 MB / 415.9 MB, free: 80.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001026/0.1786, allocations: 0.6856 MB / 416.6 MB, free: 80.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.1792, allocations: 217.8 kB / 416.8 MB, free: 80.33 MB / 330.7 MB Notification: Performance of SimCode: time 1.001e-06/0.1792, allocations: 0 / 416.8 MB, free: 80.33 MB / 330.7 MB Notification: Performance of Templates: time 0.04811/0.2273, allocations: 34.7 MB / 451.5 MB, free: 50.81 MB / 330.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.7095235716551542]