Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.001607/0.001607, allocations: 88.72 kB / 19.44 MB, free: 356 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.001676/0.001676, allocations: 161.7 kB / 22.76 MB, free: 1.676 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.463/1.463, allocations: 177.1 MB / 203.1 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06718/0.06718, allocations: 8.612 MB / 268.2 MB, free: 4.969 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 340.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.992e-05, allocations: 4.984 kB / 340.1 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003403/0.003433, allocations: 1.705 MB / 341.8 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004889, allocations: 0.5882 MB / 342.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.005021, allocations: 7.938 kB / 342.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.005169, allocations: 19.8 kB / 342.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.005289, allocations: 35.66 kB / 342.5 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.005668, allocations: 83.64 kB / 342.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.005937, allocations: 191.3 kB / 342.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.006059, allocations: 21.78 kB / 342.8 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.006347, allocations: 103.8 kB / 342.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.006455, allocations: 51.88 kB / 342.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.006491, allocations: 16 kB / 342.9 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-05/0.006552, allocations: 19.98 kB / 343 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.006592, allocations: 31.84 kB / 343 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.164e-05/0.006673, allocations: 47.83 kB / 343 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.006936, allocations: 155.4 kB / 343.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.006939, allocations: 0 / 343.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006941, allocations: 0 / 343.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.006946, allocations: 4 kB / 343.2 MB, free: 5.695 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00111/0.008056, allocations: 451.1 kB / 343.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.008094, allocations: 8.031 kB / 343.6 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.00833, allocations: 32.83 kB / 343.7 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.00871, allocations: 199 kB / 343.9 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.00879, allocations: 115.4 kB / 344 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.008819, allocations: 12.38 kB / 344 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.009329, allocations: 130.1 kB / 344.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.009342, allocations: 192 / 344.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.009365, allocations: 12.12 kB / 344.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.00937, allocations: 0 / 344.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.01005, allocations: 123.9 kB / 344.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008955/0.01094, allocations: 348.1 kB / 344.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.01169, allocations: 122.4 kB / 344.7 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.01207, allocations: 64.8 kB / 344.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.01211, allocations: 0 / 344.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005526/0.01266, allocations: 131.2 kB / 344.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.01266, allocations: 0 / 344.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.001413/0.01407, allocations: 245.5 kB / 345.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.0141, allocations: 51.41 kB / 345.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.0143, allocations: 191.7 kB / 345.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.01433, allocations: 29.64 kB / 345.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.0144, allocations: 128.3 kB / 345.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.01443, allocations: 27.95 kB / 345.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.01453, allocations: 37.64 kB / 345.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.01458, allocations: 322.8 kB / 345.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.015, allocations: 93.64 kB / 346 MB, free: 2.676 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.01544, allocations: 121.1 kB / 346.1 MB, free: 2.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.01617, allocations: 177 kB / 346.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01617, allocations: 0 / 346.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009452/0.01712, allocations: 260.8 kB / 346.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.01715, allocations: 35.11 kB / 346.6 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01716, allocations: 0 / 346.6 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.01719, allocations: 4 kB / 346.6 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.01749, allocations: 35.89 kB / 346.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.0175, allocations: 7.938 kB / 346.6 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.01784, allocations: 43.89 kB / 346.7 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.01786, allocations: 8 kB / 346.7 MB, free: 1.938 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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.0001101/0.01797, allocations: 121.8 kB / 346.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.01802, allocations: 23.88 kB / 346.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.01808, allocations: 21.41 kB / 346.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01808, allocations: 0 / 346.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01809, allocations: 0 / 346.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.01809, allocations: 7.938 kB / 346.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.01827, allocations: 145.3 kB / 347 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01827, allocations: 8 kB / 347 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.01851, allocations: 19.97 kB / 347 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01852, allocations: 0 / 347 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.01854, allocations: 8 kB / 347 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01854, allocations: 0 / 347 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01854, allocations: 0 / 347 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009292/0.01947, allocations: 212.8 kB / 347.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.0195, allocations: 11.91 kB / 347.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.01954, allocations: 0 / 347.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.01983, allocations: 31.95 kB / 347.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.01994, allocations: 15.97 kB / 347.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.01996, allocations: 4 kB / 347.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.02008, allocations: 131.2 kB / 347.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02008, allocations: 0 / 347.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004368/0.02051, allocations: 43.83 kB / 347.5 MB, free: 1.09 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: 6 ($whenCondition2,$whenCondition1,Ptr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000108/0.02062, allocations: 99.19 kB / 347.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009832/0.02161, allocations: 228.9 kB / 347.8 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02161, allocations: 0 / 347.8 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.02206, allocations: 72.12 kB / 347.9 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.02247, allocations: 19.98 kB / 347.9 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.02325, allocations: 267.9 kB / 348.2 MB, free: 368 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.556e-05/0.02333, allocations: 103.4 kB / 348.3 MB, free: 244 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.02345, allocations: 13.14 kB / 348.3 MB, free: 232 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-05/0.02354, allocations: 20.44 kB / 348.3 MB, free: 212 kB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02354, allocations: 4 kB / 348.3 MB, free: 208 kB / 266.7 MB Notification: Performance of Templates: time 0.009194/0.03273, allocations: 1.934 MB / 350.2 MB, free: 14.31 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.487347482005134]