Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001385/0.001385, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001518/0.001518, allocations: 219.2 kB / 22.99 MB, free: 4.914 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.0668/0.0668, allocations: 11.33 MB / 324.5 MB, free: 8.039 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.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.002269/0.002269, allocations: 67.89 kB / 452.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1088, allocations: 56.07 MB / 0.4964 GB, free: 1.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.00408/0.1129, allocations: 2.364 MB / 0.4987 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.1161, allocations: 1.599 MB / 0.5002 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.1164, allocations: 19.81 kB / 0.5003 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008622/0.1172, allocations: 226.9 kB / 0.5005 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.1178, allocations: 215.1 kB / 0.5007 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1189, allocations: 429.9 kB / 0.5011 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008235/0.1197, allocations: 0.6638 MB / 0.5017 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1199, allocations: 57.25 kB / 0.5018 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.1202, allocations: 239.1 kB / 0.502 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.1206, allocations: 246.9 kB / 0.5023 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.952e-05/0.1206, allocations: 32 kB / 0.5023 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.121, allocations: 151.9 kB / 0.5024 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.1212, allocations: 143.5 kB / 0.5026 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.1214, allocations: 170.9 kB / 0.5027 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000762/0.1221, allocations: 0.5601 MB / 0.5033 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1221, allocations: 0 / 0.5033 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1221, allocations: 4 kB / 0.5033 GB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1221, allocations: 0 / 0.5033 GB, free: 10.51 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.001593/0.1237, allocations: 0.828 MB / 0.5041 GB, free: 9.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1238, allocations: 8.031 kB / 0.5041 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.1239, allocations: 68.52 kB / 0.5042 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007431/0.1246, allocations: 394.8 kB / 0.5045 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-05/0.1247, allocations: 80.62 kB / 0.5046 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-05/0.1248, allocations: 47.92 kB / 0.5047 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007718/0.1256, allocations: 475 kB / 0.5051 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.1256, allocations: 3.984 kB / 0.5051 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.1257, allocations: 12 kB / 0.5051 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1257, allocations: 8 kB / 0.5051 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.1263, allocations: 324 kB / 0.5055 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.1289, allocations: 1.69 MB / 0.5071 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.1295, allocations: 228.1 kB / 0.5073 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.1297, allocations: 150.4 kB / 0.5075 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.1298, allocations: 4 kB / 0.5075 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.1302, allocations: 247.4 kB / 0.5077 GB, free: 5.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.1302, allocations: 0 / 0.5077 GB, free: 5.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001036/0.1312, allocations: 0.5517 MB / 0.5082 GB, free: 5.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.1313, allocations: 93.09 kB / 0.5083 GB, free: 5.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/0.1319, allocations: 0.5017 MB / 0.5088 GB, free: 4.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.1319, allocations: 33.7 kB / 0.5089 GB, free: 4.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.1322, allocations: 280.2 kB / 0.5091 GB, free: 4.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/0.1323, allocations: 91.28 kB / 0.5092 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1324, allocations: 90 kB / 0.5093 GB, free: 4.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.1326, allocations: 362.8 kB / 0.5096 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.1329, allocations: 158.5 kB / 0.5098 GB, free: 3.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.1333, allocations: 333.2 kB / 0.5101 GB, free: 3.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.135, allocations: 0.8095 MB / 0.5109 GB, free: 2.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.135, allocations: 4 kB / 0.5109 GB, free: 2.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009959/0.136, allocations: 0.5822 MB / 0.5115 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.1361, allocations: 41.69 kB / 0.5115 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1361, allocations: 4 kB / 0.5115 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1361, allocations: 8 kB / 0.5115 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.1367, allocations: 99.88 kB / 0.5116 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.1367, allocations: 11.94 kB / 0.5116 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.137, allocations: 52 kB / 0.5117 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.137, allocations: 20 kB / 0.5117 GB, free: 1.363 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 (51): * Single equations (assignments): 50 * 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.0003516/0.1374, allocations: 254.3 kB / 0.5119 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.1374, allocations: 51.66 kB / 0.512 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009068/0.1384, allocations: 497.6 kB / 0.5125 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1384, allocations: 0 / 0.5125 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1384, allocations: 7.938 kB / 0.5125 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1384, allocations: 3.984 kB / 0.5125 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.1388, allocations: 333 kB / 0.5128 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1388, allocations: 0 / 0.5128 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/0.1394, allocations: 75.89 kB / 0.5129 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.1394, allocations: 4 kB / 0.5129 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.1395, allocations: 8 kB / 0.5129 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1395, allocations: 0 / 0.5129 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1395, allocations: 0 / 0.5129 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2284/0.3679, allocations: 0.6734 MB / 0.5135 GB, free: 23.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.771e-05/0.368, allocations: 48.41 kB / 0.5136 GB, free: 23.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.368, allocations: 9.5 kB / 0.5136 GB, free: 23.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.3682, allocations: 14.77 kB / 0.5136 GB, free: 23.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.3683, allocations: 26.25 kB / 0.5136 GB, free: 23.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.3683, allocations: 13.34 kB / 0.5136 GB, free: 23.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003453/0.3687, allocations: 341.8 kB / 0.514 GB, free: 23.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3687, allocations: 0.5312 kB / 0.514 GB, free: 23.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.3691, allocations: 115.5 kB / 0.5141 GB, free: 23.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,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 (25): * Single equations (assignments): 22 * 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.001647/0.3708, allocations: 485.4 kB / 0.5145 GB, free: 23.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006927/0.3714, allocations: 468.8 kB / 0.515 GB, free: 22.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3715, allocations: 0 / 0.515 GB, free: 22.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.3717, allocations: 239 kB / 0.5152 GB, free: 22.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.3721, allocations: 75.09 kB / 0.5153 GB, free: 22.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.3734, allocations: 0.9876 MB / 0.5163 GB, free: 22.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.3736, allocations: 267 kB / 0.5165 GB, free: 22.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.3737, allocations: 38.34 kB / 0.5165 GB, free: 22.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3737, allocations: 0.7656 kB / 0.5165 GB, free: 22.27 MB / 382.1 MB Notification: Performance of Templates: time 0.01176/0.3854, allocations: 6.46 MB / 0.5229 GB, free: 21.69 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.107391359750181] Failed to read output from testmodel.py, exit status != 0: 0.3941967347636819 0.406491168 0.281636025 Calling exit ...