Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001127/0.001127, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00167/0.002797, 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.001125/0.001125, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002654, 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.197/1.197, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1324/1.329, 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.05924/0.05924, allocations: 8.616 MB / 252.6 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01207/0.07131, allocations: 3.125 MB / 255.7 MB, free: 3.598 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.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.82e-07/8.82e-07, allocations: 0 / 257 MB, free: 2.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.319e-05, allocations: 6.25 kB / 257 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.005087/0.00512, allocations: 2.47 MB / 259.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003713/0.008833, allocations: 1.594 MB / 261 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.009396, allocations: 19.81 kB / 261.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008364/0.01023, allocations: 226.9 kB / 261.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007148/0.01095, allocations: 210.9 kB / 261.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.0124, allocations: 402.8 kB / 261.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009991/0.0134, allocations: 0.5351 MB / 262.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.01364, allocations: 61.22 kB / 262.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006116/0.01426, allocations: 323.8 kB / 262.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.01476, allocations: 187.4 kB / 263 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.01486, allocations: 32 kB / 263 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000502/0.01537, allocations: 167.8 kB / 263.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.01555, allocations: 111.6 kB / 263.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.01569, allocations: 95.69 kB / 263.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009337/0.01663, allocations: 406.4 kB / 263.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.41e-05/0.01666, allocations: 3.984 kB / 263.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.357e-06/0.01666, allocations: 0 / 263.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.054e-05/0.01671, allocations: 0 / 263.8 MB, free: 11.47 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.003716/0.02043, allocations: 0.8537 MB / 264.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.02048, allocations: 12.03 kB / 264.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.02061, allocations: 64.89 kB / 264.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.02122, allocations: 380.2 kB / 265.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.02126, allocations: 25.03 kB / 265.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/0.02132, allocations: 36.31 kB / 265.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.02184, allocations: 346.4 kB / 265.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.02186, allocations: 11.89 kB / 265.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.02188, allocations: 16 kB / 265.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.02189, allocations: 8 kB / 265.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.02206, allocations: 156.9 kB / 265.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.02321, allocations: 1.322 MB / 267 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.02349, allocations: 185.8 kB / 267.2 MB, free: 7.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.72e-05/0.02356, allocations: 74.53 kB / 267.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.02358, allocations: 4 kB / 267.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.0238, allocations: 186.3 kB / 267.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 4.137e-06/0.02381, allocations: 3.984 kB / 267.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003129/0.02412, allocations: 289.2 kB / 267.7 MB, free: 7.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.02417, allocations: 85.11 kB / 267.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.02447, allocations: 440.7 kB / 268.2 MB, free: 6.734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.02449, allocations: 29.7 kB / 268.3 MB, free: 6.699 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.02462, allocations: 229.2 kB / 268.5 MB, free: 6.469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.02468, allocations: 103.1 kB / 268.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/0.02478, allocations: 77.64 kB / 268.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.02491, allocations: 366.7 kB / 269 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.209e-05/0.02499, allocations: 77 kB / 269.1 MB, free: 5.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.02521, allocations: 244.3 kB / 269.3 MB, free: 5.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.02555, allocations: 425 kB / 269.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.02555, allocations: 4 kB / 269.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004218/0.02598, allocations: 320.8 kB / 270.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.02603, allocations: 45.69 kB / 270.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.02604, allocations: 4 kB / 270.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.02605, allocations: 4 kB / 270.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.0263, allocations: 98.83 kB / 270.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.02632, allocations: 15.92 kB / 270.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.02642, allocations: 43.73 kB / 270.3 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.02644, allocations: 16 kB / 270.3 MB, free: 4.461 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 (50): * Single equations (assignments): 49 * 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.0001959/0.02664, allocations: 201.6 kB / 270.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.02668, allocations: 39.97 kB / 270.5 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.02696, allocations: 269.7 kB / 270.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.02697, allocations: 8 kB / 270.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.02697, allocations: 0 / 270.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.02698, allocations: 0 / 270.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.02718, allocations: 217.5 kB / 271 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02718, allocations: 0 / 271 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.02737, allocations: 67.88 kB / 271.1 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.02741, allocations: 39.66 kB / 271.1 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.02741, allocations: 0 / 271.1 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.02743, allocations: 11.98 kB / 271.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.02744, allocations: 8 kB / 271.1 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.02744, allocations: 7.938 kB / 271.1 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.02779, allocations: 392.6 kB / 271.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.02783, allocations: 8 kB / 271.5 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.02789, allocations: 15.98 kB / 271.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.02795, allocations: 19.97 kB / 271.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.02797, allocations: 4 kB / 271.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.02811, allocations: 183.2 kB / 271.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02811, allocations: 0 / 271.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004831/0.02859, allocations: 115.8 kB / 271.9 MB, free: 2.797 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (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 (26): * Single equations (assignments): 23 * 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.001364/0.02995, allocations: 0.608 MB / 272.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.03025, allocations: 309.7 kB / 272.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/0.03027, allocations: 8 kB / 272.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.03038, allocations: 173.9 kB / 272.9 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.03063, allocations: 115 kB / 273.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.03167, allocations: 0.795 MB / 273.8 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.35e-05/0.03175, allocations: 129.2 kB / 274 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001/0.03185, allocations: 55.27 kB / 274 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.03201, allocations: 127.3 kB / 274.2 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of SimCode: time 1.011e-06/0.03201, allocations: 4 kB / 274.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of Templates: time 0.1517/0.1837, allocations: 5.203 MB / 279.4 MB, free: 12.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.507135523483157]