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.0008951/0.0008951, allocations: 80.75 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.001504/0.001504, allocations: 181 kB / 23.36 MB, free: 1.133 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.9865/0.9865, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.03836/0.03836, allocations: 8.625 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.262e-06/1.262e-06, allocations: 0 / 288.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.643e-05, allocations: 2.312 kB / 288.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.1248/0.1248, allocations: 2.453 MB / 290.6 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.1275, allocations: 1.672 MB / 292.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.1278, allocations: 23.75 kB / 292.3 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006972/0.1285, allocations: 219.7 kB / 292.5 MB, free: 18.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.129, allocations: 212.8 kB / 292.7 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.13, allocations: 445.3 kB / 293.1 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008397/0.1308, allocations: 0.5964 MB / 293.7 MB, free: 17.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.131, allocations: 66.56 kB / 293.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.1315, allocations: 295 kB / 294.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.1318, allocations: 211.1 kB / 294.3 MB, free: 17.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.954e-05/0.1319, allocations: 33.78 kB / 294.3 MB, free: 17.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.1322, allocations: 167 kB / 294.5 MB, free: 17.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.1324, allocations: 150.5 kB / 294.6 MB, free: 17.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1325, allocations: 139.7 kB / 294.8 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.1331, allocations: 467.8 kB / 295.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1331, allocations: 0 / 295.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1331, allocations: 1.875 kB / 295.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1331, allocations: 4.688 kB / 295.2 MB, free: 17.14 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.0009792/0.1341, allocations: 0.8146 MB / 296 MB, free: 16.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1341, allocations: 10.22 kB / 296 MB, free: 16.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1342, allocations: 65.84 kB / 296.1 MB, free: 16.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.1347, allocations: 403.2 kB / 296.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.1348, allocations: 25.58 kB / 296.5 MB, free: 16.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.612e-05/0.1348, allocations: 37.62 kB / 296.6 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.1352, allocations: 367 kB / 296.9 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.1353, allocations: 14.33 kB / 296.9 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.1353, allocations: 17.09 kB / 296.9 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.1353, allocations: 9.359 kB / 297 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.1355, allocations: 158.9 kB / 297.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.137, allocations: 1.419 MB / 298.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.1372, allocations: 192.4 kB / 298.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.376e-05/0.1373, allocations: 81.34 kB / 298.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1373, allocations: 5.422 kB / 298.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.1375, allocations: 204.4 kB / 299 MB, free: 14.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 2.935e-06/0.1375, allocations: 1.594 kB / 299 MB, free: 14.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.000388/0.1379, allocations: 310.8 kB / 299.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.138, allocations: 91.52 kB / 299.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.1383, allocations: 455.4 kB / 299.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1384, allocations: 34.12 kB / 299.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1385, allocations: 239 kB / 300.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.1385, allocations: 121.2 kB / 300.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.1387, allocations: 104 kB / 300.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.1387, allocations: 379.1 kB / 300.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.1388, allocations: 76.53 kB / 300.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.139, allocations: 264.1 kB / 301 MB, free: 13.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.1394, allocations: 459.9 kB / 301.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1394, allocations: 1.344 kB / 301.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004408/0.1398, allocations: 375.5 kB / 301.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.1399, allocations: 38.52 kB / 301.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1399, allocations: 5.344 kB / 301.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1399, allocations: 12.25 kB / 301.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.1403, allocations: 129.5 kB / 302 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1403, allocations: 11.16 kB / 302 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1405, allocations: 56.77 kB / 302.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.1405, allocations: 22.06 kB / 302.1 MB, free: 12.48 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.0001772/0.1407, allocations: 215.1 kB / 302.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.1407, allocations: 40.53 kB / 302.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.141, allocations: 309.6 kB / 302.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.141, allocations: 3.359 kB / 302.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.1411, allocations: 3.703 kB / 302.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1411, allocations: 0 / 302.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1413, allocations: 218 kB / 302.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1413, allocations: 4.719 kB / 302.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.1416, allocations: 76.75 kB / 303 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1416, allocations: 4.25 kB / 303 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.1417, allocations: 10.91 kB / 303 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1417, allocations: 5.938 kB / 303 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1417, allocations: 5.531 kB / 303 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.1421, allocations: 413 kB / 303.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1421, allocations: 52.95 kB / 303.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.1422, allocations: 14.19 kB / 303.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1423, allocations: 18.92 kB / 303.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.1424, allocations: 22.95 kB / 303.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.1424, allocations: 15.73 kB / 303.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.1426, allocations: 190.7 kB / 303.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1426, allocations: 0 / 303.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.1429, allocations: 127.9 kB / 303.8 MB, free: 11.56 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.001401/0.1443, allocations: 0.5513 MB / 304.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.1447, allocations: 339.9 kB / 304.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.1447, allocations: 5.656 kB / 304.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1449, allocations: 182.4 kB / 304.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1452, allocations: 93.8 kB / 305 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1462, allocations: 0.9268 MB / 305.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.061e-05/0.1463, allocations: 142 kB / 306.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.1464, allocations: 63.7 kB / 306.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.1466, allocations: 134.2 kB / 306.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1466, allocations: 0 / 306.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of Templates: time 0.009355/0.156, allocations: 5.602 MB / 311.9 MB, free: 5.344 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8280532881617546]