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.002567/0.002567, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.003322/0.003322, allocations: 169.9 kB / 22.45 MB, free: 2.105 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 1.558/1.558, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] 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.008613/0.008613, allocations: 0.8183 MB / 260 MB, free: 12.5 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.252e-06/1.252e-06, allocations: 0 / 382.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.578e-05, allocations: 5.234 kB / 382.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.003053/0.003079, allocations: 1.634 MB / 384.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.006081, allocations: 1.819 MB / 386.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.006162, allocations: 4 kB / 386.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002878/0.00904, allocations: 203.8 kB / 386.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.01004, allocations: 150.1 kB / 386.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.01025, allocations: 71.67 kB / 386.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.01052, allocations: 167.4 kB / 386.8 MB, free: 9.969 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.01063, allocations: 17.27 kB / 386.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.01079, allocations: 83.69 kB / 386.9 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.01087, allocations: 35.89 kB / 387 MB, free: 9.832 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.0109, allocations: 8 kB / 387 MB, free: 9.824 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.01117, allocations: 127.7 kB / 387.1 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002771/0.01394, allocations: 2.832 MB / 389.9 MB, free: 6.848 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.01495, allocations: 0.786 MB / 390.7 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004353/0.01931, allocations: 3.553 MB / 394.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.01931, allocations: 0 / 394.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.01931, allocations: 0 / 394.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.949e-05/0.01937, allocations: 0 / 394.3 MB, free: 2.496 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.007994/0.02737, allocations: 4.651 MB / 398.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.02741, allocations: 12.69 kB / 398.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.0283, allocations: 477.6 kB / 399.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008166/0.03647, allocations: 4.511 MB / 403.9 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.03649, allocations: 4.375 kB / 403.9 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.0365, allocations: 384 / 403.9 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.03671, allocations: 66.23 kB / 404 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.03672, allocations: 3.938 kB / 404 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.03673, allocations: 3.984 kB / 404 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.03674, allocations: 0 / 404 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.03686, allocations: 35.98 kB / 404 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006492/0.04335, allocations: 3.496 MB / 407.5 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.04366, allocations: 78.55 kB / 407.6 MB, free: 4.988 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.716e-05/0.04373, allocations: 24.84 kB / 407.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.04375, allocations: 0 / 407.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.04395, allocations: 79.33 kB / 407.7 MB, free: 4.871 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.04395, allocations: 0 / 407.7 MB, free: 4.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.001285/0.04523, allocations: 0.5766 MB / 408.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.04529, allocations: 51.41 kB / 408.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1487/0.1939, allocations: 16.23 MB / 424.6 MB, free: 31.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.194, allocations: 27.11 kB / 424.6 MB, free: 31.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.1951, allocations: 1.022 MB / 425.6 MB, free: 30.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.1953, allocations: 285.1 kB / 425.9 MB, free: 30.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00341/0.1987, allocations: 3.363 MB / 429.2 MB, free: 29.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.1988, allocations: 325.4 kB / 429.6 MB, free: 28.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007752/0.2065, allocations: 9.396 MB / 439 MB, free: 21.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008247/0.2148, allocations: 10.29 MB / 449.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009846/0.2246, allocations: 10.87 MB / 460.1 MB, free: 336 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.221e-05/0.2246, allocations: 3.75 kB / 460.1 MB, free: 336 kB / 330.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.03606/0.2607, allocations: 21.78 MB / 481.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.2607, allocations: 4 kB / 481.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/0.2608, allocations: 3.75 kB / 481.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/0.2609, allocations: 48 kB / 482 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008744/0.2696, allocations: 2.379 MB / 484.3 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002885/0.2699, allocations: 48 kB / 484.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/0.2732, allocations: 250.5 kB / 484.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008628/0.274, allocations: 347.3 kB / 485 MB, free: 7.402 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.004678/0.2787, allocations: 2.649 MB / 487.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/0.2801, allocations: 476.8 kB / 488.1 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007666/0.2809, allocations: 165 kB / 488.2 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.2809, allocations: 7.938 kB / 488.2 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2809, allocations: 0 / 488.2 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2809, allocations: 0 / 488.2 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004278/0.2851, allocations: 1.727 MB / 490 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2851, allocations: 0 / 490 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.766e-05/0.2852, allocations: 15.92 kB / 490 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2852, allocations: 3.531 kB / 490 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2852, allocations: 0 / 490 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.2853, allocations: 4 kB / 490 MB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.2853, allocations: 3.938 kB / 490 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.2869, allocations: 0.617 MB / 490.6 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/0.2895, allocations: 0.9067 MB / 491.5 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/0.2907, allocations: 4 kB / 491.5 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.2918, allocations: 4 kB / 491.5 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.2919, allocations: 11.92 kB / 491.5 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.2919, allocations: 3.406 kB / 491.5 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0139/0.3058, allocations: 7.288 MB / 498.8 MB, free: 9.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3058, allocations: 0 / 498.8 MB, free: 9.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00466/0.3105, allocations: 1.504 MB / 0.4886 GB, free: 7.961 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.01178/0.3222, allocations: 0.5385 MB / 0.4891 GB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01943/0.3417, allocations: 10.89 MB / 0.4998 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3417, allocations: 4.062 kB / 0.4998 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.3418, allocations: 31.92 kB / 0.4998 GB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.3449, allocations: 171.1 kB / 0.5 GB, free: 12.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/0.3716, allocations: 17.93 MB / 0.5175 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006698/0.3783, allocations: 3.855 MB / 0.5212 GB, free: 6.703 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002188/0.3805, allocations: 1.061 MB / 0.5223 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000963/0.3815, allocations: 220.5 kB / 0.5225 GB, free: 5.422 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3815, allocations: 3.938 kB / 0.5225 GB, free: 5.418 MB / 410.7 MB Notification: Performance of Templates: time 0.08226/0.4637, allocations: 34.37 MB / 0.5561 GB, free: 3.035 MB / 442.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: 6.430696348194033]