Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.001016/0.001016, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002494, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001087/0.001087, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002418, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9669/0.9669, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.097/1.064, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04347/0.04347, allocations: 9.792 MB / 253.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007345/0.05082, allocations: 3.476 MB / 257.2 MB, free: 2.121 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 258.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.465e-05, allocations: 5.547 kB / 258.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.006405/0.00643, allocations: 2.482 MB / 261 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005542/0.01197, allocations: 1.68 MB / 262.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.01225, allocations: 15.81 kB / 262.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.01285, allocations: 230.8 kB / 262.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.01328, allocations: 214.9 kB / 263.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008735/0.01416, allocations: 446.7 kB / 263.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003661/0.01782, allocations: 0.578 MB / 264.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.01797, allocations: 65.17 kB / 264.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.01835, allocations: 339.6 kB / 264.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.01862, allocations: 207.4 kB / 264.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.01867, allocations: 36 kB / 264.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.01896, allocations: 171.7 kB / 264.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.01908, allocations: 115.6 kB / 265.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.01919, allocations: 95.69 kB / 265.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.0197, allocations: 410.4 kB / 265.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.63e-05/0.01971, allocations: 0 / 265.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01971, allocations: 4 kB / 265.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.01973, allocations: 0 / 265.6 MB, free: 9.746 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.004098/0.02383, allocations: 0.8848 MB / 266.4 MB, free: 8.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.02386, allocations: 12.03 kB / 266.4 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.987e-05/0.02396, allocations: 68.88 kB / 266.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.02444, allocations: 372.2 kB / 266.9 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.02451, allocations: 84.56 kB / 267 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.02457, allocations: 48.31 kB / 267 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.02497, allocations: 358.1 kB / 267.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.02499, allocations: 0 / 267.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.02502, allocations: 16 kB / 267.4 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.02503, allocations: 8 kB / 267.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.02524, allocations: 152.9 kB / 267.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004448/0.02968, allocations: 1.38 MB / 268.9 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.02995, allocations: 178 kB / 269.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.03003, allocations: 78.77 kB / 269.2 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.03006, allocations: 7.984 kB / 269.2 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.0303, allocations: 205.4 kB / 269.4 MB, free: 5.684 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.894e-06/0.0303, allocations: 0 / 269.4 MB, free: 5.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.000363/0.03066, allocations: 294.8 kB / 269.7 MB, free: 5.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.03071, allocations: 88.97 kB / 269.7 MB, free: 5.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.03104, allocations: 436.7 kB / 270.2 MB, free: 4.824 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.03106, allocations: 33.7 kB / 270.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.03119, allocations: 233.2 kB / 270.4 MB, free: 4.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.03126, allocations: 99.14 kB / 270.5 MB, free: 4.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.03136, allocations: 98.06 kB / 270.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.03148, allocations: 370.7 kB / 271 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.349e-05/0.03157, allocations: 77.5 kB / 271.1 MB, free: 3.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.03175, allocations: 254.2 kB / 271.3 MB, free: 3.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.03213, allocations: 440.6 kB / 271.7 MB, free: 3.062 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.03214, allocations: 4 kB / 271.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003864/0.03252, allocations: 357.6 kB / 272.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.03257, allocations: 45.69 kB / 272.1 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.03258, allocations: 4 kB / 272.1 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.03259, allocations: 4 kB / 272.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.03307, allocations: 131.1 kB / 272.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.03308, allocations: 11.94 kB / 272.3 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.03324, allocations: 51.81 kB / 272.3 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.03326, allocations: 24 kB / 272.4 MB, free: 2.422 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 ) \"Delayed input vector\" type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" 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 ) \"Delayed input vector\" type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" 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,R.ATreq_in,R.satHIGH_in,R.satLOW_in,R_track.ATreq_in,R_track.satHIGH_in,R_track.satLOW_in,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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.0001924/0.03346, allocations: 194.1 kB / 272.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.03351, allocations: 43.89 kB / 272.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.03385, allocations: 278.6 kB / 272.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.03385, allocations: 7.984 kB / 272.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.03385, allocations: 0 / 272.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.03386, allocations: 0 / 272.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.03413, allocations: 221.5 kB / 273.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.03414, allocations: 0 / 273.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.03466, allocations: 91.78 kB / 273.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.03472, allocations: 59.59 kB / 273.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.03473, allocations: 0 / 273.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.03476, allocations: 11.98 kB / 273.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.03476, allocations: 0 / 273.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03476, allocations: 0 / 273.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.03526, allocations: 393.5 kB / 273.6 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.03532, allocations: 11.98 kB / 273.6 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.03543, allocations: 12 kB / 273.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.03549, allocations: 20.42 kB / 273.7 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.03552, allocations: 15.94 kB / 273.7 MB, free: 1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.0357, allocations: 183.2 kB / 273.9 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.0357, allocations: 0 / 273.9 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004069/0.03611, allocations: 123.7 kB / 274 MB, free: 0.6992 MB / 266.7 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 (27): * Single equations (assignments): 24 * 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.001721/0.03783, allocations: 0.608 MB / 274.6 MB, free: 352 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.1053/0.1431, allocations: 332.3 kB / 274.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-05/0.1432, allocations: 7.609 kB / 274.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.1435, allocations: 180 kB / 275.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.1439, allocations: 105 kB / 275.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1453, allocations: 0.8146 MB / 276 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.1455, allocations: 136.5 kB / 276.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.1457, allocations: 55.66 kB / 276.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.1459, allocations: 130.2 kB / 276.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of SimCode: time 2.134e-06/0.1459, allocations: 1.188 kB / 276.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of Templates: time 0.01169/0.1576, allocations: 5.415 MB / 281.8 MB, free: 11.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.951720447279513]