Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0009685/0.0009685, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002331, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007258/0.0007258, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009106/0.001636, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9889/0.9889, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09303/1.082, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04035/0.04035, allocations: 9.781 MB / 253.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005438/0.04578, allocations: 3.475 MB / 257.2 MB, free: 2.125 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 258.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.927e-06/1.001e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.002338/0.002348, allocations: 2.474 MB / 261 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.004071, allocations: 1.59 MB / 262.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.004224, allocations: 19.81 kB / 262.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.00465, allocations: 218.9 kB / 262.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.004946, allocations: 226.8 kB / 263 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.005507, allocations: 394.9 kB / 263.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.005932, allocations: 0.535 MB / 264 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.00605, allocations: 73.22 kB / 264 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.006325, allocations: 327.6 kB / 264.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.00651, allocations: 191.4 kB / 264.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.006546, allocations: 32 kB / 264.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.00675, allocations: 163.8 kB / 264.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.006879, allocations: 107.6 kB / 264.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.829e-05/0.006977, allocations: 95.62 kB / 264.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.007337, allocations: 402.4 kB / 265.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.007349, allocations: 0 / 265.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.007349, allocations: 0 / 265.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.00736, allocations: 4 kB / 265.3 MB, free: 9.977 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.0007911/0.008151, allocations: 0.8614 MB / 266.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.008178, allocations: 12.03 kB / 266.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.00825, allocations: 56.89 kB / 266.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.008614, allocations: 380.2 kB / 266.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.008641, allocations: 29.03 kB / 266.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.008681, allocations: 36.31 kB / 266.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.009003, allocations: 354.4 kB / 267 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.00902, allocations: 3.938 kB / 267 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.00904, allocations: 12 kB / 267 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.009049, allocations: 8 kB / 267.1 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.009258, allocations: 148.9 kB / 267.2 MB, free: 7.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.01029, allocations: 1.333 MB / 268.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.0105, allocations: 181.8 kB / 268.7 MB, free: 6.391 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.735e-05/0.01056, allocations: 70.55 kB / 268.8 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.01058, allocations: 11.98 kB / 268.8 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.01075, allocations: 198.2 kB / 269 MB, free: 6.082 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.01075, allocations: 0 / 269 MB, free: 6.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002671/0.01102, allocations: 282 kB / 269.3 MB, free: 5.785 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.01106, allocations: 81.11 kB / 269.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.01131, allocations: 432.8 kB / 269.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.01133, allocations: 33.7 kB / 269.8 MB, free: 5.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.01143, allocations: 229.1 kB / 270 MB, free: 4.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.01148, allocations: 99.19 kB / 270.1 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.01155, allocations: 89.58 kB / 270.2 MB, free: 4.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.01164, allocations: 370.7 kB / 270.6 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.0117, allocations: 72.95 kB / 270.6 MB, free: 4.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.01182, allocations: 236.4 kB / 270.9 MB, free: 4.031 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.01209, allocations: 421 kB / 271.3 MB, free: 3.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01209, allocations: 0 / 271.3 MB, free: 3.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00025/0.01234, allocations: 324.5 kB / 271.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.01237, allocations: 38.28 kB / 271.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01238, allocations: 8 kB / 271.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.01239, allocations: 12 kB / 271.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.0126, allocations: 99.88 kB / 271.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.01261, allocations: 11.92 kB / 271.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.735e-05/0.01271, allocations: 43.73 kB / 271.8 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.01272, allocations: 20 kB / 271.8 MB, free: 2.969 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 ) \"Delayed input vector\" type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" 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 ) \"Delayed input vector\" type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" 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.0001509/0.01288, allocations: 204.8 kB / 272 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.01291, allocations: 35.97 kB / 272.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.01315, allocations: 273.7 kB / 272.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01316, allocations: 7.938 kB / 272.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01316, allocations: 0 / 272.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01316, allocations: 0 / 272.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.01333, allocations: 213.5 kB / 272.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01333, allocations: 4 kB / 272.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.01349, allocations: 74.41 kB / 272.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.01353, allocations: 55.59 kB / 272.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01353, allocations: 0 / 272.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.01355, allocations: 11.98 kB / 272.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.01355, allocations: 0 / 272.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01355, allocations: 0 / 272.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.01384, allocations: 376.2 kB / 273.1 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.01387, allocations: 12 kB / 273.1 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/0.01393, allocations: 7.984 kB / 273.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.01397, allocations: 23.97 kB / 273.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.01398, allocations: 11.98 kB / 273.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.01411, allocations: 179.2 kB / 273.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01411, allocations: 4 kB / 273.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.01433, allocations: 111.8 kB / 273.4 MB, free: 1.312 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.00132/0.01565, allocations: 0.6109 MB / 274 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.01597, allocations: 318.6 kB / 274.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.01598, allocations: 4 kB / 274.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.01612, allocations: 169.8 kB / 274.5 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.01638, allocations: 115 kB / 274.6 MB, free: 316 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.116/0.1324, allocations: 0.7896 MB / 275.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/0.1325, allocations: 135.2 kB / 275.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1326, allocations: 51.11 kB / 275.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.1328, allocations: 127 kB / 275.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of SimCode: time 1.924e-06/0.1328, allocations: 0 / 275.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of Templates: time 0.008538/0.1413, allocations: 5.216 MB / 280.9 MB, free: 11.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.969411127269268]