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.001026/0.001026, allocations: 92.22 kB / 19.65 MB, free: 280 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.000995/0.000995, allocations: 173 kB / 23.02 MB, free: 1.547 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.007/1.007, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.04599/0.04599, allocations: 8.608 MB / 268.6 MB, free: 4.902 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.603e-06/1.603e-06, allocations: 0 / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.553e-05, allocations: 8.641 kB / 340.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002004/0.002019, allocations: 1.821 MB / 342.7 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.002813, allocations: 0.6388 MB / 343.3 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.002914, allocations: 15.88 kB / 343.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.003031, allocations: 27.67 kB / 343.4 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.003108, allocations: 27.67 kB / 343.4 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.003347, allocations: 111.7 kB / 343.5 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.003562, allocations: 235.2 kB / 343.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.003679, allocations: 40.78 kB / 343.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.003812, allocations: 131.7 kB / 343.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.784e-05/0.00391, allocations: 71.77 kB / 344 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.003942, allocations: 19.94 kB / 344 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.403e-05/0.003966, allocations: 20 kB / 344 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.004002, allocations: 39.83 kB / 344.1 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.157e-05/0.004063, allocations: 59.83 kB / 344.1 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.004234, allocations: 151.3 kB / 344.3 MB, free: 4.965 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004236, allocations: 0 / 344.3 MB, free: 4.965 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004237, allocations: 4 kB / 344.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.00424, allocations: 0 / 344.3 MB, free: 4.961 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.0006703/0.004911, allocations: 0.5872 MB / 344.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.004949, allocations: 8.031 kB / 344.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.005021, allocations: 36.8 kB / 344.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.005279, allocations: 248 kB / 345.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.005335, allocations: 101.7 kB / 345.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.005367, allocations: 12.38 kB / 345.3 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.005621, allocations: 158.8 kB / 345.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.005632, allocations: 192 / 345.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.00565, allocations: 12.06 kB / 345.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.005659, allocations: 4 kB / 345.4 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.005766, allocations: 55.97 kB / 345.5 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.006378, allocations: 491.2 kB / 346 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.006508, allocations: 74.97 kB / 346 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.006561, allocations: 31.67 kB / 346.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.006578, allocations: 4 kB / 346.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.00672, allocations: 104.9 kB / 346.2 MB, free: 2.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.006722, allocations: 4 kB / 346.2 MB, free: 2.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002997/0.007022, allocations: 157.6 kB / 346.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.007048, allocations: 55.41 kB / 346.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.007173, allocations: 261.8 kB / 346.7 MB, free: 2.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.007187, allocations: 25.7 kB / 346.7 MB, free: 2.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.00725, allocations: 191.1 kB / 346.9 MB, free: 2.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.007278, allocations: 43.67 kB / 346.9 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.007338, allocations: 47.36 kB / 347 MB, free: 2.074 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.00739, allocations: 0.5001 MB / 347.5 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.007463, allocations: 53.69 kB / 347.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.007547, allocations: 104.4 kB / 347.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.007676, allocations: 128.9 kB / 347.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.007679, allocations: 0 / 347.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002403/0.007919, allocations: 227.5 kB / 348 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.007945, allocations: 33.7 kB / 348 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.00795, allocations: 0 / 348 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.007966, allocations: 3.984 kB / 348 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.008376, allocations: 68.06 kB / 348.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.008383, allocations: 0 / 348.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.226e-05/0.008475, allocations: 27.92 kB / 348.1 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.008488, allocations: 8 kB / 348.1 MB, free: 0.8477 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.393e-05/0.008552, allocations: 173 kB / 348.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.008579, allocations: 27.84 kB / 348.3 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.00861, allocations: 21.45 kB / 348.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.008612, allocations: 0 / 348.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.008615, allocations: 0 / 348.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.008618, allocations: 0 / 348.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.008747, allocations: 204.4 kB / 348.5 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008748, allocations: 0 / 348.5 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.009179, allocations: 63.95 kB / 348.6 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.009181, allocations: 7.938 kB / 348.6 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.009195, allocations: 7.938 kB / 348.6 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.009197, allocations: 0 / 348.6 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0092, allocations: 3.984 kB / 348.6 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.009442, allocations: 176.3 kB / 348.8 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.009461, allocations: 23.84 kB / 348.8 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.009485, allocations: 7.938 kB / 348.8 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.009559, allocations: 11.98 kB / 348.8 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.009628, allocations: 31.91 kB / 348.8 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.009638, allocations: 0 / 348.8 MB, free: 36 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.009758, allocations: 184.5 kB / 349 MB, free: 15.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009759, allocations: 0 / 349 MB, free: 15.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.009987, allocations: 39.89 kB / 349.1 MB, free: 15.82 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 9.062e-05/0.01008, allocations: 103.8 kB / 349.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.01032, allocations: 179.9 kB / 349.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.01032, allocations: 0 / 349.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.0104, allocations: 47.61 kB / 349.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.01063, allocations: 39.03 kB / 349.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.01123, allocations: 370.3 kB / 349.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.01127, allocations: 75.84 kB / 349.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.361e-05/0.01135, allocations: 25.47 kB / 349.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.01141, allocations: 20.5 kB / 349.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01141, allocations: 0 / 349.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of Templates: time 0.004613/0.01602, allocations: 2.234 MB / 352.1 MB, free: 12.68 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.884130945894867]