Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.001044/0.001044, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001184/0.001184, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.9813/0.9813, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.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.03993/0.03993, allocations: 8.61 MB / 269.7 MB, free: 4.754 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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 342.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.537e-05, allocations: 5.125 kB / 342.1 MB, free: 9.148 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002301/0.002327, allocations: 1.775 MB / 343.9 MB, free: 7.359 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007027/0.003029, allocations: 0.6116 MB / 344.5 MB, free: 6.742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.003108, allocations: 11.88 kB / 344.5 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.479e-05/0.003193, allocations: 15.8 kB / 344.5 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.003253, allocations: 39.59 kB / 344.6 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.003426, allocations: 83.81 kB / 344.6 MB, free: 6.594 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.003601, allocations: 211.2 kB / 344.9 MB, free: 6.387 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.787e-05/0.003679, allocations: 37.67 kB / 344.9 MB, free: 6.352 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.003789, allocations: 111.8 kB / 345 MB, free: 6.242 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.003865, allocations: 63.78 kB / 345.1 MB, free: 6.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.003889, allocations: 16 kB / 345.1 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.003907, allocations: 16 kB / 345.1 MB, free: 6.148 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.003945, allocations: 39.83 kB / 345.1 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.003995, allocations: 55.88 kB / 345.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.004135, allocations: 135.4 kB / 345.3 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004137, allocations: 0 / 345.3 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004137, allocations: 0 / 345.3 MB, free: 5.922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.004141, allocations: 0 / 345.3 MB, free: 5.922 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005638/0.004705, allocations: 0.585 MB / 345.9 MB, free: 5.289 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.004733, allocations: 8.031 kB / 345.9 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.004786, allocations: 36.8 kB / 345.9 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.004983, allocations: 217.3 kB / 346.2 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.005027, allocations: 67.95 kB / 346.2 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.005049, allocations: 12.38 kB / 346.2 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.005257, allocations: 166.4 kB / 346.4 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.005265, allocations: 192 / 346.4 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.005278, allocations: 8.125 kB / 346.4 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005284, allocations: 4 kB / 346.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.05e-05/0.005345, allocations: 31.91 kB / 346.4 MB, free: 4.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.005823, allocations: 0.6423 MB / 347.1 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.73e-05/0.00592, allocations: 62.97 kB / 347.1 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.005954, allocations: 23.86 kB / 347.2 MB, free: 3.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.005963, allocations: 3.938 kB / 347.2 MB, free: 3.906 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.006105, allocations: 108.9 kB / 347.3 MB, free: 3.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.006107, allocations: 0 / 347.3 MB, free: 3.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002108/0.006317, allocations: 133.5 kB / 347.4 MB, free: 3.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.006347, allocations: 63.34 kB / 347.5 MB, free: 3.574 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.006461, allocations: 250.7 kB / 347.7 MB, free: 3.309 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.006479, allocations: 29.69 kB / 347.7 MB, free: 3.273 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.00655, allocations: 190.9 kB / 347.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.006576, allocations: 39.67 kB / 348 MB, free: 3.039 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.00663, allocations: 51.33 kB / 348 MB, free: 2.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.006736, allocations: 0.5001 MB / 348.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.006793, allocations: 79.39 kB / 348.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.006876, allocations: 156.1 kB / 348.8 MB, free: 2.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.00699, allocations: 187.5 kB / 348.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006992, allocations: 0 / 348.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002152/0.007207, allocations: 276.2 kB / 349.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.007237, allocations: 59.41 kB / 349.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007242, allocations: 4 kB / 349.3 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.00725, allocations: 8.188 kB / 349.3 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.007436, allocations: 55.89 kB / 349.3 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.00744, allocations: 7.938 kB / 349.3 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.007536, allocations: 39.83 kB / 349.4 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.007548, allocations: 7.984 kB / 349.4 MB, free: 1.473 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,I.TS_in,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.092e-05/0.007629, allocations: 172.5 kB / 349.6 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.007651, allocations: 23.91 kB / 349.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.00768, allocations: 25.45 kB / 349.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.007682, allocations: 0 / 349.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007683, allocations: 0 / 349.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.007687, allocations: 3.938 kB / 349.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.007798, allocations: 145.1 kB / 349.7 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007799, allocations: 0 / 349.7 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.007969, allocations: 43.97 kB / 349.8 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.00797, allocations: 0 / 349.8 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.007993, allocations: 8 kB / 349.8 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.007995, allocations: 3.938 kB / 349.8 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007996, allocations: 0 / 349.8 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.008202, allocations: 187.5 kB / 350 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.008216, allocations: 15.84 kB / 350 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.008234, allocations: 0 / 350 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.008309, allocations: 27.97 kB / 350 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.008363, allocations: 27.94 kB / 350.1 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.00837, allocations: 4 kB / 350.1 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.16e-05/0.008432, allocations: 181.4 kB / 350.2 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008432, allocations: 0 / 350.2 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.00858, allocations: 35.95 kB / 350.3 MB, free: 0.5352 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.408e-05/0.008654, allocations: 112.8 kB / 350.4 MB, free: 428 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.008842, allocations: 249.8 kB / 350.6 MB, free: 136 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.008843, allocations: 0 / 350.6 MB, free: 136 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.008904, allocations: 51.59 kB / 350.7 MB, free: 80 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.009075, allocations: 44.06 kB / 350.7 MB, free: 36 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.009456, allocations: 302.8 kB / 351 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.496e-05/0.009491, allocations: 71.98 kB / 351.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.009545, allocations: 21.48 kB / 351.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.009648, allocations: 106.2 kB / 351.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009649, allocations: 0 / 351.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of Templates: time 0.0042/0.01385, allocations: 2.914 MB / 354.1 MB, free: 12.62 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8946983572095633]