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.001347/0.001347, allocations: 81.08 kB / 19.87 MB, free: 4.621 MB / 18.57 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.00175/0.00175, allocations: 169 kB / 23.28 MB, free: 1.215 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.04/1.04, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.04149/0.04149, allocations: 8.604 MB / 268.9 MB, free: 4.781 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.874e-06/1.874e-06, allocations: 0 / 341.3 MB, free: 8.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.168e-05, allocations: 4.984 kB / 341.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.002602/0.002624, allocations: 2.405 MB / 343.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.004435, allocations: 1.626 MB / 345.3 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.004661, allocations: 19.75 kB / 345.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.005275, allocations: 238.8 kB / 345.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.005621, allocations: 218.8 kB / 345.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006721/0.006293, allocations: 454.7 kB / 346.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.006719, allocations: 0.5904 MB / 346.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.006852, allocations: 65.23 kB / 346.9 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.007099, allocations: 299.2 kB / 347.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.007316, allocations: 219.4 kB / 347.4 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/0.007361, allocations: 36 kB / 347.5 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.00754, allocations: 147.8 kB / 347.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.55e-05/0.007635, allocations: 151.5 kB / 347.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.007719, allocations: 131.5 kB / 347.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.008094, allocations: 482.1 kB / 348.3 MB, free: 1.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.008097, allocations: 0 / 348.3 MB, free: 1.051 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008098, allocations: 4 kB / 348.3 MB, free: 1.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.008106, allocations: 0 / 348.3 MB, free: 1.047 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.0007639/0.00887, allocations: 0.9552 MB / 349.3 MB, free: 44 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.008904, allocations: 8.031 kB / 349.3 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.009023, allocations: 100.6 kB / 349.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.009459, allocations: 413.6 kB / 349.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.009491, allocations: 29.38 kB / 349.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.009539, allocations: 44.34 kB / 349.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.009913, allocations: 379.1 kB / 350.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.009932, allocations: 11.83 kB / 350.3 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.009956, allocations: 16 kB / 350.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.009964, allocations: 8 kB / 350.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.01017, allocations: 170 kB / 350.5 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.01163, allocations: 1.962 MB / 352.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.01182, allocations: 161.1 kB / 352.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.0119, allocations: 85.58 kB / 352.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.01193, allocations: 4.234 kB / 352.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.01214, allocations: 207.2 kB / 352.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/0.01214, allocations: 0 / 352.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004477/0.01259, allocations: 404.9 kB / 353.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.01263, allocations: 93.09 kB / 353.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.013, allocations: 0.4983 MB / 353.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.01302, allocations: 33.7 kB / 353.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.01323, allocations: 359.1 kB / 354.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.01331, allocations: 119 kB / 354.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.01343, allocations: 115.7 kB / 354.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.01362, allocations: 0.5546 MB / 355 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.01371, allocations: 82.81 kB / 355.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.0139, allocations: 346 kB / 355.4 MB, free: 9.484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.01427, allocations: 0.4966 MB / 355.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01428, allocations: 4 kB / 355.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004391/0.01472, allocations: 474.1 kB / 356.4 MB, free: 8.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.01475, allocations: 47.44 kB / 356.4 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.01476, allocations: 4 kB / 356.5 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.01478, allocations: 15.92 kB / 356.5 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.01504, allocations: 103.8 kB / 356.6 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.01505, allocations: 8 kB / 356.6 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.01519, allocations: 63.48 kB / 356.6 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.01522, allocations: 20 kB / 356.7 MB, free: 8.129 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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_track.ATreq_in,R_track.satHIGH_in,R_track.satLOW_in,R.TS_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.0002348/0.01545, allocations: 254 kB / 356.9 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.01551, allocations: 75.56 kB / 357 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.01591, allocations: 370.6 kB / 357.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.01591, allocations: 7.938 kB / 357.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01591, allocations: 0 / 357.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.01592, allocations: 0 / 357.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.01617, allocations: 284.8 kB / 357.6 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.01618, allocations: 4 kB / 357.6 MB, free: 7.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.01638, allocations: 63.91 kB / 357.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.01639, allocations: 4 kB / 357.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.01641, allocations: 11.98 kB / 357.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.01641, allocations: 8 kB / 357.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01642, allocations: 0 / 357.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.0169, allocations: 0.5027 MB / 358.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.01695, allocations: 55.55 kB / 358.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.01699, allocations: 12 kB / 358.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.01707, allocations: 11.98 kB / 358.3 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.01713, allocations: 31.83 kB / 358.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.01715, allocations: 12 kB / 358.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.01733, allocations: 306.6 kB / 358.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01733, allocations: 4 kB / 358.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.01766, allocations: 123.8 kB / 358.8 MB, free: 5.914 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.0009395/0.0186, allocations: 443.9 kB / 359.2 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.01894, allocations: 355.2 kB / 359.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01894, allocations: 1.312 kB / 359.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.01907, allocations: 200.6 kB / 359.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.01935, allocations: 81.86 kB / 359.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.02028, allocations: 0.9211 MB / 360.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.428e-05/0.02037, allocations: 145.6 kB / 360.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.02049, allocations: 64.23 kB / 360.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.02066, allocations: 154.2 kB / 361.1 MB, free: 3.602 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.02066, allocations: 0 / 361.1 MB, free: 3.602 MB / 282.7 MB Notification: Performance of Templates: time 0.008134/0.02879, allocations: 5.581 MB / 366.7 MB, free: 14.09 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: 3.131884229835123]