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.001017/0.001017, allocations: 89.06 kB / 19.64 MB, free: 272 kB / 13.93 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.001054/0.001054, allocations: 169 kB / 23.02 MB, free: 1.543 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 1.065/1.065, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.03738/0.03738, allocations: 8.612 MB / 268.6 MB, free: 4.934 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.533e-06/1.533e-06, allocations: 0 / 340.8 MB, free: 9.469 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.816e-05, allocations: 5.125 kB / 340.9 MB, free: 9.465 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.002868/0.002886, allocations: 2.44 MB / 343.3 MB, free: 7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.004905, allocations: 1.649 MB / 344.9 MB, free: 5.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.00508, allocations: 23.75 kB / 345 MB, free: 5.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006228/0.005703, allocations: 230.8 kB / 345.2 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.006056, allocations: 214.8 kB / 345.4 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009628/0.007019, allocations: 462.7 kB / 345.8 MB, free: 4.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.007527, allocations: 0.5943 MB / 346.4 MB, free: 3.836 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.007674, allocations: 65.08 kB / 346.5 MB, free: 3.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.007951, allocations: 299.3 kB / 346.8 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.008174, allocations: 211.4 kB / 347 MB, free: 3.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.008223, allocations: 36 kB / 347 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.008432, allocations: 155.8 kB / 347.2 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.008568, allocations: 163.4 kB / 347.4 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.008683, allocations: 131.5 kB / 347.5 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.009144, allocations: 466.3 kB / 347.9 MB, free: 2.336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.009147, allocations: 3.938 kB / 347.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.009148, allocations: 7.938 kB / 347.9 MB, free: 2.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.009154, allocations: 0 / 347.9 MB, free: 2.324 MB / 314.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.001001/0.01016, allocations: 0.9632 MB / 348.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.01019, allocations: 8.031 kB / 348.9 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.0103, allocations: 96.45 kB / 349 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.01077, allocations: 425.7 kB / 349.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.0108, allocations: 29.38 kB / 349.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.01086, allocations: 44.3 kB / 349.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.01129, allocations: 403.1 kB / 349.9 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.01131, allocations: 15.89 kB / 349.9 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.01133, allocations: 16 kB / 349.9 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.01135, allocations: 8 kB / 349.9 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.0116, allocations: 197.4 kB / 350.1 MB, free: 8 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.01342, allocations: 2.067 MB / 352.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.01367, allocations: 181.1 kB / 352.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.01377, allocations: 93.59 kB / 352.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.01379, allocations: 12.17 kB / 352.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.01401, allocations: 211.6 kB / 352.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.01402, allocations: 3.938 kB / 352.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005015/0.01452, allocations: 428.6 kB / 353.1 MB, free: 12.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.01455, allocations: 89.09 kB / 353.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.01492, allocations: 0.5181 MB / 353.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.01494, allocations: 33.7 kB / 353.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.0151, allocations: 343.2 kB / 354.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.675e-05/0.01517, allocations: 123 kB / 354.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.01527, allocations: 107.8 kB / 354.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.01541, allocations: 0.5469 MB / 354.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.01553, allocations: 94.81 kB / 354.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.01576, allocations: 350 kB / 355.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.01621, allocations: 0.544 MB / 355.8 MB, free: 9.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.01622, allocations: 4 kB / 355.8 MB, free: 9.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000491/0.01671, allocations: 0.5056 MB / 356.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.01674, allocations: 37.64 kB / 356.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01674, allocations: 4 kB / 356.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.01676, allocations: 8 kB / 356.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.01702, allocations: 111.8 kB / 356.5 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.01703, allocations: 8 kB / 356.5 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.01716, allocations: 63.92 kB / 356.6 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.01718, allocations: 31.98 kB / 356.6 MB, free: 9.051 MB / 330.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.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.0001856/0.01737, allocations: 253.9 kB / 356.8 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.01743, allocations: 71.62 kB / 356.9 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004338/0.01787, allocations: 398.5 kB / 357.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01787, allocations: 4 kB / 357.3 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01787, allocations: 0 / 357.3 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01788, allocations: 0 / 357.3 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.01815, allocations: 352.2 kB / 357.7 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.01815, allocations: 4 kB / 357.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.01837, allocations: 67.91 kB / 357.7 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.01837, allocations: 4 kB / 357.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.0184, allocations: 11.98 kB / 357.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.01841, allocations: 7.938 kB / 357.7 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01841, allocations: 0 / 357.7 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/0.01914, allocations: 0.5262 MB / 358.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.875e-05/0.01924, allocations: 59.5 kB / 358.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.0193, allocations: 11.98 kB / 358.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.01945, allocations: 19.92 kB / 358.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.01952, allocations: 27.95 kB / 358.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.01955, allocations: 16 kB / 358.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002566/0.01981, allocations: 322.8 kB / 358.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01981, allocations: 0 / 358.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.02016, allocations: 123.8 kB / 358.8 MB, free: 6.703 MB / 330.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.0009652/0.02112, allocations: 454.8 kB / 359.3 MB, free: 6.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.02162, allocations: 380.3 kB / 359.7 MB, free: 6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02162, allocations: 384 / 359.7 MB, free: 6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.02178, allocations: 204.7 kB / 359.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.02211, allocations: 97.69 kB / 359.9 MB, free: 5.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.02322, allocations: 0.9211 MB / 360.9 MB, free: 4.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.705e-05/0.02332, allocations: 141.7 kB / 361 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.02349, allocations: 84.2 kB / 361.1 MB, free: 4.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.687e-05/0.02357, allocations: 44.48 kB / 361.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.02357, allocations: 0 / 361.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of Templates: time 0.009555/0.03313, allocations: 5.149 MB / 366.3 MB, free: 15.33 MB / 346.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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2491305670700967]