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.001753/0.001753, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001907/0.001907, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.0751/0.0751, allocations: 8.617 MB / 268.2 MB, free: 4.945 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.703e-06/1.703e-06, allocations: 0 / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.856e-05, allocations: 12.58 kB / 340.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002341/0.00237, allocations: 1.806 MB / 342 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000874/0.003244, allocations: 0.635 MB / 342.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.003361, allocations: 15.81 kB / 342.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.003479, allocations: 19.73 kB / 342.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.003563, allocations: 39.59 kB / 342.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.003821, allocations: 103.7 kB / 342.8 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.004026, allocations: 235.2 kB / 343 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.004144, allocations: 40.8 kB / 343 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.004313, allocations: 127.8 kB / 343.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.004414, allocations: 75.69 kB / 343.2 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.004453, allocations: 16 kB / 343.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.844e-05/0.004481, allocations: 20 kB / 343.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.004521, allocations: 39.83 kB / 343.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.004586, allocations: 63.81 kB / 343.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.00479, allocations: 203.2 kB / 343.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.004793, allocations: 0 / 343.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004794, allocations: 0 / 343.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.0048, allocations: 0 / 343.6 MB, free: 5.277 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.0008254/0.005625, allocations: 0.5908 MB / 344.2 MB, free: 4.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.005658, allocations: 8.031 kB / 344.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.134e-05/0.00574, allocations: 44.8 kB / 344.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.006043, allocations: 248 kB / 344.4 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.006101, allocations: 93.66 kB / 344.5 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.006137, allocations: 16.38 kB / 344.6 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.006575, allocations: 170 kB / 344.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.006588, allocations: 192 / 344.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.006616, allocations: 8.125 kB / 344.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.006624, allocations: 8 kB / 344.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.006968, allocations: 119.9 kB / 344.9 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009865/0.007955, allocations: 0.5381 MB / 345.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.008468, allocations: 126.9 kB / 345.5 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.008724, allocations: 55.66 kB / 345.6 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.008759, allocations: 4 kB / 345.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.009173, allocations: 144.9 kB / 345.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 2.264e-06/0.009175, allocations: 0 / 345.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009227/0.0101, allocations: 241.5 kB / 346 MB, free: 2.723 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.01013, allocations: 59.41 kB / 346 MB, free: 2.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.01035, allocations: 293.8 kB / 346.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.01037, allocations: 25.7 kB / 346.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.01047, allocations: 195.2 kB / 346.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.01051, allocations: 43.67 kB / 346.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.01062, allocations: 59.34 kB / 346.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01072, allocations: 0.504 MB / 347.1 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.01101, allocations: 89.66 kB / 347.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.0113, allocations: 136.4 kB / 347.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.01179, allocations: 194.5 kB / 347.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.0118, allocations: 0 / 347.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007232/0.01252, allocations: 287.2 kB / 347.8 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.01256, allocations: 37.8 kB / 347.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01257, allocations: 4 kB / 347.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.01259, allocations: 8 kB / 347.9 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009739/0.01356, allocations: 63.95 kB / 347.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.01357, allocations: 7.938 kB / 347.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.01378, allocations: 27.88 kB / 348 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.0138, allocations: 8 kB / 348 MB, free: 0.5781 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 0.0001293/0.01393, allocations: 177.1 kB / 348.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.01398, allocations: 23.84 kB / 348.2 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.01404, allocations: 17.47 kB / 348.2 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01404, allocations: 4 kB / 348.2 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01405, allocations: 0 / 348.2 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01405, allocations: 3.984 kB / 348.2 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.0143, allocations: 224.4 kB / 348.4 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.0143, allocations: 0 / 348.4 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.01537, allocations: 67.89 kB / 348.5 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01538, allocations: 0 / 348.5 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.0154, allocations: 7.938 kB / 348.5 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.0154, allocations: 0 / 348.5 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.0154, allocations: 0 / 348.5 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.01648, allocations: 284.2 kB / 348.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.01653, allocations: 23.86 kB / 348.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.01658, allocations: 3.938 kB / 348.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.01678, allocations: 11.98 kB / 348.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.0169, allocations: 27.95 kB / 348.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.01692, allocations: 4 kB / 348.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002524/0.01717, allocations: 196.5 kB / 349 MB, free: 15.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01717, allocations: 0 / 349 MB, free: 15.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004198/0.01759, allocations: 39.89 kB / 349.1 MB, free: 15.42 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 0.0001981/0.01779, allocations: 111.7 kB / 349.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007943/0.01859, allocations: 240.6 kB / 349.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01859, allocations: 0 / 349.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.01893, allocations: 83.53 kB / 349.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.01936, allocations: 34.98 kB / 349.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.02067, allocations: 382.8 kB / 349.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.02086, allocations: 125.2 kB / 350 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.02101, allocations: 29.47 kB / 350 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/0.02111, allocations: 20.5 kB / 350.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02111, allocations: 4 kB / 350.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of Templates: time 0.009157/0.03026, allocations: 2.096 MB / 352.2 MB, free: 12.26 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: 4.6485615480924025]