Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001161/0.001161, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001854/0.003015, allocations: 440 kB / 10.41 MB, free: 284 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.001119/0.001119, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002594, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.022/1.022, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08547/1.107, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.03903/0.03903, allocations: 8.612 MB / 252.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008952/0.04798, allocations: 3.129 MB / 255.9 MB, free: 3.48 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.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 257.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.002e-05, allocations: 9.969 kB / 257.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.004111/0.004131, allocations: 2.478 MB / 259.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.007321, allocations: 1.586 MB / 261.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.007595, allocations: 23.75 kB / 261.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.008303, allocations: 230.8 kB / 261.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.008814, allocations: 222.8 kB / 261.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.009715, allocations: 398.8 kB / 262.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006406/0.01036, allocations: 0.535 MB / 262.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.01053, allocations: 69.2 kB / 262.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004474/0.01098, allocations: 323.8 kB / 263 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.01128, allocations: 187.4 kB / 263.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.447e-05/0.01135, allocations: 32 kB / 263.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.01167, allocations: 163.8 kB / 263.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.01181, allocations: 115.5 kB / 263.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.01194, allocations: 95.69 kB / 263.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.01249, allocations: 394.5 kB / 264 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.0125, allocations: 0 / 264 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0125, allocations: 0 / 264 MB, free: 11.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.01251, allocations: 0 / 264 MB, free: 11.33 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001224/0.01374, allocations: 0.8654 MB / 264.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.01378, allocations: 12.02 kB / 264.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.0139, allocations: 68.88 kB / 264.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.01443, allocations: 376.2 kB / 265.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.01447, allocations: 25.03 kB / 265.3 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.01453, allocations: 44.3 kB / 265.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.01499, allocations: 350.4 kB / 265.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.01501, allocations: 7.891 kB / 265.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.01504, allocations: 12 kB / 265.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.01505, allocations: 12 kB / 265.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.01527, allocations: 140.9 kB / 265.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.01685, allocations: 1.334 MB / 267.2 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.01714, allocations: 188.8 kB / 267.4 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.01721, allocations: 74.55 kB / 267.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.01724, allocations: 4 kB / 267.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.01748, allocations: 192.7 kB / 267.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.01748, allocations: 0 / 267.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003629/0.01784, allocations: 281.2 kB / 267.9 MB, free: 7.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.01791, allocations: 174.2 kB / 268.1 MB, free: 6.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.01826, allocations: 428.8 kB / 268.5 MB, free: 6.496 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.01828, allocations: 33.7 kB / 268.6 MB, free: 6.457 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.01841, allocations: 229.2 kB / 268.8 MB, free: 6.227 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.01846, allocations: 103.1 kB / 268.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.01853, allocations: 85.62 kB / 269 MB, free: 6.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.01862, allocations: 370.6 kB / 269.3 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.01868, allocations: 69.02 kB / 269.4 MB, free: 5.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.0188, allocations: 240.3 kB / 269.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.01907, allocations: 444.9 kB / 270.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01907, allocations: 0 / 270.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0002691/0.01934, allocations: 324.9 kB / 270.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.01938, allocations: 37.7 kB / 270.4 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.01939, allocations: 7.938 kB / 270.4 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.01941, allocations: 8 kB / 270.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.01965, allocations: 103.8 kB / 270.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.01966, allocations: 7.984 kB / 270.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01976, allocations: 39.73 kB / 270.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.01978, allocations: 16 kB / 270.6 MB, free: 4.199 MB / 266.7 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (50): * Single equations (assignments): 49 * 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.0001635/0.01994, allocations: 213.6 kB / 270.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.01998, allocations: 31.97 kB / 270.8 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.02022, allocations: 270.3 kB / 271.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.02022, allocations: 4 kB / 271.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.02023, allocations: 4 kB / 271.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.02023, allocations: 4 kB / 271.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.02042, allocations: 221.5 kB / 271.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.02042, allocations: 3.938 kB / 271.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.02059, allocations: 55.95 kB / 271.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.02062, allocations: 39.66 kB / 271.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.02063, allocations: 4 kB / 271.4 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.02065, allocations: 15.97 kB / 271.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.02065, allocations: 0 / 271.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02065, allocations: 0 / 271.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.02096, allocations: 392.1 kB / 271.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.021, allocations: 8 kB / 271.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.02106, allocations: 11.98 kB / 271.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.02111, allocations: 19.97 kB / 271.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.02113, allocations: 11.98 kB / 271.9 MB, free: 2.828 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.02127, allocations: 175.2 kB / 272 MB, free: 2.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02127, allocations: 4 kB / 272.1 MB, free: 2.652 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.02152, allocations: 111.8 kB / 272.2 MB, free: 2.543 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],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 (26): * Single equations (assignments): 23 * 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.001274/0.0228, allocations: 0.6109 MB / 272.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.02307, allocations: 317.9 kB / 273.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.02309, allocations: 8 kB / 273.1 MB, free: 1.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.02322, allocations: 186.2 kB / 273.3 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.02356, allocations: 473.9 kB / 273.7 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.02474, allocations: 0.7874 MB / 274.5 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.034e-05/0.02481, allocations: 133.2 kB / 274.7 MB, free: 72 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.723e-05/0.02491, allocations: 59.27 kB / 274.7 MB, free: 8 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09772/0.1226, allocations: 119.6 kB / 274.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1226, allocations: 2 kB / 274.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Templates: time 0.008418/0.131, allocations: 4.975 MB / 279.8 MB, free: 12.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7453615572303534]