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.0008414/0.0008414, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.002048, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007609/0.0007609, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00095/0.001711, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.171/1.171, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/1.29, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.04514/0.04514, allocations: 8.612 MB / 252.6 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008631/0.05377, allocations: 3.129 MB / 255.7 MB, free: 3.609 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 2.053e-06/2.053e-06, allocations: 0 / 257 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.082e-05, allocations: 6.312 kB / 257 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003609/0.003639, allocations: 1.875 MB / 258.8 MB, free: 456 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.005074, allocations: 0.6503 MB / 259.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.005246, allocations: 15.88 kB / 259.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.978e-05/0.005346, allocations: 27.67 kB / 259.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.005449, allocations: 39.59 kB / 259.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.00581, allocations: 103.7 kB / 259.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.006202, allocations: 223.3 kB / 259.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.006364, allocations: 42.75 kB / 259.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.006685, allocations: 143.6 kB / 260.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.006825, allocations: 71.77 kB / 260.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.006869, allocations: 23.94 kB / 260.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.152e-05/0.006901, allocations: 20 kB / 260.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.00695, allocations: 27.88 kB / 260.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.007023, allocations: 43.88 kB / 260.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.007296, allocations: 135.4 kB / 260.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.229e-05/0.007319, allocations: 4 kB / 260.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.00732, allocations: 0 / 260.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.007338, allocations: 0 / 260.4 MB, free: 14.88 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.0009893/0.008328, allocations: 0.4935 MB / 260.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.008373, allocations: 8.031 kB / 260.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.008453, allocations: 32.92 kB / 260.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.008856, allocations: 237 kB / 261.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-05/0.008948, allocations: 93.67 kB / 261.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.009002, allocations: 20.36 kB / 261.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.009296, allocations: 134.8 kB / 261.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.009308, allocations: 8.172 kB / 261.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.00933, allocations: 8.125 kB / 261.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.009339, allocations: 4 kB / 261.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.858e-05/0.009438, allocations: 36.5 kB / 261.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01047, allocations: 339.7 kB / 261.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.01059, allocations: 50.56 kB / 261.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.01062, allocations: 20.86 kB / 261.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.01064, allocations: 4 kB / 261.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.01081, allocations: 99.42 kB / 262 MB, free: 13.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 3.256e-06/0.01081, allocations: 4 kB / 262 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002081/0.01102, allocations: 105.5 kB / 262.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.01106, allocations: 51.41 kB / 262.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.01118, allocations: 202.4 kB / 262.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.0112, allocations: 29.7 kB / 262.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.01127, allocations: 132.3 kB / 262.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.0113, allocations: 43.67 kB / 262.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.01135, allocations: 41.67 kB / 262.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01147, allocations: 334.8 kB / 262.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.01153, allocations: 45.69 kB / 262.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.25e-05/0.01159, allocations: 77.11 kB / 263 MB, free: 12.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.0117, allocations: 113 kB / 263.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.0117, allocations: 0 / 263.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000178/0.01188, allocations: 164 kB / 263.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.01193, allocations: 37.69 kB / 263.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.01194, allocations: 3.938 kB / 263.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.01195, allocations: 0 / 263.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.01233, allocations: 87.95 kB / 263.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.01234, allocations: 7.938 kB / 263.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.01241, allocations: 27.88 kB / 263.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.01243, allocations: 4 kB / 263.4 MB, free: 11.59 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 8.355e-05/0.01251, allocations: 125.8 kB / 263.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.01253, allocations: 15.98 kB / 263.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.01257, allocations: 25.39 kB / 263.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01257, allocations: 0 / 263.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01257, allocations: 0 / 263.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01258, allocations: 0 / 263.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01272, allocations: 133.7 kB / 263.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01272, allocations: 0 / 263.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.01307, allocations: 75.94 kB / 263.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.01309, allocations: 19.86 kB / 263.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.0131, allocations: 3.984 kB / 263.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01311, allocations: 0 / 263.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01311, allocations: 7.938 kB / 263.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01311, allocations: 0 / 263.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.01331, allocations: 133 kB / 264 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.01333, allocations: 15.92 kB / 264 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.01339, allocations: 15.98 kB / 264 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.01345, allocations: 23.91 kB / 264 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.01346, allocations: 11.98 kB / 264 MB, free: 10.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.726e-05/0.01351, allocations: 58.19 kB / 264.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01351, allocations: 0 / 264.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.01365, allocations: 39.89 kB / 264.1 MB, free: 10.85 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.0001054/0.01375, allocations: 88.41 kB / 264.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.01393, allocations: 149.9 kB / 264.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.01394, allocations: 4.188 kB / 264.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.014, allocations: 45.31 kB / 264.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.01417, allocations: 40.88 kB / 264.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.01491, allocations: 349.1 kB / 264.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.514e-05/0.01496, allocations: 75.98 kB / 264.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.456e-05/0.01503, allocations: 29.42 kB / 264.9 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.01513, allocations: 79.36 kB / 265 MB, free: 9.926 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01514, allocations: 0 / 265 MB, free: 9.926 MB / 266.7 MB Notification: Performance of Templates: time 0.004318/0.01945, allocations: 2.124 MB / 267.1 MB, free: 7.848 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.924182022921741]