Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.001111/0.001111, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001233/0.001233, allocations: 169 kB / 23.49 MB, free: 1.062 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.9774/0.9774, allocations: 177.1 MB / 203.8 MB, free: 5.254 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.0387/0.0387, allocations: 8.604 MB / 268.9 MB, free: 4.844 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.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 3.938 kB / 340.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.774e-05, allocations: 2.312 kB / 340.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.001916/0.001934, allocations: 1.829 MB / 342.7 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.002711, allocations: 0.6349 MB / 343.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.002815, allocations: 15.88 kB / 343.4 MB, free: 6.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.002921, allocations: 19.73 kB / 343.4 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/0.002983, allocations: 31.62 kB / 343.4 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.003249, allocations: 115.7 kB / 343.5 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.003445, allocations: 231.2 kB / 343.8 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.003567, allocations: 36.8 kB / 343.8 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.003695, allocations: 131.7 kB / 343.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.003787, allocations: 75.7 kB / 344 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.003816, allocations: 19.98 kB / 344 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.003835, allocations: 20 kB / 344 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.003872, allocations: 43.83 kB / 344.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.003928, allocations: 55.83 kB / 344.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.004115, allocations: 151.3 kB / 344.3 MB, free: 5.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004117, allocations: 4 kB / 344.3 MB, free: 5.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004118, allocations: 0 / 344.3 MB, free: 5.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.004124, allocations: 0 / 344.3 MB, free: 5.293 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005985/0.004723, allocations: 0.5833 MB / 344.9 MB, free: 4.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.004756, allocations: 8.031 kB / 344.9 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.004822, allocations: 40.8 kB / 344.9 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.005042, allocations: 248 kB / 345.2 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.005096, allocations: 93.67 kB / 345.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.005124, allocations: 12.38 kB / 345.3 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.005343, allocations: 162.8 kB / 345.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.00535, allocations: 192 / 345.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.005364, allocations: 8.125 kB / 345.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.005372, allocations: 4 kB / 345.4 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.005461, allocations: 51.97 kB / 345.5 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.006014, allocations: 499.1 kB / 346 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.006127, allocations: 71.03 kB / 346 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.006174, allocations: 31.67 kB / 346.1 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.006192, allocations: 4 kB / 346.1 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.006321, allocations: 113 kB / 346.2 MB, free: 3.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.006322, allocations: 4 kB / 346.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.000256/0.006578, allocations: 157.4 kB / 346.3 MB, free: 3.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.006601, allocations: 55.41 kB / 346.4 MB, free: 3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.00671, allocations: 257.8 kB / 346.7 MB, free: 2.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.006722, allocations: 29.7 kB / 346.7 MB, free: 2.695 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.006779, allocations: 191.1 kB / 346.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.006799, allocations: 39.62 kB / 346.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.006847, allocations: 47.36 kB / 347 MB, free: 2.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.006899, allocations: 0.5001 MB / 347.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.006961, allocations: 53.69 kB / 347.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.007026, allocations: 104.4 kB / 347.6 MB, free: 1.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.007134, allocations: 130.6 kB / 347.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.007136, allocations: 4 kB / 347.7 MB, free: 1.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001847/0.007321, allocations: 212.7 kB / 348 MB, free: 1.336 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.007342, allocations: 37.7 kB / 348 MB, free: 1.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007347, allocations: 3.984 kB / 348 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.007359, allocations: 0 / 348 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.007683, allocations: 72 kB / 348.1 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.00769, allocations: 0 / 348.1 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.37e-05/0.007763, allocations: 31.92 kB / 348.1 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.007773, allocations: 4 kB / 348.1 MB, free: 1.184 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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 6.645e-05/0.007839, allocations: 169.8 kB / 348.3 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.007863, allocations: 31.84 kB / 348.3 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.007894, allocations: 21.45 kB / 348.3 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.007897, allocations: 0 / 348.3 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.007902, allocations: 3.984 kB / 348.3 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.007906, allocations: 4 kB / 348.3 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.00802, allocations: 200.4 kB / 348.5 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.008022, allocations: 4 kB / 348.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.008365, allocations: 63.95 kB / 348.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.008367, allocations: 0 / 348.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.00838, allocations: 3.938 kB / 348.6 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.008382, allocations: 3.984 kB / 348.6 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008383, allocations: 0 / 348.6 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.008594, allocations: 188.2 kB / 348.8 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.008609, allocations: 19.84 kB / 348.8 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.008628, allocations: 7.938 kB / 348.8 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.918e-05/0.008688, allocations: 15.98 kB / 348.8 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.008746, allocations: 23.97 kB / 348.8 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.008753, allocations: 3.984 kB / 348.8 MB, free: 376 kB / 266.7 MB Notification: Performance of sorting global known variables: time 5.399e-05/0.008807, allocations: 180.5 kB / 349 MB, free: 196 kB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008807, allocations: 4 kB / 349 MB, free: 192 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.008957, allocations: 35.89 kB / 349.1 MB, free: 156 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 7.029e-05/0.009027, allocations: 103.2 kB / 349.2 MB, free: 44 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.009241, allocations: 175.9 kB / 349.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009243, allocations: 0 / 349.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.009317, allocations: 51.73 kB / 349.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.009517, allocations: 36.72 kB / 349.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.0101, allocations: 362.6 kB / 349.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01015, allocations: 79.84 kB / 349.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.757e-05/0.01022, allocations: 21.47 kB / 349.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.01027, allocations: 24.5 kB / 349.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01027, allocations: 0 / 349.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of Templates: time 0.004945/0.01521, allocations: 2.115 MB / 352 MB, free: 13.14 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9035030668601394]