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.001774/0.001774, allocations: 93.47 kB / 19.44 MB, free: 332 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.001879/0.001879, allocations: 169.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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.07486/0.07486, allocations: 8.624 MB / 268.2 MB, free: 4.953 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.272e-06/1.272e-06, allocations: 0 / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.197e-05, allocations: 6.25 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002197/0.002219, allocations: 1.774 MB / 341.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008449/0.003064, allocations: 0.6038 MB / 342.5 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.003155, allocations: 7.938 kB / 342.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.003261, allocations: 15.8 kB / 342.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.003341, allocations: 43.53 kB / 342.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.003562, allocations: 91.73 kB / 342.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.00377, allocations: 211.3 kB / 342.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.003864, allocations: 25.78 kB / 342.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.003997, allocations: 111.8 kB / 343 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.004095, allocations: 75.77 kB / 343.1 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.004131, allocations: 16 kB / 343.1 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.091e-05/0.004162, allocations: 16 kB / 343.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.004198, allocations: 35.83 kB / 343.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.004259, allocations: 51.83 kB / 343.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.004444, allocations: 187.3 kB / 343.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004446, allocations: 0 / 343.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004447, allocations: 4 kB / 343.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004451, allocations: 0 / 343.4 MB, free: 5.477 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.0008473/0.005298, allocations: 0.5847 MB / 344 MB, free: 4.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.005338, allocations: 12.02 kB / 344 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.489e-05/0.005423, allocations: 32.8 kB / 344 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.005727, allocations: 216.7 kB / 344.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/0.005785, allocations: 63.97 kB / 344.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.005822, allocations: 12.38 kB / 344.3 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.006223, allocations: 182.3 kB / 344.5 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.006236, allocations: 4.125 kB / 344.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.006255, allocations: 12.11 kB / 344.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.00626, allocations: 0 / 344.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.00666, allocations: 118.2 kB / 344.6 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000704/0.007364, allocations: 0.6886 MB / 345.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.007764, allocations: 134.9 kB / 345.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.007946, allocations: 63.58 kB / 345.5 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.007969, allocations: 0 / 345.5 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.008274, allocations: 160.9 kB / 345.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.008276, allocations: 3.984 kB / 345.7 MB, free: 3.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007333/0.009009, allocations: 244.8 kB / 345.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.009037, allocations: 63.34 kB / 346 MB, free: 2.715 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.009194, allocations: 274.8 kB / 346.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.009212, allocations: 29.7 kB / 346.3 MB, free: 2.391 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.009275, allocations: 195 kB / 346.4 MB, free: 2.191 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.009304, allocations: 43.69 kB / 346.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.009378, allocations: 59.36 kB / 346.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.009443, allocations: 0.5118 MB / 347.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.009696, allocations: 123.4 kB / 347.2 MB, free: 1.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.009935, allocations: 206.4 kB / 347.4 MB, free: 1.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.01032, allocations: 255.8 kB / 347.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01033, allocations: 0 / 347.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005814/0.01091, allocations: 376.1 kB / 348 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.01094, allocations: 67.39 kB / 348.1 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01094, allocations: 0 / 348.1 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.01096, allocations: 4 kB / 348.1 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.01134, allocations: 55.91 kB / 348.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.01135, allocations: 7.938 kB / 348.1 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.01156, allocations: 39.86 kB / 348.2 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.01158, allocations: 12.12 kB / 348.2 MB, free: 308 kB / 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,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,I.TS_in) * 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.159e-05/0.01166, allocations: 176.6 kB / 348.4 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.0117, allocations: 23.84 kB / 348.4 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.01174, allocations: 21.47 kB / 348.4 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01175, allocations: 4 kB / 348.4 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01175, allocations: 3.938 kB / 348.4 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01175, allocations: 3.984 kB / 348.4 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.012, allocations: 192.5 kB / 348.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.012, allocations: 3.938 kB / 348.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.01242, allocations: 43.97 kB / 348.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01242, allocations: 0 / 348.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.01244, allocations: 0 / 348.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01244, allocations: 0 / 348.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01244, allocations: 4 kB / 348.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.0133, allocations: 312.1 kB / 349 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.01334, allocations: 19.88 kB / 349 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.01339, allocations: 4 kB / 349 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.01357, allocations: 23.97 kB / 349 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.01368, allocations: 35.83 kB / 349 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.01369, allocations: 4 kB / 349 MB, free: 15.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.01387, allocations: 193.4 kB / 349.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01387, allocations: 0 / 349.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.01412, allocations: 36 kB / 349.3 MB, free: 15.15 MB / 282.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 0.0001446/0.01427, allocations: 109.7 kB / 349.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007514/0.01502, allocations: 353.7 kB / 349.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01502, allocations: 0 / 349.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.01531, allocations: 83.64 kB / 349.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.01561, allocations: 36.34 kB / 349.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007606/0.01637, allocations: 322.6 kB / 350.1 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.01649, allocations: 112.2 kB / 350.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.936e-05/0.01658, allocations: 25.41 kB / 350.3 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.01666, allocations: 28.48 kB / 350.3 MB, free: 14 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01667, allocations: 4 kB / 350.3 MB, free: 14 MB / 282.7 MB Notification: Performance of Templates: time 0.007176/0.02384, allocations: 2.627 MB / 352.9 MB, free: 11.41 MB / 282.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: 4.729392235982232]