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.0008276/0.0008276, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001222/0.001222, allocations: 178.2 kB / 23.21 MB, free: 1.34 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 0.8747/0.8747, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.03356/0.03356, allocations: 8.613 MB / 268.6 MB, free: 5.121 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.623e-06/1.623e-06, allocations: 0 / 396.3 MB, free: 2.164 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.898e-05, allocations: 2.281 kB / 396.3 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.00323/0.003259, allocations: 2.359 MB / 398.7 MB, free: 15.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.005232, allocations: 1.605 MB / 400.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.005415, allocations: 23.75 kB / 400.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000774/0.006189, allocations: 226.8 kB / 400.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.006588, allocations: 218.8 kB / 400.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.00735, allocations: 457.6 kB / 401.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.007825, allocations: 0.6021 MB / 401.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.007959, allocations: 57.25 kB / 401.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.008199, allocations: 295.3 kB / 402.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.008419, allocations: 223.4 kB / 402.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.008459, allocations: 32 kB / 402.4 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.008658, allocations: 159.8 kB / 402.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.008769, allocations: 151.4 kB / 402.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.008869, allocations: 131.5 kB / 402.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005784/0.009447, allocations: 0.5996 MB / 403.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.009451, allocations: 3.938 kB / 403.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.009452, allocations: 0 / 403.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.009459, allocations: 3.938 kB / 403.4 MB, free: 11.02 MB / 378.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.001018/0.01048, allocations: 0.8577 MB / 404.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.01051, allocations: 12.03 kB / 404.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.635e-05/0.0106, allocations: 68.45 kB / 404.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.01133, allocations: 410.1 kB / 404.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.01136, allocations: 29.38 kB / 404.8 MB, free: 9.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.0114, allocations: 40.33 kB / 404.8 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.0119, allocations: 0.4977 MB / 405.3 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.01192, allocations: 11.88 kB / 405.3 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.01194, allocations: 12 kB / 405.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01195, allocations: 8 kB / 405.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.01233, allocations: 356 kB / 405.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.01382, allocations: 1.757 MB / 407.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.01412, allocations: 256.5 kB / 407.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.01427, allocations: 166.7 kB / 407.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.0143, allocations: 12.16 kB / 407.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.01459, allocations: 281.7 kB / 408.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.166e-06/0.01459, allocations: 4 kB / 408.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006839/0.01528, allocations: 0.6254 MB / 408.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.01532, allocations: 81.11 kB / 408.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.01571, allocations: 0.5292 MB / 409.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.01573, allocations: 33.7 kB / 409.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.01588, allocations: 296.5 kB / 409.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.457e-05/0.01594, allocations: 115.1 kB / 409.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.01604, allocations: 102.1 kB / 409.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01614, allocations: 362.8 kB / 410.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.01632, allocations: 182.8 kB / 410.5 MB, free: 3.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.01656, allocations: 376.9 kB / 410.8 MB, free: 3.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.01797, allocations: 0.953 MB / 411.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.01797, allocations: 0 / 411.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006131/0.01858, allocations: 0.6807 MB / 412.5 MB, free: 1.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.01862, allocations: 50.28 kB / 412.5 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01863, allocations: 4 kB / 412.5 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.01865, allocations: 12 kB / 412.5 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.01888, allocations: 107.8 kB / 412.6 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.0189, allocations: 15.92 kB / 412.7 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.01903, allocations: 55.66 kB / 412.7 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.01905, allocations: 24 kB / 412.7 MB, free: 1.18 MB / 378.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.0002323/0.01928, allocations: 275.2 kB / 413 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.01933, allocations: 51.67 kB / 413.1 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006605/0.01999, allocations: 0.5375 MB / 413.6 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.02, allocations: 4 kB / 413.6 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.02001, allocations: 3.984 kB / 413.6 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.02003, allocations: 8 kB / 413.6 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.0206, allocations: 353 kB / 414 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.0206, allocations: 0 / 414 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.0209, allocations: 67.89 kB / 414 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.0209, allocations: 0 / 414 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.02093, allocations: 19.98 kB / 414 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.02093, allocations: 3.938 kB / 414 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02093, allocations: 4 kB / 414.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.02161, allocations: 0.7454 MB / 414.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.02165, allocations: 47.61 kB / 414.8 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.02169, allocations: 15.98 kB / 414.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.02177, allocations: 15.92 kB / 414.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.02183, allocations: 27.95 kB / 414.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.02185, allocations: 12 kB / 414.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002489/0.0221, allocations: 362.8 kB / 415.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0221, allocations: 0 / 415.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003036/0.0224, allocations: 131.7 kB / 415.4 MB, free: 14.42 MB / 394.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.0008001/0.0232, allocations: 495.9 kB / 415.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005381/0.02374, allocations: 0.5155 MB / 416.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02374, allocations: 4 kB / 416.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.02394, allocations: 257.4 kB / 416.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.02423, allocations: 79.78 kB / 416.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.02536, allocations: 1.074 MB / 417.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.02555, allocations: 296.5 kB / 418.1 MB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.261e-05/0.02564, allocations: 40.5 kB / 418.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02564, allocations: 0 / 418.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of Templates: time 0.007368/0.03301, allocations: 7.124 MB / 425.3 MB, free: 4.641 MB / 394.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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.939991286024451] Failed to read output from testmodel.py, exit status != 0: 0.0403889250010252 0.049035575000000005 0.037726214 Calling exit ...