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.0006583/0.0006583, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009241/0.001582, 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.0006729/0.0006729, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008697/0.001543, 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.9493/0.9493, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08785/1.037, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.03561/0.03561, allocations: 8.62 MB / 252.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005463/0.04107, allocations: 3.126 MB / 255.9 MB, free: 3.48 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 1.203e-06/1.203e-06, allocations: 0 / 257.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.361e-05, allocations: 2.312 kB / 257.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.00247/0.002483, allocations: 2.478 MB / 259.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.004473, allocations: 1.68 MB / 261.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.004649, allocations: 23.75 kB / 261.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.005126, allocations: 222.8 kB / 261.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.00547, allocations: 226.8 kB / 261.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.006164, allocations: 446.7 kB / 262.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.006654, allocations: 0.5663 MB / 262.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.006785, allocations: 69.16 kB / 262.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.007108, allocations: 343.8 kB / 263.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.007336, allocations: 199.4 kB / 263.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.007379, allocations: 32 kB / 263.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.007608, allocations: 163.8 kB / 263.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.007715, allocations: 119.6 kB / 263.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.346e-05/0.007799, allocations: 99.69 kB / 263.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.008181, allocations: 414.4 kB / 264.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.008191, allocations: 0 / 264.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.008192, allocations: 0 / 264.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.008202, allocations: 0 / 264.2 MB, free: 11.09 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.0008507/0.009053, allocations: 0.8771 MB / 265.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.00908, allocations: 15.97 kB / 265.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.009155, allocations: 60.89 kB / 265.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.009522, allocations: 384.2 kB / 265.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/0.009579, allocations: 80.62 kB / 265.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.00962, allocations: 32.38 kB / 265.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.009935, allocations: 366.1 kB / 266 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.009949, allocations: 3.953 kB / 266 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.00997, allocations: 16 kB / 266 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.009979, allocations: 12 kB / 266 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.01013, allocations: 152.9 kB / 266.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.01123, allocations: 1.373 MB / 267.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.01144, allocations: 172.8 kB / 267.7 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.558e-05/0.01151, allocations: 78.53 kB / 267.8 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.01153, allocations: 8.172 kB / 267.8 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.0117, allocations: 190.1 kB / 268 MB, free: 7.066 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.01171, allocations: 0 / 268 MB, free: 7.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002652/0.01197, allocations: 285.2 kB / 268.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.01203, allocations: 178.1 kB / 268.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.01227, allocations: 440.7 kB / 268.9 MB, free: 6.109 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.01229, allocations: 29.7 kB / 268.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.01239, allocations: 233.1 kB / 269.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.01244, allocations: 99.19 kB / 269.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/0.01252, allocations: 93.89 kB / 269.3 MB, free: 5.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.01261, allocations: 362.7 kB / 269.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.01268, allocations: 77.38 kB / 269.8 MB, free: 5.195 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.0128, allocations: 245.1 kB / 270 MB, free: 4.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.01308, allocations: 433.2 kB / 270.4 MB, free: 4.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01308, allocations: 0 / 270.4 MB, free: 4.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002628/0.01335, allocations: 328.6 kB / 270.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.01338, allocations: 45.62 kB / 270.8 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01339, allocations: 4 kB / 270.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.0134, allocations: 8 kB / 270.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.01375, allocations: 120.3 kB / 270.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.01376, allocations: 15.98 kB / 270.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.01386, allocations: 43.67 kB / 271 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.01387, allocations: 16 kB / 271 MB, free: 3.777 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.0001564/0.01403, allocations: 201.4 kB / 271.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.01407, allocations: 43.91 kB / 271.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.01432, allocations: 273.9 kB / 271.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.01432, allocations: 7.984 kB / 271.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.01432, allocations: 0 / 271.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.01433, allocations: 7.984 kB / 271.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.01453, allocations: 221.5 kB / 271.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01453, allocations: 0 / 271.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.01485, allocations: 86.36 kB / 271.8 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.01489, allocations: 47.59 kB / 271.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01489, allocations: 4 kB / 271.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.01491, allocations: 15.98 kB / 271.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01491, allocations: 0 / 271.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01492, allocations: 3.938 kB / 271.9 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.01523, allocations: 387.9 kB / 272.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.01527, allocations: 12 kB / 272.3 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.01533, allocations: 15.98 kB / 272.3 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.01538, allocations: 19.97 kB / 272.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.0154, allocations: 11.98 kB / 272.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.01553, allocations: 179.2 kB / 272.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01553, allocations: 0 / 272.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.01574, allocations: 111.8 kB / 272.6 MB, free: 2.074 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.001211/0.01696, allocations: 0.6099 MB / 273.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.01722, allocations: 312.3 kB / 273.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/0.01724, allocations: 11.98 kB / 273.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.01736, allocations: 183.6 kB / 273.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.01768, allocations: 450.7 kB / 274.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08933/0.107, allocations: 0.837 MB / 275 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.513e-05/0.1071, allocations: 134.5 kB / 275.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.1072, allocations: 50.47 kB / 275.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.1074, allocations: 128.2 kB / 275.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1074, allocations: 0 / 275.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Templates: time 0.008227/0.1156, allocations: 5.059 MB / 280.4 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: 2.666033588349819]