Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_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.001516/0.001516, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001937/0.001937, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.647/1.647, allocations: 230.6 MB / 256 MB, free: 7.789 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.06528/0.06528, allocations: 11.35 MB / 323.8 MB, free: 8.105 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.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001945/0.001945, allocations: 71.89 kB / 451.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1282, allocations: 56.08 MB / 0.4956 GB, free: 1.645 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.004954/0.1331, allocations: 2.346 MB / 0.4979 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003363/0.1365, allocations: 1.509 MB / 0.4994 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003868/0.1369, allocations: 23.75 kB / 0.4994 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008275/0.1377, allocations: 234.9 kB / 0.4997 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006761/0.1384, allocations: 203.1 kB / 0.4998 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1395, allocations: 393.8 kB / 0.5002 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009369/0.1404, allocations: 0.617 MB / 0.5008 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1406, allocations: 61.23 kB / 0.5009 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.141, allocations: 223.2 kB / 0.5011 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.1414, allocations: 234.9 kB / 0.5013 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.248e-05/0.1415, allocations: 36 kB / 0.5014 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.1418, allocations: 147.9 kB / 0.5015 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.142, allocations: 139.5 kB / 0.5016 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.1422, allocations: 170.9 kB / 0.5018 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007847/0.1429, allocations: 0.5445 MB / 0.5023 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1429, allocations: 3.938 kB / 0.5023 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1429, allocations: 0 / 0.5023 GB, free: 10.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.143, allocations: 0 / 0.5023 GB, free: 10.76 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.00146/0.1444, allocations: 0.8163 MB / 0.5031 GB, free: 9.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1444, allocations: 8.031 kB / 0.5031 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.1446, allocations: 72.45 kB / 0.5032 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007239/0.1453, allocations: 386.9 kB / 0.5036 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.1453, allocations: 21.03 kB / 0.5036 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.1454, allocations: 40.12 kB / 0.5036 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.1461, allocations: 459 kB / 0.5041 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.1462, allocations: 4 kB / 0.5041 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.1462, allocations: 16 kB / 0.5041 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1462, allocations: 12 kB / 0.5041 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.1468, allocations: 316 kB / 0.5044 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.1492, allocations: 1.612 MB / 0.506 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.1498, allocations: 228.3 kB / 0.5062 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.15, allocations: 150.4 kB / 0.5063 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.15, allocations: 4 kB / 0.5063 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.1505, allocations: 243.4 kB / 0.5066 GB, free: 6.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.1505, allocations: 0 / 0.5066 GB, free: 6.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001072/0.1515, allocations: 0.5514 MB / 0.5071 GB, free: 5.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.1516, allocations: 81.11 kB / 0.5072 GB, free: 5.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/0.1523, allocations: 0.4939 MB / 0.5077 GB, free: 4.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.1523, allocations: 33.7 kB / 0.5077 GB, free: 4.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.1526, allocations: 292.2 kB / 0.508 GB, free: 4.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.492e-05/0.1527, allocations: 91.28 kB / 0.5081 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.1528, allocations: 89.59 kB / 0.5082 GB, free: 4.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.153, allocations: 370.7 kB / 0.5085 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.1533, allocations: 154.1 kB / 0.5087 GB, free: 3.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.1537, allocations: 324.2 kB / 0.509 GB, free: 3.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.1557, allocations: 0.7817 MB / 0.5097 GB, free: 2.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.1557, allocations: 0 / 0.5097 GB, free: 2.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00121/0.1569, allocations: 0.5705 MB / 0.5103 GB, free: 2.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.157, allocations: 41.69 kB / 0.5103 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.157, allocations: 4 kB / 0.5103 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.157, allocations: 8 kB / 0.5103 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.1574, allocations: 83.89 kB / 0.5104 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.1574, allocations: 11.94 kB / 0.5104 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.1577, allocations: 52.03 kB / 0.5105 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.1577, allocations: 24 kB / 0.5105 GB, free: 1.871 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 (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.0005018/0.1583, allocations: 254.3 kB / 0.5107 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.1584, allocations: 47.67 kB / 0.5108 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009308/0.1593, allocations: 482 kB / 0.5112 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1593, allocations: 4 kB / 0.5113 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1593, allocations: 0 / 0.5113 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1593, allocations: 7.875 kB / 0.5113 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.1598, allocations: 325 kB / 0.5116 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1598, allocations: 0 / 0.5116 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.1601, allocations: 51.91 kB / 0.5116 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1601, allocations: 0 / 0.5116 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.1601, allocations: 11.98 kB / 0.5116 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1601, allocations: 8 kB / 0.5116 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1601, allocations: 4 kB / 0.5116 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2867/0.4469, allocations: 0.6672 MB / 0.5123 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.4471, allocations: 47.81 kB / 0.5123 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.4472, allocations: 14.59 kB / 0.5124 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.4474, allocations: 14 kB / 0.5124 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.4475, allocations: 19.81 kB / 0.5124 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.4475, allocations: 11.36 kB / 0.5124 GB, free: 23.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004251/0.448, allocations: 347.7 kB / 0.5127 GB, free: 23.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.448, allocations: 0 / 0.5127 GB, free: 23.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000595/0.4486, allocations: 120.1 kB / 0.5128 GB, free: 23.24 MB / 382.1 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.001762/0.4503, allocations: 485.3 kB / 0.5133 GB, free: 23.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007166/0.451, allocations: 450.2 kB / 0.5137 GB, free: 22.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.451, allocations: 0 / 0.5137 GB, free: 22.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.4513, allocations: 229.5 kB / 0.514 GB, free: 22.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.4517, allocations: 74.25 kB / 0.514 GB, free: 22.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.4531, allocations: 0.9048 MB / 0.5149 GB, free: 22.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.4534, allocations: 263.1 kB / 0.5152 GB, free: 22.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.4536, allocations: 74.19 kB / 0.5152 GB, free: 22.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.4537, allocations: 32.89 kB / 0.5153 GB, free: 22.36 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4537, allocations: 0 / 0.5153 GB, free: 22.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01195/0.4656, allocations: 5.065 MB / 0.5202 GB, free: 21.86 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.334716701880097] Failed to read output from testmodel.py, exit status != 0: 0.47493908554315567 0.48715196299999997 0.341277024 Calling exit ...