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.001031/0.001031, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001158/0.001158, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.012/1.012, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.03643/0.03643, allocations: 8.618 MB / 268.9 MB, free: 4.758 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.694e-06/1.694e-06, allocations: 0 / 341.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.072e-05, allocations: 9.062 kB / 341.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002974/0.003004, allocations: 1.817 MB / 343.2 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008701/0.003875, allocations: 0.631 MB / 343.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.003986, allocations: 11.88 kB / 343.8 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.0041, allocations: 19.73 kB / 343.8 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.004165, allocations: 43.59 kB / 343.9 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.004418, allocations: 107.7 kB / 344 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.004616, allocations: 231.2 kB / 344.2 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.004736, allocations: 44.77 kB / 344.2 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.004861, allocations: 135.6 kB / 344.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.004943, allocations: 63.78 kB / 344.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.004976, allocations: 20 kB / 344.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.025e-05/0.004997, allocations: 16 kB / 344.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.005036, allocations: 55.81 kB / 344.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.005081, allocations: 51.83 kB / 344.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.005233, allocations: 159.2 kB / 344.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.005236, allocations: 0 / 344.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005237, allocations: 0 / 344.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.005242, allocations: 0 / 344.7 MB, free: 4.688 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.0005504/0.005792, allocations: 0.5872 MB / 345.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.005829, allocations: 12.03 kB / 345.3 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.005883, allocations: 40.8 kB / 345.4 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.006089, allocations: 244 kB / 345.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.006137, allocations: 93.67 kB / 345.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.006163, allocations: 16.38 kB / 345.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.006365, allocations: 142.8 kB / 345.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006375, allocations: 192 / 345.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.00639, allocations: 12.12 kB / 345.9 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.006397, allocations: 4 kB / 345.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.006462, allocations: 35.97 kB / 345.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.006996, allocations: 475.7 kB / 346.4 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.592e-05/0.007092, allocations: 59.05 kB / 346.4 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.007123, allocations: 27.67 kB / 346.4 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.007143, allocations: 0 / 346.4 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.007271, allocations: 105.1 kB / 346.6 MB, free: 2.703 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.007272, allocations: 0 / 346.6 MB, free: 2.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002271/0.007499, allocations: 141.4 kB / 346.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.007524, allocations: 67.39 kB / 346.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.007621, allocations: 253.7 kB / 347 MB, free: 2.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.007635, allocations: 25.7 kB / 347 MB, free: 2.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.007707, allocations: 191.1 kB / 347.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.007728, allocations: 43.61 kB / 347.3 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.007781, allocations: 55.31 kB / 347.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.007844, allocations: 0.4962 MB / 347.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.007891, allocations: 57.67 kB / 347.9 MB, free: 1.316 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.174e-05/0.007943, allocations: 88.42 kB / 348 MB, free: 1.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.109e-05/0.008024, allocations: 124.3 kB / 348.1 MB, free: 1.062 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008026, allocations: 0 / 348.1 MB, free: 1.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001771/0.008203, allocations: 200.8 kB / 348.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.008237, allocations: 40.45 kB / 348.3 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.008244, allocations: 4 kB / 348.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.008255, allocations: 0 / 348.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.008571, allocations: 75.98 kB / 348.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.008575, allocations: 0 / 348.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.008649, allocations: 23.94 kB / 348.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.008658, allocations: 4 kB / 348.4 MB, free: 0.6992 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 7.044e-05/0.008728, allocations: 168.5 kB / 348.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.008749, allocations: 27.83 kB / 348.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.008781, allocations: 25.41 kB / 348.6 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.008784, allocations: 4 kB / 348.6 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.008786, allocations: 4 kB / 348.6 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.008791, allocations: 3.984 kB / 348.6 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.008914, allocations: 165.1 kB / 348.8 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008915, allocations: 0 / 348.8 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.009232, allocations: 59.95 kB / 348.9 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.009236, allocations: 0 / 348.9 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.009247, allocations: 8 kB / 348.9 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.009248, allocations: 4 kB / 348.9 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.00925, allocations: 3.938 kB / 348.9 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.009472, allocations: 184.2 kB / 349.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.009492, allocations: 15.86 kB / 349.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.009508, allocations: 3.938 kB / 349.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.009573, allocations: 19.98 kB / 349.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.009627, allocations: 19.91 kB / 349.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.009637, allocations: 7.984 kB / 349.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.469e-05/0.009712, allocations: 176.5 kB / 349.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009712, allocations: 4 kB / 349.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.009868, allocations: 39.89 kB / 349.3 MB, free: 15.71 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.771e-05/0.009966, allocations: 99.8 kB / 349.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.01015, allocations: 163.4 kB / 349.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01015, allocations: 4 kB / 349.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.01022, allocations: 47.53 kB / 349.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.0104, allocations: 28.91 kB / 349.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.01109, allocations: 362.7 kB / 350 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.565e-05/0.01115, allocations: 79.84 kB / 350.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.01124, allocations: 21.47 kB / 350.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.01136, allocations: 98.19 kB / 350.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01136, allocations: 0 / 350.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of Templates: time 0.006023/0.01739, allocations: 2.289 MB / 352.5 MB, free: 12.48 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.7490599751472473]