Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_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.00103/0.00103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002451, 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.0008028/0.0008028, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001842, 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.313/1.313, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1425/1.456, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.03909/0.03909, allocations: 8.614 MB / 252.6 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01018/0.04927, allocations: 3.121 MB / 255.7 MB, free: 3.613 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.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 3.938 kB / 257 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.616e-05, allocations: 2.312 kB / 257 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.004844/0.00488, allocations: 2.474 MB / 259.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.007983, allocations: 1.676 MB / 261.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.00826, allocations: 23.75 kB / 261.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007355/0.008995, allocations: 218.9 kB / 261.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.009503, allocations: 230.8 kB / 261.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.01057, allocations: 434.8 kB / 262 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008164/0.01139, allocations: 0.5702 MB / 262.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.0116, allocations: 69.16 kB / 262.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005259/0.01212, allocations: 347.8 kB / 263 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.01248, allocations: 195.4 kB / 263.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.849e-05/0.01255, allocations: 32 kB / 263.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.01291, allocations: 159.8 kB / 263.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.01309, allocations: 115.6 kB / 263.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.01324, allocations: 103.6 kB / 263.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006844/0.01392, allocations: 410.4 kB / 264 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-05/0.01395, allocations: 4 kB / 264 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.01395, allocations: 0 / 264 MB, free: 11.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.01398, allocations: 0 / 264 MB, free: 11.27 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.0015/0.01548, allocations: 0.8809 MB / 264.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.01553, allocations: 8.031 kB / 264.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.01566, allocations: 64.89 kB / 264.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.01628, allocations: 380.2 kB / 265.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.01637, allocations: 84.62 kB / 265.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.01644, allocations: 36.38 kB / 265.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.01695, allocations: 362.1 kB / 265.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.01698, allocations: 3.953 kB / 265.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.01701, allocations: 20 kB / 265.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.01703, allocations: 8 kB / 265.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.0173, allocations: 152.9 kB / 266 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.01916, allocations: 1.384 MB / 267.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.01951, allocations: 173.7 kB / 267.5 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.01962, allocations: 74.55 kB / 267.6 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.01965, allocations: 4.188 kB / 267.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.01994, allocations: 190.1 kB / 267.8 MB, free: 7.238 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.174e-06/0.01995, allocations: 0 / 267.8 MB, free: 7.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.000427/0.02037, allocations: 293.2 kB / 268.1 MB, free: 6.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.02043, allocations: 89.05 kB / 268.1 MB, free: 6.824 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.02073, allocations: 440.7 kB / 268.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.02076, allocations: 37.7 kB / 268.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.02088, allocations: 225.2 kB / 268.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.02094, allocations: 95.19 kB / 268.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/0.02103, allocations: 93.95 kB / 269 MB, free: 5.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.02115, allocations: 366.7 kB / 269.4 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.02122, allocations: 69.39 kB / 269.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.02137, allocations: 248.9 kB / 269.7 MB, free: 5.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.0217, allocations: 429.2 kB / 270.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.0217, allocations: 0 / 270.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003166/0.02202, allocations: 332.8 kB / 270.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.02206, allocations: 37.64 kB / 270.5 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.02207, allocations: 4 kB / 270.5 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.02208, allocations: 8 kB / 270.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.02245, allocations: 127.8 kB / 270.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.02246, allocations: 4 kB / 270.6 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.02257, allocations: 55.94 kB / 270.7 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.02259, allocations: 12 kB / 270.7 MB, free: 4.066 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 ) type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) 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 ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) 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,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 (51): * Single equations (assignments): 50 * 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.0001877/0.02277, allocations: 197.5 kB / 270.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.02282, allocations: 39.89 kB / 270.9 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.02312, allocations: 289.8 kB / 271.2 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.02313, allocations: 7.984 kB / 271.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.02313, allocations: 0 / 271.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02313, allocations: 0 / 271.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.02337, allocations: 217.5 kB / 271.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.02337, allocations: 3.984 kB / 271.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.0237, allocations: 90.44 kB / 271.5 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.02374, allocations: 47.59 kB / 271.6 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.02374, allocations: 0 / 271.6 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.02377, allocations: 8 kB / 271.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.02377, allocations: 3.984 kB / 271.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.02377, allocations: 7.938 kB / 271.6 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.02416, allocations: 384 kB / 271.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.0242, allocations: 16 kB / 272 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.02427, allocations: 4 kB / 272 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.02433, allocations: 23.95 kB / 272 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.02435, allocations: 12 kB / 272 MB, free: 2.656 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.02451, allocations: 183.2 kB / 272.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02451, allocations: 0 / 272.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.0248, allocations: 115.8 kB / 272.3 MB, free: 2.363 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 (25): * Single equations (assignments): 22 * 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.001441/0.02624, allocations: 0.5982 MB / 272.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.02662, allocations: 324.3 kB / 273.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.291e-05/0.02664, allocations: 7.938 kB / 273.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.02683, allocations: 165.9 kB / 273.4 MB, free: 1.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.0271, allocations: 106.5 kB / 273.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.02828, allocations: 0.8387 MB / 274.3 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.865e-05/0.02837, allocations: 141.2 kB / 274.5 MB, free: 296 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.02849, allocations: 47.28 kB / 274.5 MB, free: 248 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.02865, allocations: 127.3 kB / 274.6 MB, free: 120 kB / 266.7 MB Notification: Performance of SimCode: time 1.523e-06/0.02866, allocations: 0 / 274.6 MB, free: 120 kB / 266.7 MB Notification: Performance of Templates: time 0.1552/0.1838, allocations: 5.298 MB / 279.9 MB, free: 12.47 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3314418019726872]