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.001447/0.001447, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002379/0.002379, allocations: 212.4 kB / 22.24 MB, free: 5.238 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.632/1.632, allocations: 230.6 MB / 256 MB, free: 7.797 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.0648/0.0648, allocations: 11.35 MB / 323.8 MB, free: 8.02 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.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: 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.002086/0.002086, allocations: 71.83 kB / 451.5 MB, free: 9.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1286, allocations: 56.07 MB / 0.4956 GB, free: 1.637 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.004457/0.1331, allocations: 2.358 MB / 0.4979 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.1363, allocations: 1.607 MB / 0.4995 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.1365, allocations: 19.81 kB / 0.4995 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008709/0.1374, allocations: 230.9 kB / 0.4997 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.1379, allocations: 203.1 kB / 0.4999 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.139, allocations: 433.2 kB / 0.5004 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008731/0.1398, allocations: 0.6521 MB / 0.501 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.14, allocations: 73.22 kB / 0.5011 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.1404, allocations: 231.1 kB / 0.5013 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.1407, allocations: 250.9 kB / 0.5015 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.1408, allocations: 32 kB / 0.5016 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.1411, allocations: 151.9 kB / 0.5017 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.1413, allocations: 147.5 kB / 0.5018 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.1415, allocations: 166.9 kB / 0.502 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000757/0.1422, allocations: 0.5639 MB / 0.5025 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.1422, allocations: 4 kB / 0.5025 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1422, allocations: 0 / 0.5025 GB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1423, allocations: 4 kB / 0.5026 GB, free: 10.51 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001588/0.1438, allocations: 0.8241 MB / 0.5034 GB, free: 9.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1439, allocations: 12.03 kB / 0.5034 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.144, allocations: 64.52 kB / 0.5034 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.1447, allocations: 382.9 kB / 0.5038 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.1448, allocations: 84.61 kB / 0.5039 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.1449, allocations: 43.94 kB / 0.5039 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/0.1457, allocations: 479 kB / 0.5044 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.1457, allocations: 0 / 0.5044 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.1457, allocations: 16 kB / 0.5044 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1458, allocations: 12 kB / 0.5044 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.1463, allocations: 320 kB / 0.5047 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.1489, allocations: 1.694 MB / 0.5064 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.1495, allocations: 229.7 kB / 0.5066 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.1497, allocations: 150.5 kB / 0.5067 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.1497, allocations: 4 kB / 0.5067 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004121/0.1501, allocations: 247.4 kB / 0.507 GB, free: 5.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.693e-06/0.1501, allocations: 0 / 0.507 GB, free: 5.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001045/0.1512, allocations: 0.5556 MB / 0.5075 GB, free: 5.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.1513, allocations: 81.11 kB / 0.5076 GB, free: 5.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.1519, allocations: 0.4978 MB / 0.5081 GB, free: 4.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.1519, allocations: 37.7 kB / 0.5081 GB, free: 4.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.1521, allocations: 284.2 kB / 0.5084 GB, free: 4.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/0.1522, allocations: 99.27 kB / 0.5085 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1524, allocations: 86.02 kB / 0.5086 GB, free: 4.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1526, allocations: 362.8 kB / 0.5089 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.1528, allocations: 154.5 kB / 0.509 GB, free: 3.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.1533, allocations: 339.7 kB / 0.5094 GB, free: 3.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.155, allocations: 0.8056 MB / 0.5102 GB, free: 2.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.155, allocations: 4 kB / 0.5102 GB, free: 2.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009887/0.156, allocations: 0.5901 MB / 0.5107 GB, free: 1.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.156, allocations: 37.69 kB / 0.5108 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.156, allocations: 4 kB / 0.5108 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1561, allocations: 8 kB / 0.5108 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.1567, allocations: 99.88 kB / 0.5109 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.1567, allocations: 11.94 kB / 0.5109 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1569, allocations: 51.66 kB / 0.5109 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.157, allocations: 24.22 kB / 0.511 GB, free: 1.367 MB / 382.1 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.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 (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.0003798/0.1573, allocations: 258.3 kB / 0.5112 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.1574, allocations: 47.67 kB / 0.5113 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.1583, allocations: 489.7 kB / 0.5117 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1583, allocations: 7.922 kB / 0.5117 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.1583, allocations: 4 kB / 0.5117 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1583, allocations: 4 kB / 0.5117 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.1588, allocations: 332.9 kB / 0.5121 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1588, allocations: 4 kB / 0.5121 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/0.1594, allocations: 63.89 kB / 0.5121 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1594, allocations: 8 kB / 0.5121 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.1594, allocations: 8 kB / 0.5121 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1595, allocations: 3.984 kB / 0.5121 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1595, allocations: 0 / 0.5121 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2971/0.4566, allocations: 0.6679 MB / 0.5128 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/0.4567, allocations: 52.05 kB / 0.5128 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.4567, allocations: 9.25 kB / 0.5129 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.4569, allocations: 15.23 kB / 0.5129 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.457, allocations: 23.58 kB / 0.5129 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.457, allocations: 14.73 kB / 0.5129 GB, free: 23.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003768/0.4574, allocations: 347 kB / 0.5132 GB, free: 23.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4574, allocations: 0 / 0.5132 GB, free: 23.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004619/0.4578, allocations: 114.5 kB / 0.5133 GB, free: 23.21 MB / 382.1 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.001713/0.4596, allocations: 489 kB / 0.5138 GB, free: 23.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007623/0.4603, allocations: 467.9 kB / 0.5143 GB, free: 22.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4603, allocations: 0 / 0.5143 GB, free: 22.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.4606, allocations: 235.4 kB / 0.5145 GB, free: 22.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.461, allocations: 70.55 kB / 0.5145 GB, free: 22.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.4622, allocations: 0.9427 MB / 0.5155 GB, free: 22.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.4625, allocations: 271 kB / 0.5157 GB, free: 22.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00021/0.4627, allocations: 78.84 kB / 0.5158 GB, free: 22.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.4628, allocations: 36.53 kB / 0.5158 GB, free: 22.31 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4628, allocations: 0 / 0.5158 GB, free: 22.31 MB / 382.1 MB Notification: Performance of Templates: time 0.01142/0.4742, allocations: 5.159 MB / 0.5209 GB, free: 21.81 MB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.373448457568884] Failed to read output from testmodel.py, exit status != 0: 0.48272156715393066 0.495837965 0.35050372999999996 Calling exit ...