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.00108/0.00108, 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.001219/0.001219, allocations: 169 kB / 23.02 MB, free: 1.551 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.021/1.021, 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.03774/0.03774, allocations: 8.606 MB / 268.5 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.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.623e-06/1.623e-06, allocations: 0 / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.611e-05, allocations: 2.312 kB / 340.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002528/0.002554, allocations: 1.891 MB / 342.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.003661, allocations: 0.7056 MB / 343.5 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.003813, allocations: 15.81 kB / 343.5 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.003941, allocations: 31.61 kB / 343.5 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.004048, allocations: 43.59 kB / 343.6 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.004472, allocations: 135.7 kB / 343.7 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.004758, allocations: 295.1 kB / 344 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.0049, allocations: 45.12 kB / 344 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.005095, allocations: 175.6 kB / 344.2 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.005257, allocations: 87.69 kB / 344.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.005295, allocations: 20 kB / 344.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.751e-05/0.005322, allocations: 24 kB / 344.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.005368, allocations: 55.8 kB / 344.4 MB, free: 4.859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.005445, allocations: 71.75 kB / 344.5 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.005667, allocations: 171.3 kB / 344.6 MB, free: 4.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.00567, allocations: 0 / 344.6 MB, free: 4.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005671, allocations: 0 / 344.6 MB, free: 4.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.005677, allocations: 4 kB / 344.6 MB, free: 4.617 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.0007498/0.006427, allocations: 0.6222 MB / 345.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.006466, allocations: 8.031 kB / 345.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.006548, allocations: 48.73 kB / 345.3 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.006853, allocations: 275.4 kB / 345.6 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.006917, allocations: 93.95 kB / 345.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.006959, allocations: 24.12 kB / 345.7 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.007255, allocations: 172.4 kB / 345.9 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.007263, allocations: 3.938 kB / 345.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.007283, allocations: 8 kB / 345.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.007292, allocations: 0 / 345.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.007426, allocations: 60.8 kB / 345.9 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008579/0.008284, allocations: 0.6049 MB / 346.5 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.008453, allocations: 90.91 kB / 346.6 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.008532, allocations: 47.67 kB / 346.7 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.008558, allocations: 0 / 346.7 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.008732, allocations: 117 kB / 346.8 MB, free: 2.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.625e-06/0.008735, allocations: 7.984 kB / 346.8 MB, free: 2.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003757/0.00911, allocations: 197.4 kB / 347 MB, free: 2.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.009136, allocations: 51.41 kB / 347 MB, free: 2.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.00928, allocations: 284.3 kB / 347.3 MB, free: 1.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.009297, allocations: 25.7 kB / 347.3 MB, free: 1.699 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.009375, allocations: 203.1 kB / 347.5 MB, free: 1.496 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.009409, allocations: 55.53 kB / 347.6 MB, free: 1.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/0.009481, allocations: 51.34 kB / 347.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.009541, allocations: 0.504 MB / 348.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.009639, allocations: 65.67 kB / 348.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.009746, allocations: 112.5 kB / 348.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.009918, allocations: 155.1 kB / 348.5 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.009921, allocations: 0 / 348.5 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002938/0.01021, allocations: 240.7 kB / 348.7 MB, free: 248 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.01024, allocations: 37.69 kB / 348.7 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01024, allocations: 0 / 348.7 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01026, allocations: 0 / 348.7 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008507/0.01111, allocations: 116 kB / 348.9 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.01303, allocations: 3.688 MB / 352.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.01317, allocations: 32.12 kB / 352.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.01319, allocations: 4 kB / 352.6 MB, free: 12.11 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.0001286/0.01332, allocations: 176.5 kB / 352.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.01335, allocations: 23.86 kB / 352.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.01364, allocations: 183.5 kB / 353 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.01365, allocations: 3.984 kB / 353 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01365, allocations: 0 / 353 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.01365, allocations: 7.984 kB / 353 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.01423, allocations: 0.5118 MB / 353.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.01424, allocations: 7.938 kB / 353.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/0.015, allocations: 95.94 kB / 353.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.015, allocations: 3.984 kB / 353.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.01502, allocations: 8 kB / 353.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.01502, allocations: 4 kB / 353.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01502, allocations: 0 / 353.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.0154, allocations: 358.5 kB / 353.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.01543, allocations: 19.86 kB / 354 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.01545, allocations: 8 kB / 354 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.01557, allocations: 11.98 kB / 354 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.01565, allocations: 27.95 kB / 354 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.01567, allocations: 7.984 kB / 354 MB, free: 10.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.01579, allocations: 193.1 kB / 354.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01579, allocations: 0 / 354.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.01609, allocations: 51.88 kB / 354.3 MB, free: 10.36 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 0.000117/0.01621, allocations: 99.25 kB / 354.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004412/0.01665, allocations: 228.5 kB / 354.6 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01665, allocations: 0 / 354.6 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.01678, allocations: 67.59 kB / 354.6 MB, free: 9.934 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.0171, allocations: 44.55 kB / 354.7 MB, free: 9.891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008062/0.01791, allocations: 429.3 kB / 355.1 MB, free: 9.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/0.01797, allocations: 76.33 kB / 355.2 MB, free: 9.344 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.457e-05/0.01806, allocations: 29.94 kB / 355.2 MB, free: 9.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.01815, allocations: 28.44 kB / 355.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01815, allocations: 0 / 355.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of Templates: time 0.006068/0.02422, allocations: 2.785 MB / 358 MB, free: 6.543 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: 3.0448130439035594]