Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001542/0.001542, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001652/0.001652, allocations: 181.3 kB / 23.36 MB, free: 1.133 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 0.9545/0.9545, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.03806/0.03806, allocations: 8.624 MB / 268.9 MB, free: 4.789 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.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 288.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.661e-05, allocations: 10.05 kB / 288.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.1124/0.1124, allocations: 2.461 MB / 290.6 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.115, allocations: 1.669 MB / 292.2 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.1153, allocations: 22.44 kB / 292.3 MB, free: 17.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007203/0.116, allocations: 226 kB / 292.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.1165, allocations: 205.9 kB / 292.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1176, allocations: 446.2 kB / 293.1 MB, free: 17.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007659/0.1183, allocations: 0.5842 MB / 293.7 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1185, allocations: 65.66 kB / 293.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.1189, allocations: 294.1 kB / 294.1 MB, free: 17.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.1192, allocations: 199.1 kB / 294.2 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.072e-05/0.1193, allocations: 32.44 kB / 294.3 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.1197, allocations: 171.5 kB / 294.4 MB, free: 17.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.1198, allocations: 137.3 kB / 294.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1199, allocations: 131.5 kB / 294.7 MB, free: 17.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006653/0.1206, allocations: 457.1 kB / 295.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1206, allocations: 0 / 295.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1206, allocations: 1.562 kB / 295.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.1206, allocations: 0 / 295.2 MB, free: 16.97 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.001106/0.1217, allocations: 0.7867 MB / 295.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1218, allocations: 9.062 kB / 296 MB, free: 16.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1219, allocations: 67.39 kB / 296 MB, free: 16.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.1224, allocations: 377.4 kB / 296.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.1224, allocations: 82.12 kB / 296.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.1225, allocations: 40.66 kB / 296.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.1229, allocations: 358.2 kB / 296.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.123, allocations: 1.844 kB / 296.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.123, allocations: 16.47 kB / 296.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.123, allocations: 9.438 kB / 296.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.1232, allocations: 152.8 kB / 297 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.1247, allocations: 1.379 MB / 298.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.125, allocations: 167.1 kB / 298.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.727e-05/0.125, allocations: 79.53 kB / 298.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1251, allocations: 11.11 kB / 298.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.1253, allocations: 181.7 kB / 298.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.194e-06/0.1253, allocations: 0.875 kB / 298.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.000364/0.1256, allocations: 275.6 kB / 299.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.1257, allocations: 92.14 kB / 299.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.126, allocations: 434.3 kB / 299.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1261, allocations: 32.14 kB / 299.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1262, allocations: 236 kB / 299.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.1262, allocations: 95.62 kB / 300 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.1263, allocations: 94.64 kB / 300.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.1264, allocations: 361.5 kB / 300.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/0.1265, allocations: 72.17 kB / 300.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1266, allocations: 239.4 kB / 300.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.127, allocations: 411.4 kB / 301.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.127, allocations: 2.391 kB / 301.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003839/0.1273, allocations: 336.9 kB / 301.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.1274, allocations: 45.94 kB / 301.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.1274, allocations: 4.375 kB / 301.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1274, allocations: 7.281 kB / 301.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.1279, allocations: 118.1 kB / 301.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1279, allocations: 9.5 kB / 301.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.128, allocations: 47.5 kB / 301.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.1281, allocations: 17.59 kB / 301.7 MB, free: 12.42 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 (51): * Single equations (assignments): 50 * 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.0001803/0.1283, allocations: 198.7 kB / 301.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.1283, allocations: 42.95 kB / 301.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.1287, allocations: 274.9 kB / 302.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1287, allocations: 3.344 kB / 302.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.1287, allocations: 0 / 302.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1287, allocations: 2.75 kB / 302.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.1289, allocations: 211.8 kB / 302.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1289, allocations: 1.688 kB / 302.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.1294, allocations: 84.25 kB / 302.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1294, allocations: 6.922 kB / 302.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.1294, allocations: 11.22 kB / 302.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1294, allocations: 1.562 kB / 302.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1294, allocations: 0 / 302.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.1298, allocations: 369.9 kB / 302.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.1298, allocations: 44.09 kB / 302.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.1299, allocations: 16.61 kB / 303 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.13, allocations: 9.25 kB / 303 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.13, allocations: 18.86 kB / 303 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.1301, allocations: 12.2 kB / 303 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.1302, allocations: 181.4 kB / 303.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1302, allocations: 0 / 303.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004025/0.1306, allocations: 119.9 kB / 303.3 MB, free: 11.62 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,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 (25): * Single equations (assignments): 22 * 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.001327/0.132, allocations: 0.5611 MB / 303.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.1323, allocations: 305 kB / 304.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/0.1323, allocations: 4.594 kB / 304.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1324, allocations: 174.9 kB / 304.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.1327, allocations: 94.66 kB / 304.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009752/0.1337, allocations: 0.8228 MB / 305.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.635e-05/0.1338, allocations: 132 kB / 305.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00015/0.1339, allocations: 55.39 kB / 305.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.1341, allocations: 126.8 kB / 305.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1341, allocations: 0 / 305.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of Templates: time 0.008792/0.1429, allocations: 5.205 MB / 310.7 MB, free: 6.336 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.951716753654182]