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.001254/0.001254, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001469/0.001469, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.06793/0.06793, allocations: 11.34 MB / 324.5 MB, free: 8.035 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.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: 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.002294/0.002294, allocations: 67.89 kB / 452.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1082, allocations: 56.07 MB / 0.4964 GB, free: 1.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.004141/0.1123, allocations: 2.348 MB / 0.4987 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.1153, allocations: 1.603 MB / 0.5002 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.1156, allocations: 23.75 kB / 0.5003 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007635/0.1163, allocations: 223 kB / 0.5005 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005488/0.1169, allocations: 218 kB / 0.5007 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1179, allocations: 434.9 kB / 0.5011 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008161/0.1187, allocations: 0.6607 MB / 0.5017 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1189, allocations: 65.22 kB / 0.5018 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.1192, allocations: 243 kB / 0.502 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.1196, allocations: 254.9 kB / 0.5023 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.1196, allocations: 32 kB / 0.5023 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.1199, allocations: 163.8 kB / 0.5025 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.1201, allocations: 147.5 kB / 0.5026 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.1203, allocations: 186.8 kB / 0.5028 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007833/0.1211, allocations: 0.5795 MB / 0.5033 GB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1211, allocations: 4 kB / 0.5033 GB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1211, allocations: 0 / 0.5033 GB, free: 10.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1211, allocations: 3.938 kB / 0.5033 GB, free: 10.48 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001455/0.1226, allocations: 0.8693 MB / 0.5042 GB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1226, allocations: 8.031 kB / 0.5042 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1227, allocations: 64.52 kB / 0.5043 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.1234, allocations: 414.7 kB / 0.5047 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.1234, allocations: 29.38 kB / 0.5047 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.1235, allocations: 44.11 kB / 0.5047 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007609/0.1243, allocations: 0.4971 MB / 0.5052 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.1243, allocations: 7.938 kB / 0.5052 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.1243, allocations: 19.98 kB / 0.5052 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.1243, allocations: 15.98 kB / 0.5053 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.125, allocations: 352 kB / 0.5056 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.1277, allocations: 1.757 MB / 0.5073 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.1282, allocations: 260.6 kB / 0.5076 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.1284, allocations: 166.7 kB / 0.5077 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1285, allocations: 8.172 kB / 0.5077 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004667/0.1289, allocations: 289.7 kB / 0.508 GB, free: 5.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.1289, allocations: 0 / 0.508 GB, free: 5.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001101/0.13, allocations: 0.6137 MB / 0.5086 GB, free: 4.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.1301, allocations: 93.09 kB / 0.5087 GB, free: 4.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006506/0.1308, allocations: 0.5292 MB / 0.5092 GB, free: 4.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1308, allocations: 33.7 kB / 0.5092 GB, free: 4.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.1311, allocations: 292.5 kB / 0.5095 GB, free: 3.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.1312, allocations: 119 kB / 0.5096 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.1313, allocations: 106.1 kB / 0.5097 GB, free: 3.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1315, allocations: 366.8 kB / 0.5101 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.1318, allocations: 174.7 kB / 0.5103 GB, free: 3.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.1323, allocations: 372.7 kB / 0.5106 GB, free: 2.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.1343, allocations: 0.9563 MB / 0.5115 GB, free: 1.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1343, allocations: 0 / 0.5115 GB, free: 1.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001094/0.1354, allocations: 0.6924 MB / 0.5122 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.1354, allocations: 33.7 kB / 0.5122 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.1355, allocations: 4 kB / 0.5123 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.1355, allocations: 8 kB / 0.5123 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.1359, allocations: 112.4 kB / 0.5124 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.1359, allocations: 19.92 kB / 0.5124 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.1362, allocations: 59.61 kB / 0.5124 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.1362, allocations: 24 kB / 0.5125 GB, free: 0.6211 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.0003488/0.1366, allocations: 271 kB / 0.5127 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.1367, allocations: 55.61 kB / 0.5128 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2255/0.3622, allocations: 0.5248 MB / 0.5133 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-06/0.3622, allocations: 1.281 kB / 0.5133 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3622, allocations: 3.25 kB / 0.5133 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3622, allocations: 2.016 kB / 0.5133 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005479/0.3627, allocations: 349 kB / 0.5136 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3627, allocations: 0.5312 kB / 0.5136 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.3632, allocations: 70.97 kB / 0.5137 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.3632, allocations: 1.438 kB / 0.5137 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.3632, allocations: 13.83 kB / 0.5137 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.3632, allocations: 5.969 kB / 0.5137 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3632, allocations: 0.6562 kB / 0.5137 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3643, allocations: 0.7517 MB / 0.5145 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.3644, allocations: 51.16 kB / 0.5145 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.3644, allocations: 19.67 kB / 0.5145 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.3646, allocations: 17.09 kB / 0.5145 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.3647, allocations: 24.61 kB / 0.5146 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.3647, allocations: 13.58 kB / 0.5146 GB, free: 22.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004042/0.3651, allocations: 366.5 kB / 0.5149 GB, free: 22.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3651, allocations: 0 / 0.5149 GB, free: 22.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004977/0.3656, allocations: 127.4 kB / 0.515 GB, free: 22.9 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 (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.001671/0.3673, allocations: 495.9 kB / 0.5155 GB, free: 22.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007593/0.3681, allocations: 0.512 MB / 0.516 GB, free: 22.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3681, allocations: 0 / 0.516 GB, free: 22.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.3684, allocations: 254.7 kB / 0.5163 GB, free: 22.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.3688, allocations: 90.75 kB / 0.5163 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.3701, allocations: 1.134 MB / 0.5175 GB, free: 22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.3704, allocations: 285.8 kB / 0.5177 GB, free: 21.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3705, allocations: 42.95 kB / 0.5178 GB, free: 21.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3705, allocations: 0 / 0.5178 GB, free: 21.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01195/0.3824, allocations: 7.017 MB / 0.5246 GB, free: 21.25 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.188950090203434] Failed to read output from testmodel.py, exit status != 0: 0.39083898812532425 0.40233954200000005 0.278651128 Calling exit ...