Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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.0008983/0.0008983, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00103/0.00103, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9647/0.9647, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.03731/0.03731, allocations: 8.61 MB / 268.9 MB, free: 4.781 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.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 341.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.209e-05, allocations: 8.641 kB / 341.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.001645/0.001657, allocations: 1.868 MB / 343.2 MB, free: 6.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007901/0.002447, allocations: 0.7056 MB / 343.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.002545, allocations: 15.88 kB / 343.9 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.566e-05/0.00263, allocations: 27.61 kB / 343.9 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.549e-05/0.002696, allocations: 47.53 kB / 344 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.002957, allocations: 139.7 kB / 344.1 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.003143, allocations: 295.1 kB / 344.4 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.003235, allocations: 37.14 kB / 344.5 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.003449, allocations: 187.6 kB / 344.6 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.003536, allocations: 79.69 kB / 344.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.003564, allocations: 20 kB / 344.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.003584, allocations: 20 kB / 344.8 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.003616, allocations: 51.81 kB / 344.8 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.00366, allocations: 71.75 kB / 344.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.003793, allocations: 175.2 kB / 345 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.654e-06/0.003796, allocations: 3.984 kB / 345.1 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003796, allocations: 0 / 345.1 MB, free: 4.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.0038, allocations: 0 / 345.1 MB, free: 4.371 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005178/0.004318, allocations: 0.6144 MB / 345.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.004351, allocations: 8.031 kB / 345.7 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.004403, allocations: 56.73 kB / 345.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.004598, allocations: 270.1 kB / 346 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.004635, allocations: 97.95 kB / 346.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.004659, allocations: 20.12 kB / 346.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.004824, allocations: 156.4 kB / 346.3 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.00483, allocations: 3.984 kB / 346.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.004842, allocations: 8 kB / 346.3 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004846, allocations: 4 kB / 346.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.004908, allocations: 52.73 kB / 346.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.005651, allocations: 0.5586 MB / 346.9 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.005767, allocations: 75.02 kB / 347 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.005812, allocations: 43.59 kB / 347 MB, free: 2.273 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.005834, allocations: 7.938 kB / 347 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.005971, allocations: 113 kB / 347.1 MB, free: 2.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.005972, allocations: 0 / 347.1 MB, free: 2.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002416/0.006214, allocations: 172.8 kB / 347.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.006235, allocations: 59.34 kB / 347.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.549e-05/0.00633, allocations: 276.2 kB / 347.6 MB, free: 1.613 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.006346, allocations: 33.7 kB / 347.7 MB, free: 1.574 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.006407, allocations: 199.1 kB / 347.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.006431, allocations: 47.58 kB / 347.9 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.006484, allocations: 59.31 kB / 347.9 MB, free: 1.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.006527, allocations: 0.504 MB / 348.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.861e-05/0.006575, allocations: 57.69 kB / 348.5 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.00663, allocations: 108.5 kB / 348.6 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.006719, allocations: 128.3 kB / 348.7 MB, free: 420 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.006721, allocations: 0 / 348.7 MB, free: 420 kB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001692/0.00689, allocations: 228.2 kB / 349 MB, free: 176 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.006911, allocations: 33.64 kB / 349 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006916, allocations: 0 / 349 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.006927, allocations: 8.094 kB / 349 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.007442, allocations: 111.8 kB / 349.1 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.008942, allocations: 3.662 MB / 352.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.767e-05/0.009039, allocations: 31.88 kB / 352.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.009052, allocations: 4 kB / 352.8 MB, free: 12.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.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): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.009157, allocations: 168.6 kB / 353 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.009186, allocations: 31.84 kB / 353 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.009368, allocations: 182.3 kB / 353.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00937, allocations: 0 / 353.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.009371, allocations: 0 / 353.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.009377, allocations: 7.922 kB / 353.2 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.009757, allocations: 462 kB / 353.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.009759, allocations: 0 / 353.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.01024, allocations: 99.88 kB / 353.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01024, allocations: 0 / 353.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.01025, allocations: 11.98 kB / 353.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01025, allocations: 0 / 353.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01025, allocations: 3.938 kB / 353.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.01049, allocations: 331.6 kB / 354.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.01051, allocations: 27.8 kB / 354.1 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.01052, allocations: 0 / 354.1 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.01061, allocations: 27.92 kB / 354.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.01066, allocations: 27.95 kB / 354.2 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.01067, allocations: 0 / 354.2 MB, free: 10.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.956e-05/0.01075, allocations: 189.1 kB / 354.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01075, allocations: 0 / 354.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.01094, allocations: 39.95 kB / 354.4 MB, free: 10.44 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.062e-05/0.01103, allocations: 103.2 kB / 354.5 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.01131, allocations: 207.7 kB / 354.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01132, allocations: 0 / 354.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.01139, allocations: 63.58 kB / 354.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.01161, allocations: 36.47 kB / 354.8 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.0123, allocations: 430.6 kB / 355.2 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.054e-05/0.01235, allocations: 88.38 kB / 355.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.091e-05/0.01243, allocations: 25.94 kB / 355.3 MB, free: 9.418 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.01255, allocations: 114.1 kB / 355.4 MB, free: 9.305 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01255, allocations: 0 / 355.4 MB, free: 9.305 MB / 282.7 MB Notification: Performance of Templates: time 0.005622/0.01817, allocations: 2.841 MB / 358.3 MB, free: 6.512 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.688195646740496]