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.001913/0.001913, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002077/0.002077, allocations: 221.1 kB / 22.25 MB, free: 3.582 MB / 13.93 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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.009833/0.009833, allocations: 1.072 MB / 313.5 MB, free: 0.8945 MB / 234.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: SDF requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003726/0.003726, allocations: 73.72 kB / 436.2 MB, free: 46.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07308/0.0768, allocations: 53.61 MB / 489.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.003365/0.08017, allocations: 1.624 MB / 491.5 MB, free: 9.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.08345, allocations: 1.824 MB / 493.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.08356, allocations: 0 / 493.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003019/0.08658, allocations: 195.9 kB / 493.5 MB, free: 7.422 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.08764, allocations: 132.7 kB / 493.6 MB, free: 7.305 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.08791, allocations: 87.67 kB / 493.7 MB, free: 7.219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.08817, allocations: 159.5 kB / 493.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.08829, allocations: 21.25 kB / 493.9 MB, free: 7.039 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.08841, allocations: 51.73 kB / 493.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.08851, allocations: 51.7 kB / 494 MB, free: 6.938 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.08854, allocations: 8 kB / 494 MB, free: 6.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.08881, allocations: 127.8 kB / 494.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002871/0.09168, allocations: 2.808 MB / 496.9 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.09293, allocations: 1.105 MB / 498 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004593/0.09752, allocations: 3.883 MB / 0.4901 GB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.09753, allocations: 4 kB / 0.4901 GB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09753, allocations: 0 / 0.4901 GB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.899e-05/0.09759, allocations: 0 / 0.4901 GB, free: 14.96 MB / 362.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.008785/0.1064, allocations: 4.706 MB / 0.4947 GB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1064, allocations: 8.031 kB / 0.4947 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009811/0.1074, allocations: 473.7 kB / 0.4952 GB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009048/0.1164, allocations: 4.508 MB / 0.4996 GB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1165, allocations: 4.375 kB / 0.4996 GB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1165, allocations: 8.125 kB / 0.4996 GB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.1167, allocations: 65.66 kB / 0.4997 GB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1167, allocations: 4 kB / 0.4997 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1168, allocations: 0 / 0.4997 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1168, allocations: 4 kB / 0.4997 GB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1169, allocations: 35.97 kB / 0.4997 GB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008064/0.125, allocations: 3.496 MB / 0.5031 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.1253, allocations: 74.59 kB / 0.5032 GB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.1254, allocations: 20.86 kB / 0.5032 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1254, allocations: 7.984 kB / 0.5032 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.1256, allocations: 75.39 kB / 0.5033 GB, free: 1.285 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.405e-06/0.1256, allocations: 0 / 0.5033 GB, free: 1.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001679/0.1273, allocations: 0.5765 MB / 0.5039 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.1273, allocations: 55.41 kB / 0.5039 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02494/0.1523, allocations: 16.24 MB / 0.5198 GB, free: 376 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1523, allocations: 25.7 kB / 0.5198 GB, free: 344 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.1539, allocations: 1.016 MB / 0.5208 GB, free: 15.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.1543, allocations: 287.6 kB / 0.5211 GB, free: 15.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005137/0.1594, allocations: 3.408 MB / 0.5244 GB, free: 11.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.1596, allocations: 325.9 kB / 0.5247 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01432/0.1739, allocations: 9.395 MB / 0.5339 GB, free: 1.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01528/0.1892, allocations: 10.29 MB / 0.5439 GB, free: 7.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2009/0.3901, allocations: 10.87 MB / 0.5545 GB, free: 58.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-05/0.3902, allocations: 0 / 0.5545 GB, free: 58.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.02518/0.4153, allocations: 21.78 MB / 0.5758 GB, free: 52.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.4154, allocations: 3.75 kB / 0.5758 GB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/0.4154, allocations: 3.281 kB / 0.5758 GB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.836e-05/0.4155, allocations: 49.12 kB / 0.5759 GB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006493/0.422, allocations: 2.376 MB / 0.5782 GB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000123/0.4221, allocations: 48 kB / 0.5782 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.4244, allocations: 250.4 kB / 0.5785 GB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004561/0.4249, allocations: 342.5 kB / 0.5788 GB, free: 49.44 MB / 410.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.002071/0.4269, allocations: 2.645 MB / 0.5814 GB, free: 46.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004872/0.4274, allocations: 477.1 kB / 0.5818 GB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.4278, allocations: 178.6 kB / 0.582 GB, free: 46.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4278, allocations: 0 / 0.582 GB, free: 46.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4278, allocations: 3.984 kB / 0.582 GB, free: 46.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4278, allocations: 4.844 kB / 0.582 GB, free: 46.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.4294, allocations: 1.734 MB / 0.5837 GB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4294, allocations: 1.219 kB / 0.5837 GB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.4294, allocations: 8 kB / 0.5837 GB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4294, allocations: 0 / 0.5837 GB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.4295, allocations: 0.5625 kB / 0.5837 GB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4295, allocations: 0 / 0.5837 GB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4295, allocations: 0.5312 kB / 0.5837 GB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000623/0.4301, allocations: 0.6234 MB / 0.5843 GB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.4316, allocations: 0.9112 MB / 0.5852 GB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/0.432, allocations: 7.578 kB / 0.5852 GB, free: 42.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/0.4326, allocations: 4 kB / 0.5852 GB, free: 42.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4326, allocations: 7.516 kB / 0.5852 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.4326, allocations: 8 kB / 0.5852 GB, free: 42.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007297/0.4399, allocations: 7.281 MB / 0.5924 GB, free: 35.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4399, allocations: 0 / 0.5924 GB, free: 35.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002495/0.4424, allocations: 1.509 MB / 0.5938 GB, free: 34.01 MB / 410.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.003389/0.4458, allocations: 0.5323 MB / 0.5944 GB, free: 33.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01005/0.4559, allocations: 10.89 MB / 0.605 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4559, allocations: 0 / 0.605 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.456, allocations: 31.92 kB / 0.605 GB, free: 22.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.4575, allocations: 164.8 kB / 0.6052 GB, free: 22.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/0.4734, allocations: 18.2 MB / 0.6229 GB, free: 4.441 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004189/0.4776, allocations: 3.855 MB / 0.6267 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001844/0.4794, allocations: 1.057 MB / 0.6277 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007956/0.4802, allocations: 215.4 kB / 0.6279 GB, free: 15.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4802, allocations: 0 / 0.6279 GB, free: 15.26 MB / 426.7 MB Notification: Performance of Templates: time 0.09243/0.5726, allocations: 39.9 MB / 0.6669 GB, free: 7.434 MB / 458.7 MB " [Timeout remaining time 659] 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.8234688439406455]