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.0008872/0.0008872, allocations: 92.2 kB / 20.43 MB, free: 4.133 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.00108/0.00108, allocations: 173 kB / 23.81 MB, free: 0.7617 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.9255/0.9255, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.003954/0.003954, allocations: 0.8316 MB / 261.6 MB, free: 12.27 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.402e-06/1.402e-06, allocations: 0 / 330.5 MB, free: 19.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.222e-05, allocations: 4.703 kB / 330.5 MB, free: 19.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.001982/0.002004, allocations: 1.661 MB / 332.2 MB, free: 18.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.003475, allocations: 1.909 MB / 334.1 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.003543, allocations: 0 / 334.1 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.005202, allocations: 250.2 kB / 334.4 MB, free: 16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.005633, allocations: 155.9 kB / 334.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.005794, allocations: 83.66 kB / 334.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.005941, allocations: 163.4 kB / 334.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.006051, allocations: 17.3 kB / 334.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.006256, allocations: 111.4 kB / 334.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.006308, allocations: 31.91 kB / 334.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.006327, allocations: 8 kB / 334.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.006469, allocations: 127.6 kB / 335 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008476/0.007316, allocations: 2.828 MB / 337.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.007696, allocations: 0.7782 MB / 338.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.008983, allocations: 2.613 MB / 341.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.008987, allocations: 0 / 341.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.008989, allocations: 0 / 341.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.009012, allocations: 0 / 341.3 MB, free: 9.09 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.002972/0.01198, allocations: 4.867 MB / 346.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.01202, allocations: 8.75 kB / 346.1 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.0123, allocations: 481.6 kB / 346.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.01397, allocations: 2.02 MB / 348.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.01399, allocations: 4.375 kB / 348.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.014, allocations: 384 / 348.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.01414, allocations: 66.94 kB / 348.7 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.01415, allocations: 7.938 kB / 348.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.01416, allocations: 4 kB / 348.7 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.01417, allocations: 3.984 kB / 348.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.01422, allocations: 23.95 kB / 348.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.01676, allocations: 2.833 MB / 351.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.01692, allocations: 55.05 kB / 351.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.479e-05/0.01695, allocations: 19.67 kB / 351.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.01697, allocations: 4 kB / 351.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.01708, allocations: 80.98 kB / 351.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.01708, allocations: 0 / 351.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005136/0.0176, allocations: 0.5414 MB / 352.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.01763, allocations: 51.41 kB / 352.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007388/0.02502, allocations: 7.691 MB / 360 MB, free: 6.066 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.02505, allocations: 25.7 kB / 360 MB, free: 6.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009379/0.02599, allocations: 1.346 MB / 361.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.02614, allocations: 283.6 kB / 361.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002835/0.02898, allocations: 3.68 MB / 365.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.0291, allocations: 0.4887 MB / 365.8 MB, free: 204 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002463/0.03156, allocations: 2.32 MB / 368.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.03485, allocations: 3.518 MB / 371.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004201/0.03905, allocations: 3.977 MB / 375.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.778e-05/0.03908, allocations: 3.938 kB / 375.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.00815/0.04723, allocations: 8.149 MB / 383.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.04727, allocations: 8 kB / 383.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.0473, allocations: 0 / 383.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-05/0.04735, allocations: 48 kB / 383.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/0.05149, allocations: 2.372 MB / 386.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001046/0.0516, allocations: 52.03 kB / 386.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.05289, allocations: 252 kB / 386.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/0.05324, allocations: 340 kB / 386.8 MB, free: 10.97 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.0006447/0.05389, allocations: 0.5412 MB / 387.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.05423, allocations: 472.8 kB / 387.8 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.05451, allocations: 164.8 kB / 388 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.05452, allocations: 0 / 388 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.05452, allocations: 0 / 388 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.05452, allocations: 4 kB / 388 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.05637, allocations: 2.228 MB / 390.2 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.05638, allocations: 7.938 kB / 390.2 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.05641, allocations: 8 kB / 390.3 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.05642, allocations: 0 / 390.3 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.05643, allocations: 12.23 kB / 390.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.05644, allocations: 4 kB / 390.3 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.05644, allocations: 0 / 390.3 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.05688, allocations: 0.6138 MB / 390.9 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000826/0.05771, allocations: 0.8207 MB / 391.7 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.05792, allocations: 3.938 kB / 391.7 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.05819, allocations: 4 kB / 391.7 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.05823, allocations: 11.98 kB / 391.7 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.05824, allocations: 7.938 kB / 391.7 MB, free: 5.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002747/0.06099, allocations: 2.49 MB / 394.2 MB, free: 3.492 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.06099, allocations: 0 / 394.2 MB, free: 3.492 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001622/0.06261, allocations: 1.5 MB / 395.7 MB, free: 1.992 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.001036/0.06365, allocations: 493.4 kB / 396.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004452/0.0681, allocations: 4.722 MB / 400.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.0681, allocations: 0 / 400.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/0.06816, allocations: 35.61 kB / 401 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.06914, allocations: 179.2 kB / 401.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.07495, allocations: 7.4 MB / 408.5 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.0763, allocations: 1.899 MB / 410.4 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/0.07679, allocations: 224.5 kB / 410.7 MB, free: 3.105 MB / 330.7 MB Notification: Performance of SimCode: time 2.033e-06/0.07679, allocations: 0 / 410.7 MB, free: 3.105 MB / 330.7 MB Notification: Performance of Templates: time 0.3472/0.424, allocations: 196.3 MB / 0.5928 GB, free: 100.1 MB / 394.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: 4.170490880962461]