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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 197.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06481/0.06481, allocations: 11.35 MB / 317.5 MB, free: 13.91 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001933/0.001933, allocations: 71.89 kB / 442.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1124, allocations: 54.82 MB / 497.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.004324/0.1167, allocations: 2.49 MB / 0.4884 GB, free: 13.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.1196, allocations: 1.556 MB / 0.4899 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.1198, allocations: 19.81 kB / 0.4899 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007606/0.1205, allocations: 219 kB / 0.4901 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.121, allocations: 167.2 kB / 0.4903 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1221, allocations: 454.6 kB / 0.4907 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007648/0.1229, allocations: 0.6139 MB / 0.4913 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.123, allocations: 61.06 kB / 0.4913 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.1233, allocations: 239 kB / 0.4916 GB, free: 10 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.1237, allocations: 262.9 kB / 0.4918 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.1238, allocations: 32 kB / 0.4919 GB, free: 9.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.124, allocations: 163.8 kB / 0.492 GB, free: 9.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.1242, allocations: 151.5 kB / 0.4922 GB, free: 9.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.1244, allocations: 226.5 kB / 0.4924 GB, free: 9.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007236/0.1251, allocations: 0.5795 MB / 0.4929 GB, free: 8.598 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1251, allocations: 0 / 0.4929 GB, free: 8.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1251, allocations: 0 / 0.4929 GB, free: 8.598 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1252, allocations: 0 / 0.4929 GB, free: 8.598 MB / 366.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.001692/0.1268, allocations: 0.9347 MB / 0.4939 GB, free: 7.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1269, allocations: 15.89 kB / 0.4939 GB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.127, allocations: 68.5 kB / 0.4939 GB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007704/0.1278, allocations: 479 kB / 0.4944 GB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.1278, allocations: 29.38 kB / 0.4944 GB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.1279, allocations: 44.08 kB / 0.4945 GB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.1287, allocations: 484.2 kB / 0.4949 GB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.1287, allocations: 7.938 kB / 0.4949 GB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.1288, allocations: 20 kB / 0.4949 GB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1288, allocations: 8 kB / 0.495 GB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.1294, allocations: 322.3 kB / 0.4953 GB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.1323, allocations: 1.92 MB / 0.4971 GB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.1327, allocations: 226.8 kB / 0.4974 GB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.133, allocations: 133 kB / 0.4975 GB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.133, allocations: 4.234 kB / 0.4975 GB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/0.1335, allocations: 244 kB / 0.4977 GB, free: 3.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 3.025e-06/0.1335, allocations: 4 kB / 0.4977 GB, free: 3.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001127/0.1346, allocations: 0.5488 MB / 0.4983 GB, free: 2.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.1347, allocations: 110.8 kB / 0.4984 GB, free: 2.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006837/0.1354, allocations: 0.5456 MB / 0.4989 GB, free: 2.184 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.1354, allocations: 33.7 kB / 0.4989 GB, free: 2.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.1357, allocations: 288.3 kB / 0.4992 GB, free: 1.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1358, allocations: 119 kB / 0.4993 GB, free: 1.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.1359, allocations: 114 kB / 0.4994 GB, free: 1.621 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.1362, allocations: 370.8 kB / 0.4998 GB, free: 1.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.1365, allocations: 140.9 kB / 0.4999 GB, free: 1.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.1369, allocations: 325.4 kB / 0.5002 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.139, allocations: 0.9368 MB / 0.5011 GB, free: 15.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.139, allocations: 3.938 kB / 0.5011 GB, free: 15.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001085/0.1401, allocations: 0.6481 MB / 0.5018 GB, free: 15.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.1402, allocations: 44.44 kB / 0.5018 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1402, allocations: 8 kB / 0.5018 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1402, allocations: 8 kB / 0.5018 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.1407, allocations: 111.8 kB / 0.5019 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.1407, allocations: 7.938 kB / 0.5019 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.141, allocations: 63.95 kB / 0.502 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.141, allocations: 31.98 kB / 0.502 GB, free: 14.75 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.0003915/0.1414, allocations: 263.8 kB / 0.5023 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.1415, allocations: 59.62 kB / 0.5023 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009499/0.1424, allocations: 492.2 kB / 0.5028 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1424, allocations: 4 kB / 0.5028 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1424, allocations: 0 / 0.5028 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1425, allocations: 3.984 kB / 0.5028 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005815/0.143, allocations: 477.1 kB / 0.5033 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.143, allocations: 0 / 0.5033 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.1435, allocations: 67.89 kB / 0.5033 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1435, allocations: 0 / 0.5033 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.1435, allocations: 16 kB / 0.5034 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1435, allocations: 3.984 kB / 0.5034 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1435, allocations: 0 / 0.5034 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1447, allocations: 0.6831 MB / 0.504 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1448, allocations: 132.6 kB / 0.5042 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.1449, allocations: 16 kB / 0.5042 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1451, allocations: 19.97 kB / 0.5042 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.1451, allocations: 23.97 kB / 0.5042 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.1452, allocations: 8 kB / 0.5042 GB, free: 12.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004729/0.1456, allocations: 378.8 kB / 0.5046 GB, free: 12.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1456, allocations: 0 / 0.5046 GB, free: 12.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004841/0.1461, allocations: 119.8 kB / 0.5047 GB, free: 11.91 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 (30): * Single equations (assignments): 27 * 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.001671/0.1478, allocations: 469.7 kB / 0.5051 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008606/0.1487, allocations: 464 kB / 0.5056 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1487, allocations: 0 / 0.5056 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.149, allocations: 219.2 kB / 0.5058 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.1495, allocations: 88.05 kB / 0.5059 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1514, allocations: 1.054 MB / 0.5069 GB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.152, allocations: 0.886 MB / 0.5078 GB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003184/0.1524, allocations: 96.3 kB / 0.5079 GB, free: 8.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1525, allocations: 47.42 kB / 0.5079 GB, free: 8.711 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1525, allocations: 0 / 0.5079 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Templates: time 0.01307/0.1655, allocations: 5.325 MB / 0.5131 GB, free: 3.41 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 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.936039929743856] Failed to read output from testmodel.py, exit status != 0: 0.17414817493408918 0.38343095699999996 0.255048676 Calling exit ...