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.0008924/0.0008924, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.002003, 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.0007986/0.0007986, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001809, 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 1.113/1.113, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1302/1.244, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.04186/0.04186, allocations: 8.606 MB / 252.6 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007505/0.04936, allocations: 3.133 MB / 255.7 MB, free: 3.59 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 2.204e-06/2.204e-06, allocations: 0 / 257 MB, free: 2.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/2.042e-05, allocations: 2.312 kB / 257 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.003217/0.003238, allocations: 2.462 MB / 259.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.005973, allocations: 1.683 MB / 261.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.006251, allocations: 23.75 kB / 261.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005378/0.006789, allocations: 222.9 kB / 261.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.007189, allocations: 222.8 kB / 261.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/0.008001, allocations: 442.7 kB / 262 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006445/0.008645, allocations: 0.5789 MB / 262.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.008817, allocations: 69.09 kB / 262.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.009196, allocations: 347.9 kB / 263 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.00948, allocations: 203.4 kB / 263.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.009537, allocations: 36 kB / 263.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.00982, allocations: 171.7 kB / 263.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.009956, allocations: 127.5 kB / 263.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.01007, allocations: 99.62 kB / 263.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.01063, allocations: 426.4 kB / 264 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.01064, allocations: 0 / 264 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01064, allocations: 4 kB / 264 MB, free: 11.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.01066, allocations: 0 / 264 MB, free: 11.2 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.001216/0.01187, allocations: 0.9085 MB / 264.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.01192, allocations: 8.031 kB / 265 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.01202, allocations: 76.88 kB / 265 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.01244, allocations: 396.1 kB / 265.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.01247, allocations: 29.38 kB / 265.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.01252, allocations: 44.31 kB / 265.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.01286, allocations: 372.4 kB / 265.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.01288, allocations: 3.938 kB / 265.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.0129, allocations: 20 kB / 265.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.01291, allocations: 12 kB / 265.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.01308, allocations: 160.9 kB / 266 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.01454, allocations: 1.424 MB / 267.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.01486, allocations: 194.2 kB / 267.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.01492, allocations: 82.77 kB / 267.7 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.01495, allocations: 4.234 kB / 267.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.01517, allocations: 213.6 kB / 268 MB, free: 7.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.01517, allocations: 0 / 268 MB, free: 7.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003193/0.01549, allocations: 312.8 kB / 268.3 MB, free: 6.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.01554, allocations: 85.09 kB / 268.3 MB, free: 6.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.01595, allocations: 460.7 kB / 268.8 MB, free: 6.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.01597, allocations: 33.7 kB / 268.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.01613, allocations: 241.7 kB / 269.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.613e-05/0.01621, allocations: 119 kB / 269.2 MB, free: 5.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.01634, allocations: 102.1 kB / 269.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000278/0.01662, allocations: 374.6 kB / 269.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.0167, allocations: 81.67 kB / 269.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.01685, allocations: 268.9 kB / 270 MB, free: 4.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.01718, allocations: 468.8 kB / 270.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.01718, allocations: 8 kB / 270.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0003163/0.0175, allocations: 369.2 kB / 270.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.01754, allocations: 45.72 kB / 270.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.01755, allocations: 4 kB / 270.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01756, allocations: 11.94 kB / 270.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.01796, allocations: 131.8 kB / 271 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.01797, allocations: 8 kB / 271 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.01815, allocations: 63.55 kB / 271.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.01819, allocations: 19.94 kB / 271.1 MB, free: 3.637 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.0002502/0.01844, allocations: 218 kB / 271.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.0185, allocations: 39.97 kB / 271.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.01888, allocations: 313.6 kB / 271.6 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01888, allocations: 4 kB / 271.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01888, allocations: 0 / 271.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01889, allocations: 0 / 271.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.0191, allocations: 221.6 kB / 271.9 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.0191, allocations: 0 / 271.9 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.01936, allocations: 87.25 kB / 272 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.01939, allocations: 51.59 kB / 272 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.0194, allocations: 0 / 272 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.01943, allocations: 23.92 kB / 272 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01943, allocations: 0 / 272 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01943, allocations: 4 kB / 272 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.0198, allocations: 417.4 kB / 272.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.01984, allocations: 19.98 kB / 272.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.01991, allocations: 11.94 kB / 272.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.01997, allocations: 23.95 kB / 272.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.01999, allocations: 11.98 kB / 272.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.02013, allocations: 195.2 kB / 272.7 MB, free: 1.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02013, allocations: 4 kB / 272.7 MB, free: 1.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006028/0.02074, allocations: 123.8 kB / 272.8 MB, free: 1.816 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.001422/0.02216, allocations: 0.602 MB / 273.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.02248, allocations: 349.1 kB / 273.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/0.0225, allocations: 11.98 kB / 273.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.02263, allocations: 186.2 kB / 274 MB, free: 0.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.02288, allocations: 111.8 kB / 274.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1415/0.1644, allocations: 0.9055 MB / 275 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.1645, allocations: 142.7 kB / 275.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002429/0.1648, allocations: 59.2 kB / 275.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.165, allocations: 133.8 kB / 275.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of SimCode: time 1.883e-06/0.165, allocations: 0 / 275.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Templates: time 0.01073/0.1757, allocations: 5.706 MB / 281 MB, free: 12.51 MB / 266.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.3215754805132747]