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.001025/0.001025, allocations: 92.22 kB / 19.65 MB, free: 276 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.001295/0.001295, allocations: 173 kB / 23.02 MB, free: 1.547 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.037/0.037, allocations: 8.604 MB / 268.6 MB, free: 4.918 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 9.92e-07/9.92e-07, allocations: 0 / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.273e-05, allocations: 6.25 kB / 340.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.001875/0.001897, allocations: 1.798 MB / 342.7 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007517/0.002649, allocations: 0.5999 MB / 343.3 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.375e-05/0.002743, allocations: 11.88 kB / 343.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.002845, allocations: 23.73 kB / 343.3 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.002908, allocations: 35.67 kB / 343.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.003146, allocations: 87.73 kB / 343.4 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.003339, allocations: 211.3 kB / 343.6 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.003434, allocations: 29.67 kB / 343.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.003541, allocations: 119.8 kB / 343.8 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.003624, allocations: 63.78 kB / 343.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.003655, allocations: 16 kB / 343.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.317e-05/0.003678, allocations: 20 kB / 343.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.003716, allocations: 35.83 kB / 343.9 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.003775, allocations: 63.81 kB / 344 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.003931, allocations: 131.5 kB / 344.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003933, allocations: 0 / 344.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.003935, allocations: 0 / 344.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.00394, allocations: 0 / 344.1 MB, free: 5.137 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.0006902/0.004631, allocations: 0.5811 MB / 344.7 MB, free: 4.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.004673, allocations: 12.03 kB / 344.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.004742, allocations: 32.8 kB / 344.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.00498, allocations: 200.8 kB / 344.9 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.962e-05/0.00505, allocations: 71.89 kB / 345 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.005082, allocations: 16.38 kB / 345 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.005347, allocations: 173.9 kB / 345.2 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.005359, allocations: 192 / 345.2 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.005379, allocations: 4.125 kB / 345.2 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.005392, allocations: 4 kB / 345.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.575e-05/0.005488, allocations: 54.28 kB / 345.3 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.006103, allocations: 0.6652 MB / 345.9 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.006236, allocations: 59.05 kB / 346 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.006283, allocations: 27.67 kB / 346 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.006296, allocations: 4.188 kB / 346 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.006457, allocations: 116.9 kB / 346.1 MB, free: 2.949 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.043e-06/0.006459, allocations: 0 / 346.1 MB, free: 2.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002908/0.00675, allocations: 141.5 kB / 346.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.00678, allocations: 63.28 kB / 346.3 MB, free: 2.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.006901, allocations: 250.8 kB / 346.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.006916, allocations: 33.7 kB / 346.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.006988, allocations: 183 kB / 346.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.007015, allocations: 43.69 kB / 346.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.007071, allocations: 55.34 kB / 346.9 MB, free: 2.133 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.007129, allocations: 0.4962 MB / 347.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.809e-05/0.007207, allocations: 87.38 kB / 347.5 MB, free: 1.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.452e-05/0.007292, allocations: 157.1 kB / 347.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.007413, allocations: 181.1 kB / 347.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.007416, allocations: 0 / 347.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002219/0.007638, allocations: 291.6 kB / 348.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.007669, allocations: 67.39 kB / 348.1 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007674, allocations: 0 / 348.1 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.00769, allocations: 4 kB / 348.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.007896, allocations: 64.03 kB / 348.2 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.007902, allocations: 4 kB / 348.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.516e-05/0.007997, allocations: 35.86 kB / 348.2 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.008009, allocations: 11.94 kB / 348.3 MB, free: 0.6055 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,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 6.929e-05/0.008078, allocations: 172.5 kB / 348.4 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.0081, allocations: 23.84 kB / 348.4 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.008132, allocations: 25.47 kB / 348.5 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008134, allocations: 0 / 348.5 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.008138, allocations: 3.938 kB / 348.5 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.008142, allocations: 7.984 kB / 348.5 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.008243, allocations: 176.5 kB / 348.7 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.008244, allocations: 0 / 348.7 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.008412, allocations: 39.97 kB / 348.7 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008414, allocations: 0 / 348.7 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.008426, allocations: 0 / 348.7 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.008428, allocations: 4 kB / 348.7 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008429, allocations: 0 / 348.7 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.008707, allocations: 200.9 kB / 348.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.008727, allocations: 15.89 kB / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.008754, allocations: 11.98 kB / 348.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.008826, allocations: 15.98 kB / 348.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.008916, allocations: 31.7 kB / 349 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.008927, allocations: 7.984 kB / 349 MB, free: 15.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.768e-05/0.009015, allocations: 177.4 kB / 349.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009015, allocations: 0 / 349.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.009179, allocations: 36 kB / 349.2 MB, free: 15.61 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.0001166/0.009296, allocations: 103.2 kB / 349.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.009595, allocations: 272.9 kB / 349.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.009597, allocations: 0 / 349.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.009677, allocations: 51.59 kB / 349.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.00989, allocations: 39.91 kB / 349.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.01038, allocations: 322.3 kB / 350 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.01042, allocations: 71.98 kB / 350 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.747e-05/0.01048, allocations: 17.48 kB / 350 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.01053, allocations: 24.5 kB / 350.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01053, allocations: 0 / 350.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of Templates: time 0.004566/0.0151, allocations: 2.801 MB / 352.9 MB, free: 11.86 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: 2.813034159131348]