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.001568/0.001568, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001378/0.001378, allocations: 177 kB / 23.49 MB, free: 1.059 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.04395/0.04395, allocations: 8.604 MB / 268.9 MB, free: 4.973 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.974e-06/1.974e-06, allocations: 3.984 kB / 340.9 MB, free: 8.707 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.246e-05, allocations: 2.312 kB / 340.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.002553/0.002576, allocations: 2.427 MB / 343.3 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.004294, allocations: 1.633 MB / 345 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.004479, allocations: 23.75 kB / 345 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.005094, allocations: 234.8 kB / 345.2 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.005436, allocations: 214.8 kB / 345.4 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.006096, allocations: 458.7 kB / 345.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.006486, allocations: 0.5865 MB / 346.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.006626, allocations: 65.22 kB / 346.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.006828, allocations: 295.3 kB / 346.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.007041, allocations: 219.4 kB / 347 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.00708, allocations: 36 kB / 347.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.007274, allocations: 163.7 kB / 347.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.007381, allocations: 151.5 kB / 347.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.622e-05/0.007478, allocations: 127.5 kB / 347.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.007896, allocations: 482.1 kB / 348 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.0079, allocations: 0 / 348 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.007902, allocations: 0 / 348 MB, free: 1.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.007909, allocations: 0 / 348 MB, free: 1.602 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.000918/0.008827, allocations: 0.9593 MB / 348.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.008863, allocations: 12.03 kB / 348.9 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.008967, allocations: 96.5 kB / 349 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.00937, allocations: 433.6 kB / 349.4 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.009398, allocations: 29.38 kB / 349.5 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.009464, allocations: 36.45 kB / 349.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.009908, allocations: 403.1 kB / 349.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/0.01006, allocations: 15.89 kB / 349.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.01008, allocations: 12 kB / 349.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.0101, allocations: 8 kB / 349.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.01036, allocations: 201.4 kB / 350.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.01192, allocations: 2.083 MB / 352.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.01215, allocations: 166.8 kB / 352.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.01226, allocations: 97.58 kB / 352.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.01228, allocations: 8.219 kB / 352.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.01251, allocations: 218.6 kB / 352.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.01251, allocations: 0 / 352.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005253/0.01304, allocations: 424.8 kB / 353.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.01308, allocations: 81.11 kB / 353.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006337/0.01371, allocations: 0.5181 MB / 353.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.01374, allocations: 41.69 kB / 353.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.0139, allocations: 347.2 kB / 354.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.01397, allocations: 119 kB / 354.2 MB, free: 11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.01407, allocations: 107.8 kB / 354.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.01421, allocations: 0.5508 MB / 354.9 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.01432, allocations: 94.81 kB / 355 MB, free: 10.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.01454, allocations: 358 kB / 355.3 MB, free: 9.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.01497, allocations: 0.5318 MB / 355.8 MB, free: 9.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01497, allocations: 0 / 355.8 MB, free: 9.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004946/0.01546, allocations: 0.4977 MB / 356.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.0155, allocations: 41.62 kB / 356.4 MB, free: 8.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01551, allocations: 8 kB / 356.4 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.01553, allocations: 8 kB / 356.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.01581, allocations: 111.8 kB / 356.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.01581, allocations: 4.562 kB / 356.5 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.01595, allocations: 71.48 kB / 356.6 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.01598, allocations: 24 kB / 356.6 MB, free: 8.344 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.0002089/0.01619, allocations: 254 kB / 356.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.01625, allocations: 71.62 kB / 356.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.0167, allocations: 394.5 kB / 357.3 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.01671, allocations: 7.984 kB / 357.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01671, allocations: 3.984 kB / 357.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01672, allocations: 0 / 357.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.017, allocations: 348.3 kB / 357.7 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.017, allocations: 4 kB / 357.7 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.01724, allocations: 71.89 kB / 357.7 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01724, allocations: 0 / 357.7 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.01728, allocations: 15.98 kB / 357.7 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01728, allocations: 3.938 kB / 357.7 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.01728, allocations: 0 / 357.7 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.01782, allocations: 0.5301 MB / 358.3 MB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.01787, allocations: 55.56 kB / 358.3 MB, free: 6.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.01792, allocations: 15.98 kB / 358.3 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.01801, allocations: 23.92 kB / 358.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.01808, allocations: 23.97 kB / 358.4 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.0181, allocations: 15.98 kB / 358.4 MB, free: 6.414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002128/0.01831, allocations: 322.8 kB / 358.7 MB, free: 6.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01832, allocations: 0 / 358.7 MB, free: 6.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.01864, allocations: 127.8 kB / 358.8 MB, free: 5.977 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.0009788/0.01962, allocations: 446.1 kB / 359.3 MB, free: 5.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.02004, allocations: 384.5 kB / 359.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.02005, allocations: 0 / 359.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.02021, allocations: 208.6 kB / 359.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.02052, allocations: 93.53 kB / 360 MB, free: 4.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.02181, allocations: 0.9173 MB / 360.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.542e-05/0.0219, allocations: 145.6 kB / 361 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.02205, allocations: 84.27 kB / 361.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.02212, allocations: 48.48 kB / 361.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of SimCode: time 1.163e-06/0.02212, allocations: 0 / 361.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of Templates: time 0.008211/0.03033, allocations: 5.148 MB / 366.3 MB, free: 14.6 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.1622084400150925]