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.001346/0.001346, allocations: 88.72 kB / 19.44 MB, free: 356 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.001543/0.001543, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.473 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.06465/0.06465, allocations: 8.615 MB / 268.2 MB, free: 4.809 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 2.204e-06/2.204e-06, allocations: 0 / 340.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.673e-05, allocations: 2.312 kB / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002826/0.002853, allocations: 1.834 MB / 342 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.004118, allocations: 0.6823 MB / 342.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.004306, allocations: 19.81 kB / 342.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.004449, allocations: 23.73 kB / 342.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.004577, allocations: 51.47 kB / 342.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.005032, allocations: 131.6 kB / 342.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.005334, allocations: 303.2 kB / 343.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.005481, allocations: 33.14 kB / 343.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.005783, allocations: 179.5 kB / 343.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.005942, allocations: 87.75 kB / 343.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.005988, allocations: 23.94 kB / 343.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.215e-05/0.00602, allocations: 24 kB / 343.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.006071, allocations: 55.8 kB / 343.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.006155, allocations: 71.75 kB / 343.6 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.006417, allocations: 235.2 kB / 343.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.006422, allocations: 0 / 343.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006423, allocations: 0 / 343.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.00643, allocations: 0 / 343.9 MB, free: 4.984 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.001166/0.007596, allocations: 0.5418 MB / 344.4 MB, free: 4.406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.007644, allocations: 8.031 kB / 344.4 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.007764, allocations: 48.75 kB / 344.5 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.008237, allocations: 268.6 kB / 344.7 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.324e-05/0.008321, allocations: 101.9 kB / 344.8 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.008374, allocations: 20.12 kB / 344.8 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.008877, allocations: 211.7 kB / 345.1 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.008888, allocations: 0 / 345.1 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.008914, allocations: 7.984 kB / 345.1 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.008921, allocations: 4 kB / 345.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.009435, allocations: 164.6 kB / 345.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.0107, allocations: 0.6018 MB / 345.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.01119, allocations: 177.2 kB / 346 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.01144, allocations: 88.8 kB / 346.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.01148, allocations: 4 kB / 346.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/0.01189, allocations: 170 kB / 346.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.815e-06/0.01189, allocations: 4 kB / 346.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009929/0.01288, allocations: 333.3 kB / 346.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.01292, allocations: 55.41 kB / 346.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.0131, allocations: 233.8 kB / 346.9 MB, free: 1.816 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.01312, allocations: 29.7 kB / 346.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.01319, allocations: 152.4 kB / 347 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.01323, allocations: 59.53 kB / 347.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.01331, allocations: 49.69 kB / 347.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.297e-05/0.01337, allocations: 334.8 kB / 347.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.01368, allocations: 117.6 kB / 347.6 MB, free: 1.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.01397, allocations: 152.3 kB / 347.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.01451, allocations: 252 kB / 348 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01451, allocations: 0 / 348 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007366/0.01525, allocations: 344.7 kB / 348.3 MB, free: 284 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.0153, allocations: 33.7 kB / 348.4 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.01531, allocations: 4 kB / 348.4 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.01534, allocations: 0 / 348.4 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.0168, allocations: 127.9 kB / 348.5 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.02007, allocations: 2.633 MB / 351.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.02039, allocations: 44.14 kB / 351.2 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.02042, allocations: 4 kB / 351.2 MB, free: 13.21 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.0002044/0.02063, allocations: 137.8 kB / 351.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.0207, allocations: 23.86 kB / 351.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000868/0.02156, allocations: 290.4 kB / 351.6 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.02157, allocations: 4 kB / 351.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.02157, allocations: 0 / 351.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.02158, allocations: 0 / 351.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.02288, allocations: 0.5527 MB / 352.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.02289, allocations: 7.938 kB / 352.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.02418, allocations: 107.9 kB / 352.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.02418, allocations: 0 / 352.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/0.02427, allocations: 7.984 kB / 352.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.02427, allocations: 8 kB / 352.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.02428, allocations: 0 / 352.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.02545, allocations: 460.4 kB / 352.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.02551, allocations: 31.89 kB / 352.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.02555, allocations: 4 kB / 352.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.0258, allocations: 31.91 kB / 352.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.02591, allocations: 27.89 kB / 352.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.02593, allocations: 8 kB / 352.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002036/0.02614, allocations: 161.2 kB / 353 MB, free: 11.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02614, allocations: 0 / 353 MB, free: 11.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.02652, allocations: 51.89 kB / 353.1 MB, free: 11.26 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.0001675/0.02669, allocations: 95.25 kB / 353.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.02789, allocations: 323.6 kB / 353.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.02789, allocations: 0 / 353.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.02827, allocations: 112 kB / 353.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.02865, allocations: 40.36 kB / 353.6 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.02989, allocations: 445.1 kB / 354 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.03021, allocations: 138.2 kB / 354.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.03034, allocations: 26.03 kB / 354.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.03045, allocations: 20.5 kB / 354.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of SimCode: time 1.352e-06/0.03045, allocations: 8 kB / 354.2 MB, free: 10 MB / 282.7 MB Notification: Performance of Templates: time 0.008251/0.0387, allocations: 2.767 MB / 357 MB, free: 7.281 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.336156965000555]