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.001081/0.001081, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002386, 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.001066/0.001066, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002444, 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.021/1.021, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1151/1.136, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.04086/0.04086, allocations: 8.61 MB / 252.6 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008885/0.04974, allocations: 3.125 MB / 255.7 MB, free: 3.605 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.623e-06/1.623e-06, allocations: 0 / 257 MB, free: 2.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.173e-05, allocations: 6.25 kB / 257 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002306/0.002327, allocations: 1.817 MB / 258.8 MB, free: 500 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000816/0.003143, allocations: 0.6311 MB / 259.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.003224, allocations: 7.875 kB / 259.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.946e-05/0.003284, allocations: 19.8 kB / 259.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.76e-05/0.003351, allocations: 51.42 kB / 259.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.003524, allocations: 87.73 kB / 259.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.003737, allocations: 203.3 kB / 259.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.003839, allocations: 26.44 kB / 259.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.004004, allocations: 128.5 kB / 259.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.0041, allocations: 63.78 kB / 260 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.004131, allocations: 16 kB / 260 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.004152, allocations: 16 kB / 260 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.004184, allocations: 27.88 kB / 260.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.004235, allocations: 43.88 kB / 260.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.004394, allocations: 127.4 kB / 260.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.004409, allocations: 0 / 260.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00441, allocations: 0 / 260.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.004426, allocations: 0 / 260.2 MB, free: 15.05 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006616/0.005088, allocations: 499 kB / 260.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.005118, allocations: 8.031 kB / 260.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.005163, allocations: 32.91 kB / 260.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.005384, allocations: 190.8 kB / 260.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.005434, allocations: 67.95 kB / 261 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.00546, allocations: 16.38 kB / 261 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.00567, allocations: 163.6 kB / 261.2 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.005678, allocations: 7.938 kB / 261.2 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.005689, allocations: 0 / 261.2 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.005695, allocations: 4 kB / 261.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.00576, allocations: 31.92 kB / 261.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.006211, allocations: 436.2 kB / 261.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.588e-05/0.006307, allocations: 50.48 kB / 261.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.006335, allocations: 20.86 kB / 261.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.006344, allocations: 4 kB / 261.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.006494, allocations: 106.9 kB / 261.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.006496, allocations: 0 / 261.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001759/0.006672, allocations: 101.7 kB / 261.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.006708, allocations: 55.39 kB / 262 MB, free: 13.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.006824, allocations: 187.5 kB / 262.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.006844, allocations: 33.7 kB / 262.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.006902, allocations: 128.2 kB / 262.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.006931, allocations: 39.72 kB / 262.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.006983, allocations: 53.62 kB / 262.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.007067, allocations: 330.8 kB / 262.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.426e-05/0.007122, allocations: 75.39 kB / 262.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.007198, allocations: 137.3 kB / 262.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.007306, allocations: 161.1 kB / 263.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007308, allocations: 0 / 263.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001758/0.007484, allocations: 239.5 kB / 263.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.007534, allocations: 67.39 kB / 263.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.007542, allocations: 4 kB / 263.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.007555, allocations: 3.938 kB / 263.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.007801, allocations: 68.14 kB / 263.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.007805, allocations: 0 / 263.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-05/0.007902, allocations: 39.81 kB / 263.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.007913, allocations: 7.984 kB / 263.5 MB, free: 11.44 MB / 266.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.232e-05/0.007995, allocations: 125.8 kB / 263.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.008015, allocations: 11.98 kB / 263.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.00805, allocations: 25.45 kB / 263.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.008056, allocations: 11.92 kB / 263.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008057, allocations: 4 kB / 263.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008061, allocations: 3.938 kB / 263.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.008169, allocations: 113.8 kB / 263.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.008172, allocations: 0 / 263.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.008351, allocations: 47.91 kB / 263.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.008366, allocations: 15.84 kB / 263.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.008368, allocations: 0 / 263.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.008379, allocations: 7.984 kB / 263.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008381, allocations: 0 / 263.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.008384, allocations: 7.938 kB / 263.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.008562, allocations: 132.4 kB / 264 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.008583, allocations: 4 kB / 264 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.008659, allocations: 27.97 kB / 264.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.008727, allocations: 23.95 kB / 264.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.008736, allocations: 7.938 kB / 264.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.185e-05/0.008778, allocations: 66.95 kB / 264.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008778, allocations: 0 / 264.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001318/0.00891, allocations: 35.95 kB / 264.2 MB, free: 10.73 MB / 266.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 8.545e-05/0.008995, allocations: 88.45 kB / 264.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.009195, allocations: 247 kB / 264.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.009204, allocations: 7.938 kB / 264.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.009258, allocations: 36.84 kB / 264.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.009407, allocations: 47.91 kB / 264.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.009964, allocations: 317.2 kB / 264.9 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.01, allocations: 71.98 kB / 265 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.01006, allocations: 17.48 kB / 265 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.01016, allocations: 91.28 kB / 265.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01016, allocations: 0 / 265.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of Templates: time 0.004033/0.0142, allocations: 2.631 MB / 267.7 MB, free: 7.148 MB / 266.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.890898116864264]