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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 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.06339/0.06339, allocations: 11.32 MB / 315.8 MB, free: 388 kB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002014/0.002014, allocations: 71.89 kB / 440.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 54.82 MB / 495.4 MB, free: 24.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002938/0.3299, allocations: 1.844 MB / 497.3 MB, free: 23.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3309, allocations: 0.6171 MB / 497.9 MB, free: 22.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.331, allocations: 7.562 kB / 497.9 MB, free: 22.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.3312, allocations: 29.3 kB / 497.9 MB, free: 22.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.704e-05/0.3313, allocations: 30.34 kB / 498 MB, free: 22.63 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.3316, allocations: 115 kB / 498.1 MB, free: 22.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.3319, allocations: 229.6 kB / 498.3 MB, free: 22.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.332, allocations: 35.62 kB / 498.3 MB, free: 22.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3322, allocations: 94.86 kB / 498.4 MB, free: 22.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.3323, allocations: 102.3 kB / 498.5 MB, free: 22.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.3323, allocations: 17.56 kB / 498.6 MB, free: 22.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.1e-05/0.3323, allocations: 16.94 kB / 498.6 MB, free: 22.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.3324, allocations: 43.92 kB / 498.6 MB, free: 22.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.3325, allocations: 94.73 kB / 498.7 MB, free: 22.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.3327, allocations: 196.3 kB / 498.9 MB, free: 22.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3327, allocations: 4 kB / 498.9 MB, free: 22.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3327, allocations: 0 / 498.9 MB, free: 22.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.3327, allocations: 0 / 498.9 MB, free: 22.1 MB / 366.1 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.0009761/0.3337, allocations: 0.5663 MB / 499.5 MB, free: 21.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3337, allocations: 13.02 kB / 499.5 MB, free: 21.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.3338, allocations: 29.52 kB / 499.5 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.3342, allocations: 297.5 kB / 499.8 MB, free: 21.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.3342, allocations: 96.36 kB / 499.9 MB, free: 21.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.3343, allocations: 18.03 kB / 499.9 MB, free: 21.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.3347, allocations: 190.4 kB / 0.4884 GB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3348, allocations: 0 / 0.4884 GB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.3348, allocations: 5.875 kB / 0.4884 GB, free: 21.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3348, allocations: 3.156 kB / 0.4884 GB, free: 21.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.3353, allocations: 145.2 kB / 0.4885 GB, free: 20.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.3363, allocations: 0.5767 MB / 0.4891 GB, free: 20.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.3368, allocations: 136.6 kB / 0.4892 GB, free: 20.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.337, allocations: 73.8 kB / 0.4893 GB, free: 20.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.3371, allocations: 5.594 kB / 0.4893 GB, free: 20.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003522/0.3374, allocations: 143.2 kB / 0.4894 GB, free: 20.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.3374, allocations: 5.25 kB / 0.4894 GB, free: 20.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008216/0.3382, allocations: 274.7 kB / 0.4897 GB, free: 20.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.3383, allocations: 56.59 kB / 0.4898 GB, free: 20.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3384, allocations: 207.9 kB / 0.4899 GB, free: 19.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3384, allocations: 36.59 kB / 0.49 GB, free: 19.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.3385, allocations: 138.2 kB / 0.4901 GB, free: 19.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.3385, allocations: 40.83 kB / 0.4902 GB, free: 19.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.3386, allocations: 48.28 kB / 0.4902 GB, free: 19.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.087e-05/0.3387, allocations: 332.2 kB / 0.4905 GB, free: 19.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.3389, allocations: 76.42 kB / 0.4906 GB, free: 19.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.3392, allocations: 118.9 kB / 0.4907 GB, free: 19.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.3396, allocations: 206.7 kB / 0.4909 GB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3396, allocations: 0 / 0.4909 GB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006047/0.3402, allocations: 270.7 kB / 0.4912 GB, free: 18.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.3402, allocations: 36.12 kB / 0.4912 GB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3403, allocations: 1.031 kB / 0.4912 GB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3403, allocations: 5.938 kB / 0.4912 GB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/0.3409, allocations: 65.55 kB / 0.4913 GB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3409, allocations: 2.281 kB / 0.4913 GB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.3412, allocations: 40 kB / 0.4913 GB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.3412, allocations: 4.312 kB / 0.4913 GB, free: 18.79 MB / 366.1 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 9.787e-05/0.3413, allocations: 140.8 kB / 0.4914 GB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.3413, allocations: 15.94 kB / 0.4915 GB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.3414, allocations: 22.05 kB / 0.4915 GB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3414, allocations: 2.312 kB / 0.4915 GB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3414, allocations: 0 / 0.4915 GB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3414, allocations: 0 / 0.4915 GB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.3416, allocations: 280.1 kB / 0.4917 GB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3416, allocations: 3.984 kB / 0.4918 GB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/0.3423, allocations: 75.81 kB / 0.4918 GB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3423, allocations: 0 / 0.4918 GB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3423, allocations: 5.375 kB / 0.4918 GB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3423, allocations: 1.344 kB / 0.4918 GB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3423, allocations: 0 / 0.4918 GB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008186/0.3432, allocations: 311.7 kB / 0.4921 GB, free: 18.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.3432, allocations: 90.7 kB / 0.4922 GB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.3432, allocations: 5.656 kB / 0.4922 GB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3434, allocations: 28.84 kB / 0.4922 GB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.3436, allocations: 23.59 kB / 0.4923 GB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.3436, allocations: 3.375 kB / 0.4923 GB, free: 17.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.3437, allocations: 152.5 kB / 0.4924 GB, free: 17.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3437, allocations: 0 / 0.4924 GB, free: 17.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.344, allocations: 39.45 kB / 0.4925 GB, free: 17.87 MB / 366.1 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.0001336/0.3441, allocations: 106.1 kB / 0.4926 GB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00065/0.3448, allocations: 231.7 kB / 0.4928 GB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3448, allocations: 0 / 0.4928 GB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.345, allocations: 90.55 kB / 0.4929 GB, free: 17.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.3453, allocations: 35.09 kB / 0.4929 GB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000925/0.3462, allocations: 377.4 kB / 0.4933 GB, free: 17.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.3465, allocations: 0.7387 MB / 0.494 GB, free: 16.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.7e-05/0.3466, allocations: 19.67 kB / 0.494 GB, free: 16.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.3466, allocations: 22.03 kB / 0.494 GB, free: 16.54 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3466, allocations: 0 / 0.494 GB, free: 16.54 MB / 366.1 MB Notification: Performance of Templates: time 0.005655/0.3523, allocations: 2.017 MB / 0.496 GB, free: 15.54 MB / 366.1 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.786425089463592]