Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0006895/0.0006895, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001825, 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.0007269/0.0007269, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008462/0.001573, 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08828/1.1, 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.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.0411/0.0411, allocations: 9.788 MB / 253.8 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006437/0.04753, allocations: 3.476 MB / 257.2 MB, free: 2.125 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 258.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.343e-05, allocations: 9.625 kB / 258.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002337/0.002361, allocations: 1.864 MB / 260.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.003283, allocations: 0.6464 MB / 261 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.003409, allocations: 11.88 kB / 261 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.194e-05/0.003491, allocations: 23.67 kB / 261.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.945e-05/0.003571, allocations: 39.59 kB / 261.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.003831, allocations: 111.7 kB / 261.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.004084, allocations: 227.3 kB / 261.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.004218, allocations: 46.73 kB / 261.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.004397, allocations: 139.7 kB / 261.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.759e-05/0.004495, allocations: 67.78 kB / 261.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.004525, allocations: 16 kB / 261.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.004546, allocations: 16 kB / 261.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.004581, allocations: 35.86 kB / 261.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.004636, allocations: 43.88 kB / 261.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.004821, allocations: 135.4 kB / 261.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.105e-05/0.004842, allocations: 3.984 kB / 261.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004843, allocations: 0 / 261.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.00486, allocations: 0 / 261.9 MB, free: 13.4 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.0007361/0.005596, allocations: 0.4896 MB / 262.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.005628, allocations: 12.03 kB / 262.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.00568, allocations: 32.91 kB / 262.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.005943, allocations: 229 kB / 262.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/0.006014, allocations: 101.7 kB / 262.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.00604, allocations: 16.38 kB / 262.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.00624, allocations: 146.8 kB / 262.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.006248, allocations: 192 / 262.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.006262, allocations: 12.12 kB / 263 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.006269, allocations: 3.938 kB / 263 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/0.006333, allocations: 44.48 kB / 263 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.00679, allocations: 331.7 kB / 263.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.829e-05/0.006878, allocations: 54.56 kB / 263.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.006908, allocations: 24.84 kB / 263.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.006923, allocations: 0 / 263.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.007059, allocations: 99.25 kB / 263.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.007061, allocations: 192 / 263.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001769/0.007238, allocations: 101.5 kB / 263.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.00727, allocations: 59.39 kB / 263.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.007375, allocations: 198.5 kB / 263.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.007393, allocations: 33.64 kB / 263.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.007449, allocations: 136.3 kB / 264 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.007479, allocations: 39.67 kB / 264.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.007528, allocations: 45.67 kB / 264.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.007611, allocations: 330.8 kB / 264.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.007659, allocations: 45.7 kB / 264.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.007726, allocations: 85.03 kB / 264.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.007833, allocations: 101.1 kB / 264.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007836, allocations: 4 kB / 264.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001482/0.007984, allocations: 168.9 kB / 264.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.008034, allocations: 32.67 kB / 264.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.008042, allocations: 7.938 kB / 264.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.008055, allocations: 0 / 264.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.008441, allocations: 87.97 kB / 264.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.008445, allocations: 4 kB / 264.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.008512, allocations: 27.88 kB / 265 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.008522, allocations: 7.984 kB / 265 MB, free: 10.1 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 6.553e-05/0.008588, allocations: 117.8 kB / 265.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.008606, allocations: 11.98 kB / 265.1 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.008635, allocations: 21.41 kB / 265.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.008638, allocations: 7.984 kB / 265.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.00864, allocations: 0 / 265.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.008643, allocations: 4 kB / 265.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.008762, allocations: 129.8 kB / 265.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008763, allocations: 0 / 265.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.009095, allocations: 75.86 kB / 265.3 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.009114, allocations: 23.86 kB / 265.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.009116, allocations: 0 / 265.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.009125, allocations: 4 kB / 265.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.009127, allocations: 3.938 kB / 265.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.009129, allocations: 0 / 265.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.009298, allocations: 145 kB / 265.5 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.009315, allocations: 4 kB / 265.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.00937, allocations: 15.98 kB / 265.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.009418, allocations: 23.89 kB / 265.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.009427, allocations: 8 kB / 265.6 MB, free: 9.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.936e-05/0.009466, allocations: 56.72 kB / 265.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009466, allocations: 8 kB / 265.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001219/0.009588, allocations: 35.89 kB / 265.7 MB, free: 9.371 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 7.623e-05/0.009664, allocations: 84.42 kB / 265.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.009808, allocations: 156.6 kB / 265.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.009815, allocations: 4 kB / 265.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.009867, allocations: 40.77 kB / 265.9 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.01, allocations: 45.64 kB / 266 MB, free: 9.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.0106, allocations: 361.1 kB / 266.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.359e-05/0.01064, allocations: 83.88 kB / 266.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.262e-05/0.0107, allocations: 21.48 kB / 266.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/0.01079, allocations: 79.36 kB / 266.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01079, allocations: 0 / 266.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of Templates: time 0.003663/0.01446, allocations: 2.118 MB / 268.6 MB, free: 6.379 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.553683329373598]