Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.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.001879/0.001879, allocations: 81.5 kB / 19.44 MB, free: 344 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.002129/0.002129, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.172 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.07305/0.07305, allocations: 8.628 MB / 268.2 MB, free: 4.828 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.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.409e-05, allocations: 6.25 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.002873/0.002897, allocations: 2.401 MB / 342.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.005045, allocations: 1.637 MB / 344.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.005218, allocations: 23.75 kB / 344.2 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006311/0.005849, allocations: 226.8 kB / 344.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.006239, allocations: 214.9 kB / 344.6 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007678/0.007007, allocations: 454.7 kB / 345.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.007449, allocations: 0.5943 MB / 345.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.007589, allocations: 57.23 kB / 345.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.007872, allocations: 303.2 kB / 346 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.008108, allocations: 219.4 kB / 346.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.008171, allocations: 36 kB / 346.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.008397, allocations: 155.8 kB / 346.4 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.008526, allocations: 147.5 kB / 346.6 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.008649, allocations: 139.5 kB / 346.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.009168, allocations: 0.5956 MB / 347.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.009171, allocations: 0 / 347.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009172, allocations: 0 / 347.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.009179, allocations: 4 kB / 347.3 MB, free: 1.539 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001118/0.0103, allocations: 0.9863 MB / 348.3 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.01033, allocations: 8.031 kB / 348.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.01044, allocations: 96.52 kB / 348.4 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.01104, allocations: 428.9 kB / 348.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.01108, allocations: 29.38 kB / 348.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.01115, allocations: 36.38 kB / 348.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007777/0.01193, allocations: 451.1 kB / 349.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.01195, allocations: 7.891 kB / 349.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.01199, allocations: 16 kB / 349.3 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.01201, allocations: 12 kB / 349.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.01259, allocations: 248.1 kB / 349.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/0.01585, allocations: 2.18 MB / 351.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.01633, allocations: 206.4 kB / 352 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.01656, allocations: 121.6 kB / 352.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.01659, allocations: 4.234 kB / 352.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/0.01704, allocations: 236.2 kB / 352.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.01704, allocations: 0 / 352.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001078/0.01812, allocations: 0.489 MB / 352.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.01819, allocations: 85.11 kB / 352.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007928/0.01899, allocations: 0.6118 MB / 353.5 MB, free: 11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.01903, allocations: 33.7 kB / 353.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.01939, allocations: 367.2 kB / 353.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.01953, allocations: 131 kB / 354 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/0.01994, allocations: 127.8 kB / 354.2 MB, free: 10.33 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003886/0.02033, allocations: 0.5743 MB / 354.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.02058, allocations: 122.8 kB / 354.9 MB, free: 9.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.02107, allocations: 382.1 kB / 355.2 MB, free: 9.141 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.02207, allocations: 0.6216 MB / 355.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.02208, allocations: 0 / 355.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001047/0.02312, allocations: 0.5522 MB / 356.4 MB, free: 7.836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/0.02317, allocations: 46.41 kB / 356.4 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.02319, allocations: 8.656 kB / 356.5 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.02321, allocations: 12 kB / 356.5 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.02367, allocations: 103.8 kB / 356.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.02369, allocations: 19.86 kB / 356.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.02398, allocations: 63.61 kB / 356.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.02402, allocations: 24 kB / 356.7 MB, free: 7.559 MB / 282.7 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,R.TS_in,R_track.satLOW_in,R_track.satHIGH_in,R_track.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0003457/0.02437, allocations: 270.1 kB / 356.9 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.02448, allocations: 71.61 kB / 357 MB, free: 7.207 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008956/0.02537, allocations: 438.5 kB / 357.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.02538, allocations: 4 kB / 357.4 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.02538, allocations: 7.984 kB / 357.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.02539, allocations: 0 / 357.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.02596, allocations: 400.3 kB / 357.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.02596, allocations: 0 / 357.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.02639, allocations: 71.89 kB / 357.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.02639, allocations: 0 / 357.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.02644, allocations: 19.97 kB / 357.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.02645, allocations: 3.938 kB / 357.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.02645, allocations: 0 / 357.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.02764, allocations: 0.6199 MB / 358.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.02774, allocations: 51.56 kB / 358.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.02781, allocations: 12 kB / 358.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.02799, allocations: 19.92 kB / 358.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.02807, allocations: 27.89 kB / 358.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.02811, allocations: 15.98 kB / 358.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004556/0.02857, allocations: 370.8 kB / 359 MB, free: 5.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02857, allocations: 0 / 359 MB, free: 5.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004733/0.02904, allocations: 123.8 kB / 359.2 MB, free: 4.957 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.003037/0.03208, allocations: 0.4902 MB / 359.7 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008396/0.03292, allocations: 448.3 kB / 360.1 MB, free: 4.184 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.03292, allocations: 0 / 360.1 MB, free: 4.184 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.03328, allocations: 244.8 kB / 360.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.03374, allocations: 83.14 kB / 360.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.03558, allocations: 0.964 MB / 361.4 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.03591, allocations: 272.5 kB / 361.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002342/0.03614, allocations: 84.2 kB / 361.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.03625, allocations: 44.48 kB / 361.8 MB, free: 2.414 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.03625, allocations: 3.938 kB / 361.8 MB, free: 2.41 MB / 282.7 MB Notification: Performance of Templates: time 0.0121/0.04835, allocations: 5.135 MB / 366.9 MB, free: 13.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.62067113397643]