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.0009368/0.0009368, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002315, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009665/0.0009665, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002225, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.079/1.079, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08266/1.162, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.03662/0.03662, allocations: 8.615 MB / 252.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005487/0.04211, allocations: 3.137 MB / 255.9 MB, free: 3.484 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.532e-06/1.532e-06, allocations: 0 / 257.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.367e-05, allocations: 2.312 kB / 257.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003253/0.003277, allocations: 1.886 MB / 259.1 MB, free: 292 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.004513, allocations: 0.6503 MB / 259.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.004633, allocations: 11.88 kB / 259.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.629e-05/0.00471, allocations: 23.67 kB / 259.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.004797, allocations: 35.61 kB / 259.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.005064, allocations: 115.6 kB / 259.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.005363, allocations: 219.3 kB / 260.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.005539, allocations: 46.75 kB / 260.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.005772, allocations: 143.7 kB / 260.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.005987, allocations: 75.77 kB / 260.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.006034, allocations: 16 kB / 260.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.175e-05/0.006065, allocations: 16 kB / 260.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.00611, allocations: 31.88 kB / 260.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.006179, allocations: 47.88 kB / 260.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.006404, allocations: 131.4 kB / 260.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.006417, allocations: 0 / 260.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006418, allocations: 0 / 260.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.006432, allocations: 0 / 260.6 MB, free: 14.73 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.0009296/0.007362, allocations: 0.4974 MB / 261.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.007401, allocations: 12.03 kB / 261.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.394e-05/0.007485, allocations: 28.91 kB / 261.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.00787, allocations: 233 kB / 261.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.00797, allocations: 97.67 kB / 261.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.008019, allocations: 16.38 kB / 261.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.008313, allocations: 146.7 kB / 261.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.008324, allocations: 192 / 261.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.008344, allocations: 8.125 kB / 261.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.008351, allocations: 8 kB / 261.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.008548, allocations: 48.47 kB / 261.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.009275, allocations: 323.8 kB / 262 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.009421, allocations: 54.5 kB / 262.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.009469, allocations: 24.84 kB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.009489, allocations: 0 / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.009679, allocations: 99.31 kB / 262.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.983e-06/0.009681, allocations: 0 / 262.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002548/0.009935, allocations: 105.7 kB / 262.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.009979, allocations: 63.34 kB / 262.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.01015, allocations: 198.5 kB / 262.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.01017, allocations: 25.7 kB / 262.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.01026, allocations: 132.3 kB / 262.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.01031, allocations: 39.67 kB / 262.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.154e-05/0.01039, allocations: 45.67 kB / 262.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.01051, allocations: 330.8 kB / 263.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.913e-05/0.01059, allocations: 53.69 kB / 263.2 MB, free: 12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.372e-05/0.01068, allocations: 77.11 kB / 263.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.01082, allocations: 109 kB / 263.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01082, allocations: 0 / 263.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003795/0.0112, allocations: 164.9 kB / 263.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.01125, allocations: 40.97 kB / 263.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.01125, allocations: 4.031 kB / 263.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01127, allocations: 4 kB / 263.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.0118, allocations: 79.94 kB / 263.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01181, allocations: 7.938 kB / 263.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01192, allocations: 23.88 kB / 263.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.01193, allocations: 12 kB / 263.7 MB, free: 11.43 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 9.473e-05/0.01203, allocations: 116.8 kB / 263.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.01206, allocations: 15.98 kB / 263.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.0121, allocations: 29.39 kB / 263.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01211, allocations: 0 / 263.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01211, allocations: 0 / 263.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01211, allocations: 0 / 263.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.0123, allocations: 125.8 kB / 264 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.0123, allocations: 3.984 kB / 264 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.01282, allocations: 83.88 kB / 264 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.01285, allocations: 15.86 kB / 264.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.01285, allocations: 0 / 264.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.01287, allocations: 11.92 kB / 264.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.01287, allocations: 7.938 kB / 264.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01287, allocations: 0 / 264.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.01312, allocations: 129.5 kB / 264.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.01314, allocations: 15.98 kB / 264.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.01324, allocations: 11.98 kB / 264.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.01331, allocations: 27.91 kB / 264.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.01332, allocations: 0 / 264.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.021e-05/0.01339, allocations: 70.17 kB / 264.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01339, allocations: 0 / 264.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.01361, allocations: 35.89 kB / 264.4 MB, free: 10.7 MB / 266.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.0001158/0.01373, allocations: 92.39 kB / 264.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.01393, allocations: 157.9 kB / 264.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/0.01394, allocations: 4 kB / 264.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.01403, allocations: 48.7 kB / 264.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.01448, allocations: 207.6 kB / 264.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/0.01536, allocations: 364.8 kB / 265.2 MB, free: 9.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.144e-05/0.01542, allocations: 75.98 kB / 265.3 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.416e-05/0.01551, allocations: 17.48 kB / 265.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.01564, allocations: 83.36 kB / 265.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01564, allocations: 0 / 265.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of Templates: time 0.005498/0.02114, allocations: 2.069 MB / 267.5 MB, free: 7.52 MB / 266.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.5194063605740666]