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.001639/0.001639, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002352/0.002352, allocations: 218.8 kB / 22.25 MB, free: 4.852 MB / 14.72 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.836 MB / 206.1 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.06472/0.06472, allocations: 11.34 MB / 323.8 MB, free: 8.059 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003172/0.003172, allocations: 71.89 kB / 451.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1544, allocations: 56.07 MB / 0.4956 GB, free: 1.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.004532/0.159, allocations: 1.813 MB / 0.4974 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1608, allocations: 0.7018 MB / 0.4981 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.161, allocations: 11.88 kB / 0.4981 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1612, allocations: 23.67 kB / 0.4981 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.1614, allocations: 51.52 kB / 0.4982 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.1619, allocations: 135.8 kB / 0.4983 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.1624, allocations: 291.2 kB / 0.4986 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.1626, allocations: 41.14 kB / 0.4986 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.1628, allocations: 127.5 kB / 0.4987 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.1631, allocations: 107.4 kB / 0.4989 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.581e-05/0.1631, allocations: 20 kB / 0.4989 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/0.1632, allocations: 23.94 kB / 0.4989 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.1633, allocations: 55.83 kB / 0.4989 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.1634, allocations: 91.52 kB / 0.499 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.1638, allocations: 234.9 kB / 0.4993 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1638, allocations: 0 / 0.4993 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.739e-06/0.1638, allocations: 3.984 kB / 0.4993 GB, free: 13.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.1639, allocations: 0 / 0.4993 GB, free: 13.94 MB / 382.1 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.001538/0.1654, allocations: 0.5379 MB / 0.4998 GB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1654, allocations: 11.97 kB / 0.4998 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.1655, allocations: 32.75 kB / 0.4998 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.1661, allocations: 253 kB / 0.5001 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.1663, allocations: 105.2 kB / 0.5002 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.449e-05/0.1663, allocations: 20 kB / 0.5002 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.1669, allocations: 200.5 kB / 0.5004 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1669, allocations: 0 / 0.5004 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.1669, allocations: 15.98 kB / 0.5004 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1669, allocations: 4 kB / 0.5004 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.1675, allocations: 156.7 kB / 0.5005 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1691, allocations: 0.6095 MB / 0.5011 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.1696, allocations: 170.4 kB / 0.5013 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.1699, allocations: 92.8 kB / 0.5014 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.17, allocations: 4 kB / 0.5014 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005144/0.1705, allocations: 167.2 kB / 0.5016 GB, free: 11.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.1705, allocations: 0 / 0.5016 GB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001088/0.1716, allocations: 339.9 kB / 0.5019 GB, free: 11.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.1716, allocations: 55.41 kB / 0.5019 GB, free: 11.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.1719, allocations: 225.1 kB / 0.5022 GB, free: 10.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.1719, allocations: 33.64 kB / 0.5022 GB, free: 10.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1721, allocations: 160.3 kB / 0.5023 GB, free: 10.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.1722, allocations: 47.64 kB / 0.5024 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.1723, allocations: 53.64 kB / 0.5024 GB, free: 10.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1725, allocations: 338.8 kB / 0.5028 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.1728, allocations: 121.6 kB / 0.5029 GB, free: 10.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.1732, allocations: 150.7 kB / 0.503 GB, free: 9.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.1738, allocations: 238.5 kB / 0.5032 GB, free: 9.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1738, allocations: 4 kB / 0.5032 GB, free: 9.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008308/0.1747, allocations: 344.7 kB / 0.5036 GB, free: 9.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.1747, allocations: 29.7 kB / 0.5036 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1747, allocations: 0 / 0.5036 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1747, allocations: 4 kB / 0.5036 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.1762, allocations: 119.9 kB / 0.5037 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.1795, allocations: 2.641 MB / 0.5063 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.1798, allocations: 31.86 kB / 0.5063 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.1798, allocations: 8 kB / 0.5063 GB, free: 6.223 MB / 382.1 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.0002645/0.1801, allocations: 143.8 kB / 0.5065 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.1801, allocations: 31.78 kB / 0.5065 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008081/0.181, allocations: 277.6 kB / 0.5068 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.181, allocations: 0 / 0.5068 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.181, allocations: 4 kB / 0.5068 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.181, allocations: 0 / 0.5068 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.1822, allocations: 0.5525 MB / 0.5073 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.1822, allocations: 4 kB / 0.5073 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.1835, allocations: 107.9 kB / 0.5074 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1835, allocations: 3.938 kB / 0.5074 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1835, allocations: 4 kB / 0.5074 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1835, allocations: 3.984 kB / 0.5074 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1835, allocations: 0 / 0.5074 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.1846, allocations: 471.7 kB / 0.5079 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.1847, allocations: 23.8 kB / 0.5079 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1847, allocations: 48 / 0.5079 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.1849, allocations: 31.95 kB / 0.5079 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.185, allocations: 27.95 kB / 0.508 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.1851, allocations: 8 kB / 0.508 GB, free: 4.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.1853, allocations: 156.5 kB / 0.5081 GB, free: 4.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1853, allocations: 0 / 0.5081 GB, free: 4.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003795/0.1857, allocations: 47.95 kB / 0.5082 GB, free: 4.281 MB / 382.1 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.0001746/0.1858, allocations: 107.1 kB / 0.5083 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.187, allocations: 328.1 kB / 0.5086 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.187, allocations: 0 / 0.5086 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.1874, allocations: 107.9 kB / 0.5087 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.1878, allocations: 32.56 kB / 0.5087 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1892, allocations: 461.2 kB / 0.5092 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.1894, allocations: 138.2 kB / 0.5093 GB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.1895, allocations: 21.95 kB / 0.5093 GB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.1896, allocations: 23.52 kB / 0.5093 GB, free: 3.023 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.1896, allocations: 0 / 0.5093 GB, free: 3.023 MB / 382.1 MB Notification: Performance of Templates: time 0.00833/0.198, allocations: 2.944 MB / 0.5122 GB, free: 120 kB / 382.1 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: 5.177762920036912] Failed to read output from testmodel.py, exit status != 0: 0.4048564825206995 0.41499380100000005 0.24830633400000002 Calling exit ...