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.00157/0.00157, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002398/0.002398, allocations: 211.3 kB / 22.24 MB, free: 4.855 MB / 14.72 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.603/1.603, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.06863/0.06863, allocations: 11.34 MB / 323.8 MB, free: 8.078 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 72.12 kB / 451.5 MB, free: 9.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1345, allocations: 56.07 MB / 0.4956 GB, free: 1.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.005036/0.1396, allocations: 2.353 MB / 0.4979 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.143, allocations: 1.603 MB / 0.4995 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.1432, allocations: 23.75 kB / 0.4995 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.144, allocations: 231 kB / 0.4997 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005059/0.1445, allocations: 207 kB / 0.4999 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1455, allocations: 430.1 kB / 0.5003 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008085/0.1463, allocations: 0.6762 MB / 0.501 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.1465, allocations: 53.25 kB / 0.5011 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.1468, allocations: 247.1 kB / 0.5013 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.1472, allocations: 250.8 kB / 0.5015 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.1472, allocations: 36 kB / 0.5016 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.1475, allocations: 163.8 kB / 0.5017 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.1477, allocations: 155.5 kB / 0.5019 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.1479, allocations: 170.9 kB / 0.502 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007445/0.1486, allocations: 0.5911 MB / 0.5026 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1487, allocations: 0 / 0.5026 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1487, allocations: 0 / 0.5026 GB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1487, allocations: 0 / 0.5026 GB, free: 10.5 MB / 382.1 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.001544/0.1502, allocations: 0.8693 MB / 0.5035 GB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1502, allocations: 8.031 kB / 0.5035 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.1504, allocations: 68.52 kB / 0.5035 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007737/0.1511, allocations: 414.8 kB / 0.5039 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.1512, allocations: 29.38 kB / 0.504 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/0.1512, allocations: 40.12 kB / 0.504 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/0.1521, allocations: 0.4971 MB / 0.5045 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.1521, allocations: 11.94 kB / 0.5045 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.1521, allocations: 12 kB / 0.5045 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1521, allocations: 8 kB / 0.5045 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.1528, allocations: 356 kB / 0.5048 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.1555, allocations: 1.769 MB / 0.5066 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.156, allocations: 256.7 kB / 0.5068 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.1563, allocations: 166.7 kB / 0.507 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1563, allocations: 8.172 kB / 0.507 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004701/0.1568, allocations: 281.7 kB / 0.5073 GB, free: 5.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/0.1568, allocations: 0 / 0.5073 GB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001121/0.1579, allocations: 0.6136 MB / 0.5079 GB, free: 4.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.158, allocations: 93.11 kB / 0.5079 GB, free: 4.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.1586, allocations: 0.5292 MB / 0.5085 GB, free: 4.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.1587, allocations: 29.7 kB / 0.5085 GB, free: 4.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.1589, allocations: 296.5 kB / 0.5088 GB, free: 3.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.159, allocations: 115.1 kB / 0.5089 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.1592, allocations: 106.1 kB / 0.509 GB, free: 3.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1594, allocations: 370.8 kB / 0.5093 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.1597, allocations: 182.7 kB / 0.5095 GB, free: 3.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.1602, allocations: 380.5 kB / 0.5099 GB, free: 2.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.1622, allocations: 0.9447 MB / 0.5108 GB, free: 1.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1622, allocations: 4 kB / 0.5108 GB, free: 1.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001143/0.1633, allocations: 0.6923 MB / 0.5115 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.1634, allocations: 45.62 kB / 0.5115 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1634, allocations: 4 kB / 0.5115 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.1634, allocations: 8 kB / 0.5115 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.1639, allocations: 112.4 kB / 0.5116 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1639, allocations: 12 kB / 0.5117 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.1641, allocations: 63.55 kB / 0.5117 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.1642, allocations: 24 kB / 0.5117 GB, free: 0.6367 MB / 382.1 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.0003539/0.1645, allocations: 267 kB / 0.512 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.869e-05/0.1646, allocations: 59.61 kB / 0.512 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2458/0.4104, allocations: 0.5231 MB / 0.5126 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.4104, allocations: 1.719 kB / 0.5126 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4104, allocations: 1.625 kB / 0.5126 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4104, allocations: 1.453 kB / 0.5126 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.4109, allocations: 346.6 kB / 0.5129 GB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4109, allocations: 0.5312 kB / 0.5129 GB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.4113, allocations: 74.52 kB / 0.513 GB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4113, allocations: 1.312 kB / 0.513 GB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.4113, allocations: 18.22 kB / 0.513 GB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4113, allocations: 1.188 kB / 0.513 GB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4113, allocations: 1.219 kB / 0.513 GB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009692/0.4123, allocations: 0.7483 MB / 0.5137 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.4124, allocations: 50.97 kB / 0.5138 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/0.4124, allocations: 21.86 kB / 0.5138 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4126, allocations: 14.84 kB / 0.5138 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.4127, allocations: 25.67 kB / 0.5138 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.4127, allocations: 15.72 kB / 0.5138 GB, free: 23.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003483/0.4131, allocations: 361.3 kB / 0.5142 GB, free: 23.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4131, allocations: 2.938 kB / 0.5142 GB, free: 23.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.4135, allocations: 121.8 kB / 0.5143 GB, free: 23.64 MB / 382.1 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.001665/0.4152, allocations: 489.5 kB / 0.5148 GB, free: 23.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007969/0.416, allocations: 0.5176 MB / 0.5153 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.416, allocations: 0 / 0.5153 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.4163, allocations: 256.2 kB / 0.5155 GB, free: 23.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.4167, allocations: 88.48 kB / 0.5156 GB, free: 23.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.418, allocations: 1.083 MB / 0.5167 GB, free: 22.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.4183, allocations: 286.5 kB / 0.5169 GB, free: 22.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002342/0.4185, allocations: 99.38 kB / 0.517 GB, free: 22.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.4186, allocations: 47.16 kB / 0.5171 GB, free: 22.67 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4186, allocations: 0 / 0.5171 GB, free: 22.67 MB / 382.1 MB Notification: Performance of Templates: time 0.01332/0.4319, allocations: 5.534 MB / 0.5225 GB, free: 22.09 MB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.551637658849359] Failed to read output from testmodel.py, exit status != 0: 0.44083451107144356 0.454833375 0.303343043 Calling exit ...