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.001455/0.001455, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.00193/0.00193, allocations: 156.3 kB / 23.01 MB, free: 4.945 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.66/1.66, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.06128/0.06128, allocations: 8.615 MB / 268.4 MB, free: 8.504 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.002085/0.002085, allocations: 67.91 kB / 396.1 MB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1191, allocations: 56.05 MB / 452.1 MB, free: 15.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003832/0.1229, allocations: 1.832 MB / 454 MB, free: 13.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1244, allocations: 0.6824 MB / 454.6 MB, free: 13.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.1246, allocations: 19.81 kB / 454.7 MB, free: 13.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.1247, allocations: 27.67 kB / 454.7 MB, free: 13.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.1248, allocations: 43.58 kB / 454.7 MB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.1253, allocations: 131.8 kB / 454.9 MB, free: 13.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.1258, allocations: 299.2 kB / 455.2 MB, free: 12.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.126, allocations: 33.16 kB / 455.2 MB, free: 12.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1262, allocations: 131.5 kB / 455.3 MB, free: 12.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1264, allocations: 115.4 kB / 455.4 MB, free: 12.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.1265, allocations: 20 kB / 455.4 MB, free: 12.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.28e-05/0.1265, allocations: 20 kB / 455.5 MB, free: 12.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.29e-05/0.1266, allocations: 51.84 kB / 455.5 MB, free: 12.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.1267, allocations: 87.5 kB / 455.6 MB, free: 12.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.1271, allocations: 238.9 kB / 455.8 MB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1271, allocations: 0 / 455.8 MB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1271, allocations: 0 / 455.8 MB, free: 12.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1271, allocations: 4 kB / 455.8 MB, free: 12.02 MB / 430.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.001227/0.1283, allocations: 0.534 MB / 456.4 MB, free: 11.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1283, allocations: 8.031 kB / 456.4 MB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.418e-05/0.1284, allocations: 32.75 kB / 456.4 MB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.129, allocations: 265.3 kB / 456.7 MB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1291, allocations: 105.3 kB / 456.8 MB, free: 11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.1291, allocations: 12 kB / 456.8 MB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.1297, allocations: 204.3 kB / 457 MB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1297, allocations: 7.984 kB / 457 MB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.1297, allocations: 8 kB / 457 MB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1297, allocations: 0 / 457 MB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.1303, allocations: 172.6 kB / 457.2 MB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.1318, allocations: 0.6018 MB / 457.8 MB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/0.1323, allocations: 166.4 kB / 457.9 MB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.1326, allocations: 92.8 kB / 458 MB, free: 9.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.1326, allocations: 0 / 458 MB, free: 9.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.1331, allocations: 167.2 kB / 458.2 MB, free: 9.531 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.1331, allocations: 3.938 kB / 458.2 MB, free: 9.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001181/0.1343, allocations: 336.6 kB / 458.5 MB, free: 9.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.1343, allocations: 51.41 kB / 458.6 MB, free: 9.133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.1346, allocations: 229.9 kB / 458.8 MB, free: 8.902 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.1347, allocations: 33.7 kB / 458.8 MB, free: 8.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1348, allocations: 156.3 kB / 459 MB, free: 8.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.1348, allocations: 47.59 kB / 459 MB, free: 8.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.1349, allocations: 53.69 kB / 459.1 MB, free: 8.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1351, allocations: 338.8 kB / 459.4 MB, free: 8.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.1354, allocations: 129.6 kB / 459.5 MB, free: 8.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.1358, allocations: 151.9 kB / 459.7 MB, free: 7.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.1364, allocations: 239.9 kB / 459.9 MB, free: 7.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1364, allocations: 0 / 459.9 MB, free: 7.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008071/0.1372, allocations: 340.7 kB / 460.3 MB, free: 7.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.1372, allocations: 36.05 kB / 460.3 MB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1373, allocations: 3.984 kB / 460.3 MB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1373, allocations: 4 kB / 460.3 MB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.1388, allocations: 123.9 kB / 460.4 MB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.1415, allocations: 2.633 MB / 463 MB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.1418, allocations: 39.89 kB / 463.1 MB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1418, allocations: 4 kB / 463.1 MB, free: 4.309 MB / 430.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.0001644/0.142, allocations: 137.9 kB / 463.2 MB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.142, allocations: 27.78 kB / 463.3 MB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008521/0.1429, allocations: 275.5 kB / 463.5 MB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1429, allocations: 4 kB / 463.5 MB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.1429, allocations: 4 kB / 463.5 MB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1429, allocations: 0 / 463.5 MB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.144, allocations: 0.5603 MB / 464.1 MB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.144, allocations: 4 kB / 464.1 MB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.1453, allocations: 107.9 kB / 464.2 MB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1453, allocations: 0 / 464.2 MB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.1454, allocations: 3.984 kB / 464.2 MB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1454, allocations: 4 kB / 464.2 MB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1454, allocations: 0 / 464.2 MB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.1465, allocations: 469.7 kB / 464.7 MB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.1465, allocations: 19.8 kB / 464.7 MB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.1466, allocations: 12.03 kB / 464.7 MB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.1468, allocations: 23.97 kB / 464.7 MB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.1469, allocations: 27.95 kB / 464.7 MB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.1469, allocations: 4 kB / 464.8 MB, free: 2.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.1471, allocations: 169.2 kB / 464.9 MB, free: 2.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1471, allocations: 0 / 464.9 MB, free: 2.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.1474, allocations: 51.83 kB / 465 MB, free: 2.363 MB / 430.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.0001385/0.1475, allocations: 111.2 kB / 465.1 MB, free: 2.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.1486, allocations: 320.8 kB / 465.4 MB, free: 1.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1486, allocations: 0 / 465.4 MB, free: 1.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.1489, allocations: 107.8 kB / 465.5 MB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1493, allocations: 24.69 kB / 465.5 MB, free: 1.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1503, allocations: 463.6 kB / 466 MB, free: 1.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.1505, allocations: 138.2 kB / 466.1 MB, free: 1.152 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.1506, allocations: 25.95 kB / 466.1 MB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.125e-05/0.1507, allocations: 32.42 kB / 466.2 MB, free: 1.098 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1507, allocations: 0 / 466.2 MB, free: 1.098 MB / 430.1 MB Notification: Performance of Templates: time 0.006992/0.1577, allocations: 2.747 MB / 468.9 MB, free: 14.39 MB / 446.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.793019595905207] Failed to read output from testmodel.py, exit status != 0: 0.16604318702593446 0.180082147 0.05004154 Calling exit ...