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.0006697/0.0006697, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008754/0.001545, allocations: 440 kB / 10.41 MB, free: 284 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.0006744/0.0006744, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000863/0.001537, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.086/1.086, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08377/1.169, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.03642/0.03642, allocations: 8.602 MB / 252.7 MB, free: 6.645 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008521/0.04494, allocations: 3.137 MB / 255.9 MB, free: 3.5 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.503e-06/1.503e-06, allocations: 0 / 257.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.139e-05, allocations: 6.25 kB / 257.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002218/0.002239, allocations: 1.836 MB / 259 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006935/0.002933, allocations: 0.6309 MB / 259.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.003006, allocations: 7.875 kB / 259.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.00306, allocations: 19.8 kB / 259.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.003117, allocations: 39.59 kB / 259.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.003262, allocations: 95.73 kB / 259.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.003454, allocations: 195.4 kB / 260 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.003537, allocations: 34.42 kB / 260 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.003679, allocations: 135.5 kB / 260.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.00377, allocations: 67.77 kB / 260.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.003797, allocations: 16 kB / 260.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.127e-05/0.003819, allocations: 16 kB / 260.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.948e-05/0.003848, allocations: 23.88 kB / 260.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.003891, allocations: 39.94 kB / 260.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.004031, allocations: 127.4 kB / 260.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.00404, allocations: 0 / 260.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004041, allocations: 0 / 260.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.004049, allocations: 0 / 260.5 MB, free: 14.91 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.0005962/0.004645, allocations: 499 kB / 260.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.004671, allocations: 8.031 kB / 261 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.00472, allocations: 24.91 kB / 261 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.004911, allocations: 194.8 kB / 261.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.004953, allocations: 63.97 kB / 261.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.00498, allocations: 16.38 kB / 261.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.005177, allocations: 163.6 kB / 261.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005184, allocations: 0 / 261.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.005197, allocations: 7.984 kB / 261.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.005203, allocations: 8 kB / 261.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.204e-05/0.005265, allocations: 36.72 kB / 261.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.005659, allocations: 428.3 kB / 261.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.313e-05/0.005742, allocations: 46.5 kB / 261.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.005772, allocations: 20.84 kB / 261.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.005783, allocations: 8 kB / 261.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.00591, allocations: 99.3 kB / 262 MB, free: 13.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.005911, allocations: 0 / 262 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001576/0.006069, allocations: 101.7 kB / 262.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.006095, allocations: 55.41 kB / 262.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.834e-05/0.006193, allocations: 195.5 kB / 262.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.006211, allocations: 29.7 kB / 262.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.006269, allocations: 132.2 kB / 262.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.006292, allocations: 35.72 kB / 262.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.00634, allocations: 45.64 kB / 262.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.006415, allocations: 342.8 kB / 263 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.006468, allocations: 75.33 kB / 263 MB, free: 12.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.006536, allocations: 131.8 kB / 263.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.006643, allocations: 169.1 kB / 263.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006645, allocations: 4 kB / 263.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000158/0.006803, allocations: 239.6 kB / 263.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.006843, allocations: 67.39 kB / 263.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.006848, allocations: 4 kB / 263.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.00686, allocations: 3.938 kB / 263.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.007073, allocations: 59.91 kB / 263.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.007078, allocations: 7.984 kB / 263.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.236e-05/0.00717, allocations: 40.06 kB / 263.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.007182, allocations: 11.98 kB / 263.8 MB, free: 11.29 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 6.678e-05/0.007249, allocations: 125.8 kB / 263.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.007265, allocations: 11.98 kB / 263.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.007296, allocations: 25.45 kB / 263.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.007299, allocations: 7.938 kB / 263.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.0073, allocations: 0 / 263.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007303, allocations: 0 / 263.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.35e-05/0.007396, allocations: 117.8 kB / 264 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.007397, allocations: 0 / 264 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.007567, allocations: 51.89 kB / 264.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.007583, allocations: 15.84 kB / 264.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.007585, allocations: 0 / 264.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.007596, allocations: 7.984 kB / 264.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007597, allocations: 0 / 264.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.007599, allocations: 3.938 kB / 264.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.007761, allocations: 129 kB / 264.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.007779, allocations: 12.03 kB / 264.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.007843, allocations: 19.97 kB / 264.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.007895, allocations: 27.95 kB / 264.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.007902, allocations: 7.938 kB / 264.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.007941, allocations: 59.03 kB / 264.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007941, allocations: 0 / 264.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001247/0.008066, allocations: 43.94 kB / 264.4 MB, free: 10.59 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 6.961e-05/0.008135, allocations: 84.36 kB / 264.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.008314, allocations: 258.5 kB / 264.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.008321, allocations: 4 kB / 264.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.813e-05/0.00838, allocations: 48.52 kB / 264.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.008571, allocations: 266.1 kB / 265.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.009053, allocations: 317.2 kB / 265.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.009086, allocations: 71.98 kB / 265.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.178e-05/0.009148, allocations: 17.48 kB / 265.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-05/0.009246, allocations: 83.36 kB / 265.5 MB, free: 9.324 MB / 266.7 MB Notification: Performance of SimCode: time 5.1e-07/0.009247, allocations: 0 / 265.5 MB, free: 9.324 MB / 266.7 MB Notification: Performance of Templates: time 0.003878/0.01312, allocations: 2.579 MB / 268.1 MB, free: 6.781 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.5372547283768654]