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.0009452/0.0009452, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002293, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001017/0.001017, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002411, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9376/0.9376, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08071/1.018, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.01711/0.01711, allocations: 0.8281 MB / 244.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.01845, allocations: 0.6624 MB / 245.5 MB, free: 13.41 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.082e-06/1.082e-06, allocations: 3.938 kB / 246.7 MB, free: 12.17 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.928e-06/1.101e-05, allocations: 6.25 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.001825/0.001836, allocations: 1.713 MB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.003676, allocations: 1.937 MB / 250.3 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.003745, allocations: 0 / 250.3 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006185/0.00993, allocations: 239 kB / 250.6 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.01037, allocations: 149.6 kB / 250.7 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.01054, allocations: 83.61 kB / 250.8 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.0107, allocations: 159.5 kB / 251 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.01079, allocations: 5.969 kB / 251 MB, free: 7.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.01104, allocations: 151.4 kB / 251.1 MB, free: 7.797 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.0111, allocations: 31.89 kB / 251.1 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.01112, allocations: 11.94 kB / 251.2 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.0113, allocations: 127.7 kB / 251.3 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.01261, allocations: 2.824 MB / 254.1 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.01307, allocations: 0.5208 MB / 254.6 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.01479, allocations: 2.593 MB / 257.2 MB, free: 1.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.01481, allocations: 0 / 257.2 MB, free: 1.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01481, allocations: 0 / 257.2 MB, free: 1.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.439e-05/0.01488, allocations: 0 / 257.2 MB, free: 1.66 MB / 250.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.00475/0.01963, allocations: 4.707 MB / 261.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.01966, allocations: 11.97 kB / 261.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.02002, allocations: 228.6 kB / 262.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.02218, allocations: 2.23 MB / 264.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.0222, allocations: 8.375 kB / 264.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.02221, allocations: 4.375 kB / 264.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.02234, allocations: 77.3 kB / 264.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.02234, allocations: 0 / 264.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.02235, allocations: 0 / 264.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.02236, allocations: 4 kB / 264.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.02239, allocations: 15.92 kB / 264.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007715/0.02316, allocations: 0.5415 MB / 265 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.02326, allocations: 89.3 kB / 265.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.02328, allocations: 16.8 kB / 265.1 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.0233, allocations: 4 kB / 265.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.667e-05/0.02339, allocations: 74.2 kB / 265.2 MB, free: 9.484 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.02339, allocations: 0 / 265.2 MB, free: 9.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000601/0.02399, allocations: 277.6 kB / 265.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.02402, allocations: 51.41 kB / 265.5 MB, free: 9.145 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00436/0.02838, allocations: 6.244 MB / 271.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.0284, allocations: 25.7 kB / 271.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007447/0.02914, allocations: 0.9638 MB / 272.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.02929, allocations: 279.6 kB / 273 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1167/0.146, allocations: 2.983 MB / 276 MB, free: 17.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.146, allocations: 321.8 kB / 276.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.1487, allocations: 2.362 MB / 278.7 MB, free: 17.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/0.1515, allocations: 2.813 MB / 281.5 MB, free: 17.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004007/0.1555, allocations: 4.178 MB / 285.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-05/0.1555, allocations: 0 / 285.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.005328/0.1608, allocations: 6.633 MB / 292.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.1609, allocations: 8 kB / 292.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.1609, allocations: 1.688 kB / 292.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-05/0.1609, allocations: 48.66 kB / 292.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/0.1647, allocations: 2.707 MB / 295.1 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-05/0.1647, allocations: 48 kB / 295.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/0.1656, allocations: 249.2 kB / 295.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/0.1659, allocations: 252.8 kB / 295.6 MB, free: 8.973 MB / 266.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.0005431/0.1664, allocations: 0.4946 MB / 296.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.1666, allocations: 226.1 kB / 296.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.1667, allocations: 125 kB / 296.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1667, allocations: 7.938 kB / 296.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.1668, allocations: 0 / 296.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1668, allocations: 0 / 296.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.1674, allocations: 0.9919 MB / 297.5 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1674, allocations: 0 / 297.5 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.1675, allocations: 13.31 kB / 297.5 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005419/0.168, allocations: 0.6313 MB / 298.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.168, allocations: 0 / 298.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.168, allocations: 4.672 kB / 298.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.168, allocations: 3.938 kB / 298.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.168, allocations: 1.031 kB / 298.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1682, allocations: 327.4 kB / 298.4 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.1684, allocations: 8 kB / 298.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.1687, allocations: 4.516 kB / 298.5 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.1687, allocations: 9.062 kB / 298.5 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1687, allocations: 0 / 298.5 MB, free: 6.492 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001662/0.1704, allocations: 2.294 MB / 300.8 MB, free: 4.191 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1704, allocations: 0.75 kB / 300.8 MB, free: 4.191 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001012/0.1714, allocations: 1.511 MB / 302.3 MB, free: 2.688 MB / 266.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.001375/0.1728, allocations: 0.6888 MB / 303 MB, free: 2.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.1759, allocations: 3.99 MB / 306.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.995e-05/0.176, allocations: 48 kB / 307 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.176, allocations: 36.64 kB / 307 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007807/0.1768, allocations: 373 kB / 307.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009406/0.1862, allocations: 13.09 MB / 320.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/0.1876, allocations: 1.691 MB / 322.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005144/0.1882, allocations: 476.9 kB / 322.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000637/0.1888, allocations: 471.4 kB / 323.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1888, allocations: 0.7656 kB / 323.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Templates: time 0.05523/0.244, allocations: 37.36 MB / 360.5 MB, free: 8.918 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.5257701193913817]