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.0009169/0.0009169, allocations: 80.94 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.001095/0.001095, allocations: 173 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.9552/0.9552, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.03789/0.03789, allocations: 8.617 MB / 268.9 MB, free: 4.793 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.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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 288.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.541e-05, allocations: 2.312 kB / 288.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.1151/0.1151, allocations: 2.462 MB / 290.6 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1169, allocations: 1.578 MB / 292.1 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.1171, allocations: 23.12 kB / 292.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005776/0.1176, allocations: 220 kB / 292.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.118, allocations: 208 kB / 292.6 MB, free: 17.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.1186, allocations: 404 kB / 293 MB, free: 17.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.119, allocations: 0.5512 MB / 293.5 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1192, allocations: 56.45 kB / 293.6 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.1194, allocations: 276.3 kB / 293.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.1196, allocations: 195.1 kB / 294 MB, free: 17.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.1197, allocations: 32.09 kB / 294.1 MB, free: 17.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.1199, allocations: 160.9 kB / 294.2 MB, free: 17.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.12, allocations: 132.9 kB / 294.4 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.1201, allocations: 126.2 kB / 294.5 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.1205, allocations: 450.6 kB / 294.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.1205, allocations: 1.062 kB / 294.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1205, allocations: 2.469 kB / 294.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1205, allocations: 0 / 294.9 MB, free: 17.07 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0007128/0.1213, allocations: 0.7709 MB / 295.7 MB, free: 16.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.1213, allocations: 10.23 kB / 295.7 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.908e-05/0.1214, allocations: 62.78 kB / 295.8 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1217, allocations: 367.6 kB / 296.1 MB, free: 16.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1217, allocations: 24.06 kB / 296.2 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.1218, allocations: 39.73 kB / 296.2 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.1221, allocations: 342.5 kB / 296.5 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1221, allocations: 9.531 kB / 296.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.1221, allocations: 11.19 kB / 296.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1221, allocations: 9.25 kB / 296.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.1223, allocations: 146.5 kB / 296.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009031/0.1232, allocations: 1.346 MB / 298 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.1234, allocations: 177.5 kB / 298.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.1235, allocations: 80.84 kB / 298.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1235, allocations: 4.531 kB / 298.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.1236, allocations: 185.9 kB / 298.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/0.1236, allocations: 0.5312 kB / 298.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002623/0.1239, allocations: 274.9 kB / 298.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.1239, allocations: 84.66 kB / 298.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1242, allocations: 433.6 kB / 299.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1242, allocations: 32.45 kB / 299.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.1243, allocations: 231.5 kB / 299.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.1243, allocations: 93 kB / 299.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.1244, allocations: 88.34 kB / 299.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.1245, allocations: 367 kB / 300.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.1245, allocations: 73.44 kB / 300.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.1246, allocations: 236.3 kB / 300.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1249, allocations: 417.4 kB / 300.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1249, allocations: 2.594 kB / 300.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0002931/0.1252, allocations: 326.8 kB / 301.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.1252, allocations: 37.69 kB / 301.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1252, allocations: 6.406 kB / 301.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1252, allocations: 9.062 kB / 301.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1255, allocations: 96.34 kB / 301.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1255, allocations: 8.203 kB / 301.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1256, allocations: 46.55 kB / 301.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.1256, allocations: 17.34 kB / 301.3 MB, free: 12.6 MB / 266.7 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.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 (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.0001352/0.1257, allocations: 195.6 kB / 301.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.1258, allocations: 43.31 kB / 301.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.126, allocations: 270.6 kB / 301.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.126, allocations: 3.5 kB / 301.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.126, allocations: 5.5 kB / 301.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1261, allocations: 1.734 kB / 301.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.1262, allocations: 210.4 kB / 302 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1262, allocations: 0.75 kB / 302 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1264, allocations: 58.3 kB / 302.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1264, allocations: 1.375 kB / 302.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1265, allocations: 14.33 kB / 302.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1265, allocations: 1.922 kB / 302.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1265, allocations: 3.906 kB / 302.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.1268, allocations: 365 kB / 302.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.1268, allocations: 47.45 kB / 302.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.1268, allocations: 11.41 kB / 302.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.1269, allocations: 11.67 kB / 302.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.127, allocations: 19.83 kB / 302.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.127, allocations: 12.81 kB / 302.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1271, allocations: 182.2 kB / 302.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1271, allocations: 0 / 302.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.1274, allocations: 112.9 kB / 302.8 MB, free: 11.8 MB / 266.7 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.001079/0.1284, allocations: 0.562 MB / 303.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.1287, allocations: 300.6 kB / 303.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.1287, allocations: 5.938 kB / 303.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1288, allocations: 175.4 kB / 303.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.129, allocations: 82.78 kB / 304 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000763/0.1298, allocations: 0.7909 MB / 304.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.521e-05/0.1299, allocations: 137.3 kB / 304.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.13, allocations: 53.39 kB / 304.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.1302, allocations: 134.7 kB / 305.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1302, allocations: 0 / 305.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of Templates: time 0.006966/0.1371, allocations: 5.125 MB / 310.2 MB, free: 6.883 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8791328500956297]