Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.0005947/0.0005947, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008626/0.001457, allocations: 440 kB / 10.41 MB, free: 284 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.0006775/0.0006775, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008617/0.001539, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9134/0.9134, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08731/1.001, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.03912/0.03912, allocations: 8.609 MB / 252.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007184/0.0463, allocations: 3.133 MB / 255.9 MB, free: 3.5 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.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 3.984 kB / 257.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.33e-05, allocations: 5.969 kB / 257.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.006823/0.006847, allocations: 2.466 MB / 259.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005625/0.01247, allocations: 1.675 MB / 261.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.01271, allocations: 23.75 kB / 261.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005455/0.01325, allocations: 226.8 kB / 261.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.01368, allocations: 222.8 kB / 261.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008331/0.01451, allocations: 434.7 kB / 262.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.0151, allocations: 0.5827 MB / 262.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.01523, allocations: 69.09 kB / 262.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.0156, allocations: 351.6 kB / 263.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.01585, allocations: 207.4 kB / 263.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.0159, allocations: 36 kB / 263.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.01616, allocations: 159.8 kB / 263.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.01628, allocations: 123.5 kB / 263.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.01639, allocations: 99.69 kB / 263.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004597/0.01685, allocations: 426.4 kB / 264.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.01686, allocations: 0 / 264.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01686, allocations: 0 / 264.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.01687, allocations: 0 / 264.2 MB, free: 11.11 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001106/0.01797, allocations: 0.92 MB / 265.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.01801, allocations: 11.98 kB / 265.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.01813, allocations: 72.88 kB / 265.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.01865, allocations: 388.2 kB / 265.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.01868, allocations: 29.38 kB / 265.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.01874, allocations: 36.38 kB / 265.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.0192, allocations: 376.4 kB / 266 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.01923, allocations: 11.83 kB / 266.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.01926, allocations: 12 kB / 266.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.01927, allocations: 15.98 kB / 266.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.01952, allocations: 160.9 kB / 266.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.02112, allocations: 1.42 MB / 267.7 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.02135, allocations: 189.2 kB / 267.8 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-05/0.02145, allocations: 82.78 kB / 267.9 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.02148, allocations: 8.219 kB / 267.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.02172, allocations: 200.2 kB / 268.1 MB, free: 6.988 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.02172, allocations: 0 / 268.1 MB, free: 6.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004244/0.02214, allocations: 324.8 kB / 268.4 MB, free: 6.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.02222, allocations: 182.2 kB / 268.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.02262, allocations: 444.8 kB / 269.1 MB, free: 5.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.02265, allocations: 37.69 kB / 269.1 MB, free: 5.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.02278, allocations: 229.7 kB / 269.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.02287, allocations: 123 kB / 269.4 MB, free: 5.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.023, allocations: 102.1 kB / 269.5 MB, free: 5.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.02312, allocations: 374.7 kB / 269.9 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.02323, allocations: 77.67 kB / 270 MB, free: 5.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.02343, allocations: 272.9 kB / 270.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.02393, allocations: 496.5 kB / 270.7 MB, free: 4.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02393, allocations: 0 / 270.7 MB, free: 4.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004708/0.0244, allocations: 374 kB / 271.1 MB, free: 3.719 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.02444, allocations: 37.7 kB / 271.1 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.02445, allocations: 4.656 kB / 271.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.02447, allocations: 15.92 kB / 271.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.02494, allocations: 136.6 kB / 271.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.02495, allocations: 11.94 kB / 271.3 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.02516, allocations: 55.61 kB / 271.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.0252, allocations: 20 kB / 271.4 MB, free: 3.438 MB / 266.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.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 (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.0003099/0.02551, allocations: 218 kB / 271.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.02558, allocations: 39.97 kB / 271.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.02605, allocations: 301.6 kB / 271.9 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.02606, allocations: 4 kB / 271.9 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.02607, allocations: 8 kB / 271.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.02607, allocations: 0 / 271.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.02642, allocations: 233.5 kB / 272.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.02643, allocations: 0 / 272.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.02684, allocations: 87.86 kB / 272.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.02691, allocations: 51.56 kB / 272.3 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.02691, allocations: 0 / 272.3 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.02695, allocations: 15.92 kB / 272.3 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.02695, allocations: 0 / 272.3 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.02696, allocations: 4 kB / 272.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.02748, allocations: 413.5 kB / 272.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.02754, allocations: 15.98 kB / 272.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.02765, allocations: 15.94 kB / 272.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.02772, allocations: 23.95 kB / 272.8 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.02775, allocations: 11.98 kB / 272.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000223/0.02798, allocations: 191.2 kB / 273 MB, free: 1.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02798, allocations: 0 / 273 MB, free: 1.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004253/0.0284, allocations: 123.7 kB / 273.1 MB, free: 1.621 MB / 266.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.001814/0.03022, allocations: 0.6107 MB / 273.7 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004535/0.03067, allocations: 358.3 kB / 274.1 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-05/0.03069, allocations: 8.188 kB / 274.1 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.0309, allocations: 202.7 kB / 274.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.03142, allocations: 466.5 kB / 274.7 MB, free: 84 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1094/0.1408, allocations: 0.9008 MB / 275.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.1409, allocations: 143 kB / 275.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.1411, allocations: 59.73 kB / 275.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.1414, allocations: 131.5 kB / 275.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1414, allocations: 0 / 275.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of Templates: time 0.01162/0.153, allocations: 5.305 MB / 281.2 MB, free: 12.24 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6655935691669583]