Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.001545/0.001545, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001802/0.001802, allocations: 177 kB / 23.49 MB, free: 1.051 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.9799/0.9799, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.03619/0.03619, allocations: 8.609 MB / 268.9 MB, free: 4.984 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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 340.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.731e-05, allocations: 6.25 kB / 340.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002295/0.002322, allocations: 1.797 MB / 342.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.003175, allocations: 0.6039 MB / 343.3 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.003277, allocations: 7.875 kB / 343.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.003381, allocations: 27.73 kB / 343.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.003456, allocations: 31.67 kB / 343.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.003714, allocations: 87.73 kB / 343.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.003925, allocations: 211.3 kB / 343.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.004029, allocations: 29.72 kB / 343.7 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.004164, allocations: 119.7 kB / 343.8 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/0.004258, allocations: 67.78 kB / 343.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.004288, allocations: 16 kB / 343.9 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.004308, allocations: 12 kB / 343.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.004345, allocations: 43.81 kB / 343.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.004403, allocations: 55.83 kB / 344 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004566, allocations: 135.5 kB / 344.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004569, allocations: 0 / 344.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004569, allocations: 0 / 344.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.004574, allocations: 4 kB / 344.1 MB, free: 5.465 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006424/0.005216, allocations: 0.5811 MB / 344.7 MB, free: 4.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.005252, allocations: 8.031 kB / 344.7 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.005322, allocations: 28.8 kB / 344.7 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.005551, allocations: 208.8 kB / 344.9 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.0056, allocations: 67.95 kB / 345 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.005635, allocations: 16.31 kB / 345 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.005904, allocations: 171.9 kB / 345.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.005913, allocations: 192 / 345.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.00593, allocations: 8.125 kB / 345.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.005939, allocations: 0 / 345.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.006045, allocations: 58.27 kB / 345.3 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.006609, allocations: 0.6691 MB / 345.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.006741, allocations: 55.05 kB / 346 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.006794, allocations: 27.67 kB / 346 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.006805, allocations: 0 / 346 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.006959, allocations: 117.1 kB / 346.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.00696, allocations: 0 / 346.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000291/0.007251, allocations: 145.5 kB / 346.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.007277, allocations: 63.28 kB / 346.3 MB, free: 3.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.007401, allocations: 254.8 kB / 346.6 MB, free: 2.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.007416, allocations: 29.7 kB / 346.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.007475, allocations: 187 kB / 346.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.007501, allocations: 35.69 kB / 346.8 MB, free: 2.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003081/0.01058, allocations: 55.34 kB / 346.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.01064, allocations: 0.4962 MB / 347.4 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.183e-05/0.01073, allocations: 91.38 kB / 347.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.442e-05/0.01082, allocations: 157.1 kB / 347.6 MB, free: 1.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.01096, allocations: 183.7 kB / 347.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01097, allocations: 0 / 347.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002775/0.01124, allocations: 290.2 kB / 348.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.01127, allocations: 63.39 kB / 348.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01128, allocations: 4.188 kB / 348.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01129, allocations: 8 kB / 348.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.01155, allocations: 55.84 kB / 348.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01155, allocations: 4 kB / 348.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.01168, allocations: 39.86 kB / 348.2 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.0117, allocations: 7.938 kB / 348.3 MB, free: 0.9414 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.274e-05/0.01177, allocations: 172.5 kB / 348.4 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.0118, allocations: 31.84 kB / 348.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.01183, allocations: 21.47 kB / 348.5 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01184, allocations: 3.984 kB / 348.5 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01184, allocations: 3.938 kB / 348.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01184, allocations: 7.984 kB / 348.5 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.01196, allocations: 172.5 kB / 348.7 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01196, allocations: 4 kB / 348.7 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.01218, allocations: 35.97 kB / 348.7 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.01218, allocations: 4 kB / 348.7 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.01219, allocations: 4 kB / 348.7 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01219, allocations: 0 / 348.7 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01219, allocations: 0 / 348.7 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.01246, allocations: 196.1 kB / 348.9 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.01248, allocations: 19.89 kB / 348.9 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.0125, allocations: 4 kB / 348.9 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.01259, allocations: 19.97 kB / 348.9 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.01267, allocations: 27.91 kB / 349 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01268, allocations: 8.016 kB / 349 MB, free: 156 kB / 266.7 MB Notification: Performance of sorting global known variables: time 9.424e-05/0.01278, allocations: 185.4 kB / 349.2 MB, free: 15.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01278, allocations: 0 / 349.2 MB, free: 15.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.013, allocations: 32 kB / 349.2 MB, free: 15.94 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.572e-05/0.0131, allocations: 103.2 kB / 349.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.01339, allocations: 273.9 kB / 349.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01339, allocations: 0 / 349.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003113/0.0165, allocations: 43.98 kB / 349.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.01675, allocations: 43.91 kB / 349.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.0173, allocations: 314.7 kB / 350 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.01735, allocations: 71.98 kB / 350 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.01743, allocations: 21.48 kB / 350 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.01749, allocations: 20.5 kB / 350.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01749, allocations: 0 / 350.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of Templates: time 0.01114/0.02862, allocations: 2.653 MB / 352.7 MB, free: 12.36 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9601006770972162]