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.00109/0.00109, allocations: 80.94 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.001152/0.001152, allocations: 181 kB / 23.35 MB, free: 1.137 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.9547/0.9547, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.03727/0.03727, allocations: 8.616 MB / 268.9 MB, free: 4.773 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.222e-06/1.222e-06, allocations: 0 / 288.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.051e-05, allocations: 6.25 kB / 288.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.1041/0.1041, allocations: 2.404 MB / 290.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1062, allocations: 1.676 MB / 292.1 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.1064, allocations: 23.72 kB / 292.2 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.107, allocations: 224.4 kB / 292.4 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.1074, allocations: 216.9 kB / 292.6 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.1083, allocations: 456.4 kB / 293 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006224/0.1089, allocations: 0.5953 MB / 293.6 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1091, allocations: 68.16 kB / 293.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.1094, allocations: 300.2 kB / 294 MB, free: 17.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.1097, allocations: 208.8 kB / 294.2 MB, free: 17.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.1098, allocations: 33.62 kB / 294.2 MB, free: 17.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.11, allocations: 157 kB / 294.4 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.1102, allocations: 150.2 kB / 294.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1103, allocations: 135.1 kB / 294.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.1108, allocations: 471.9 kB / 295.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1108, allocations: 2.531 kB / 295.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1108, allocations: 0 / 295.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.1109, allocations: 2.469 kB / 295.1 MB, free: 17.02 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.0009207/0.1118, allocations: 0.8135 MB / 295.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1118, allocations: 9.406 kB / 296 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1119, allocations: 68.55 kB / 296 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.1124, allocations: 398 kB / 296.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.1124, allocations: 29.41 kB / 296.4 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.1124, allocations: 38.03 kB / 296.5 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.1128, allocations: 369.3 kB / 296.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1128, allocations: 11.73 kB / 296.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.1129, allocations: 20.38 kB / 296.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1129, allocations: 11.48 kB / 296.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.1131, allocations: 154.2 kB / 297 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.1143, allocations: 1.418 MB / 298.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.1145, allocations: 192.7 kB / 298.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.1145, allocations: 85.77 kB / 298.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1146, allocations: 5.969 kB / 298.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.1147, allocations: 205.1 kB / 298.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.734e-06/0.1148, allocations: 0 / 298.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003554/0.1151, allocations: 306.9 kB / 299.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.1151, allocations: 95.84 kB / 299.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.1155, allocations: 456.1 kB / 299.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1155, allocations: 32.05 kB / 299.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.1156, allocations: 240.1 kB / 300 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.1156, allocations: 120.4 kB / 300.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.669e-05/0.1157, allocations: 101.2 kB / 300.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.1158, allocations: 374.7 kB / 300.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.1159, allocations: 80.95 kB / 300.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.116, allocations: 260.6 kB / 300.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.1163, allocations: 456.9 kB / 301.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.1163, allocations: 1.406 kB / 301.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0003612/0.1167, allocations: 373.9 kB / 301.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.1167, allocations: 39.58 kB / 301.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1167, allocations: 5.844 kB / 301.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1168, allocations: 11.22 kB / 301.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.117, allocations: 106.7 kB / 301.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.117, allocations: 11.84 kB / 301.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1172, allocations: 63.69 kB / 302 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.1172, allocations: 19.62 kB / 302 MB, free: 12.36 MB / 266.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.0001947/0.1174, allocations: 211 kB / 302.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.1174, allocations: 41.02 kB / 302.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.1178, allocations: 299.3 kB / 302.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1178, allocations: 10.72 kB / 302.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1178, allocations: 3.188 kB / 302.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1178, allocations: 1.641 kB / 302.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.118, allocations: 223.5 kB / 302.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.118, allocations: 0.6875 kB / 302.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.1182, allocations: 63.78 kB / 302.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1182, allocations: 1.062 kB / 302.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.1183, allocations: 12.2 kB / 302.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1183, allocations: 0 / 302.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1183, allocations: 1.25 kB / 302.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.1186, allocations: 423 kB / 303.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.1187, allocations: 48.41 kB / 303.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.1187, allocations: 14.88 kB / 303.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.1188, allocations: 12.7 kB / 303.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.1188, allocations: 27.11 kB / 303.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1188, allocations: 12.12 kB / 303.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.119, allocations: 201.3 kB / 303.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.119, allocations: 0 / 303.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003141/0.1193, allocations: 123.8 kB / 303.7 MB, free: 11.5 MB / 266.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.00113/0.1204, allocations: 0.556 MB / 304.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.1208, allocations: 336 kB / 304.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.1208, allocations: 5.406 kB / 304.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.1209, allocations: 190.1 kB / 304.8 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1211, allocations: 82.56 kB / 304.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.1221, allocations: 0.9283 MB / 305.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.065e-05/0.1221, allocations: 141.2 kB / 305.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.1223, allocations: 60.25 kB / 306 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.1225, allocations: 135.4 kB / 306.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1225, allocations: 0 / 306.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of Templates: time 0.007553/0.13, allocations: 5.512 MB / 311.6 MB, free: 5.449 MB / 266.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: 2.8165538432076573]