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.001318/0.001318, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001463/0.001463, allocations: 161.3 kB / 22.75 MB, free: 1.652 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 1.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.06433/0.06433, allocations: 8.596 MB / 268.2 MB, free: 4.957 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.693e-06/1.693e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.018e-05, allocations: 6.25 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002574/0.002604, allocations: 1.774 MB / 341.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003663, allocations: 0.6193 MB / 342.5 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.003838, allocations: 11.88 kB / 342.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.003973, allocations: 19.73 kB / 342.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.004076, allocations: 43.59 kB / 342.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.004394, allocations: 107.7 kB / 342.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.004639, allocations: 227.3 kB / 342.9 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.004789, allocations: 44.78 kB / 343 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.004978, allocations: 131.6 kB / 343.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.005086, allocations: 71.7 kB / 343.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.005123, allocations: 20 kB / 343.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.513e-05/0.005148, allocations: 16 kB / 343.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.005188, allocations: 51.83 kB / 343.3 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.005259, allocations: 55.81 kB / 343.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.00548, allocations: 203.2 kB / 343.5 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005483, allocations: 0 / 343.5 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005484, allocations: 0 / 343.5 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.005491, allocations: 0 / 343.5 MB, free: 5.352 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.0009826/0.006474, allocations: 0.5068 MB / 344 MB, free: 4.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.006512, allocations: 8.031 kB / 344 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.00661, allocations: 36.8 kB / 344.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.007008, allocations: 245.2 kB / 344.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.007076, allocations: 93.67 kB / 344.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.007124, allocations: 16.38 kB / 344.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.007561, allocations: 178.1 kB / 344.6 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.007571, allocations: 4.188 kB / 344.6 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.007595, allocations: 8.125 kB / 344.6 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.00761, allocations: 4 kB / 344.6 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.008096, allocations: 147.8 kB / 344.8 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.009052, allocations: 475.9 kB / 345.2 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.00951, allocations: 138.5 kB / 345.4 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.009756, allocations: 76.92 kB / 345.4 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.009782, allocations: 4 kB / 345.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/0.01014, allocations: 151.2 kB / 345.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.01014, allocations: 0 / 345.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008932/0.01103, allocations: 273.3 kB / 345.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.01106, allocations: 63.34 kB / 345.9 MB, free: 2.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.01122, allocations: 211.2 kB / 346.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.01124, allocations: 29.7 kB / 346.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.01132, allocations: 144.4 kB / 346.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.01135, allocations: 39.69 kB / 346.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.01142, allocations: 41.7 kB / 346.4 MB, free: 2.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.01149, allocations: 326.8 kB / 346.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.01178, allocations: 105.6 kB / 346.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.01205, allocations: 137.1 kB / 346.9 MB, free: 1.734 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.01255, allocations: 204.9 kB / 347.1 MB, free: 1.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01256, allocations: 4 kB / 347.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006675/0.01322, allocations: 315.5 kB / 347.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.01326, allocations: 29.7 kB / 347.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.01327, allocations: 4 kB / 347.5 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/0.0133, allocations: 96 / 347.5 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/0.01399, allocations: 75.88 kB / 347.5 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.014, allocations: 4 kB / 347.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.01421, allocations: 35.86 kB / 347.6 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.01422, allocations: 7.984 kB / 347.6 MB, free: 1.027 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 0.0001043/0.01433, allocations: 137.8 kB / 347.7 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.01437, allocations: 19.84 kB / 347.7 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.01443, allocations: 29.45 kB / 347.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01443, allocations: 0 / 347.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.01444, allocations: 0 / 347.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01445, allocations: 0 / 347.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.01463, allocations: 205.1 kB / 348 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01463, allocations: 0 / 348 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/0.01536, allocations: 71.94 kB / 348 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.01536, allocations: 0 / 348 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.0154, allocations: 11.94 kB / 348 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.0154, allocations: 0 / 348 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.0154, allocations: 0 / 348 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.0162, allocations: 316.8 kB / 348.4 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.01623, allocations: 15.86 kB / 348.4 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.01626, allocations: 7.938 kB / 348.4 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.01645, allocations: 31.94 kB / 348.4 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.01653, allocations: 15.97 kB / 348.4 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01654, allocations: 8 kB / 348.4 MB, free: 116 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.01667, allocations: 148.6 kB / 348.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01667, allocations: 0 / 348.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000265/0.01693, allocations: 39.89 kB / 348.6 MB, free: 15.93 MB / 282.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 0.0001481/0.01708, allocations: 103.8 kB / 348.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007635/0.01784, allocations: 260.9 kB / 349 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01785, allocations: 0 / 349 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.01815, allocations: 75.94 kB / 349.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.01846, allocations: 36.64 kB / 349.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.01948, allocations: 381 kB / 349.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.01962, allocations: 125.2 kB / 349.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.01974, allocations: 21.48 kB / 349.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.546e-05/0.01981, allocations: 16.59 kB / 349.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01981, allocations: 7.938 kB / 349.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of Templates: time 0.006912/0.02673, allocations: 2.123 MB / 351.7 MB, free: 12.76 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.367880774079822]