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.001331/0.001331, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001681/0.001681, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.06576/0.06576, allocations: 11.35 MB / 324.5 MB, free: 8.273 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.002006/0.002006, allocations: 69.45 kB / 452.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1126, allocations: 56.06 MB / 0.4964 GB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003055/0.1156, allocations: 1.912 MB / 0.4983 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1169, allocations: 0.7368 MB / 0.499 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.117, allocations: 19.81 kB / 0.4991 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.1171, allocations: 23.67 kB / 0.4991 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.1172, allocations: 39.61 kB / 0.4991 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.1176, allocations: 147.6 kB / 0.4993 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.118, allocations: 291.3 kB / 0.4995 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.1181, allocations: 41.12 kB / 0.4996 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.1183, allocations: 131.5 kB / 0.4997 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1185, allocations: 115.4 kB / 0.4998 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.1185, allocations: 20 kB / 0.4998 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.596e-05/0.1186, allocations: 20 kB / 0.4998 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.1186, allocations: 67.69 kB / 0.4999 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1188, allocations: 103.4 kB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.1191, allocations: 234.9 kB / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1191, allocations: 0 / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1191, allocations: 0 / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1191, allocations: 0 / 0.5002 GB, free: 14 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.001147/0.1202, allocations: 0.534 MB / 0.5008 GB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1203, allocations: 12.03 kB / 0.5008 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.665e-05/0.1203, allocations: 36.73 kB / 0.5008 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.1208, allocations: 252.9 kB / 0.501 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1209, allocations: 105.3 kB / 0.5011 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.121, allocations: 16 kB / 0.5012 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.1215, allocations: 216.5 kB / 0.5014 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1215, allocations: 0 / 0.5014 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.1215, allocations: 11.98 kB / 0.5014 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1215, allocations: 4 kB / 0.5014 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.1221, allocations: 156.7 kB / 0.5015 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.1235, allocations: 0.687 MB / 0.5022 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.1241, allocations: 170.4 kB / 0.5024 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.1243, allocations: 96.72 kB / 0.5025 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.1244, allocations: 4 kB / 0.5025 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004151/0.1248, allocations: 165.8 kB / 0.5026 GB, free: 11.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.1248, allocations: 0 / 0.5026 GB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009729/0.1257, allocations: 329.2 kB / 0.5029 GB, free: 11.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1258, allocations: 55.41 kB / 0.503 GB, free: 11.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.126, allocations: 225.1 kB / 0.5032 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1261, allocations: 33.7 kB / 0.5032 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1262, allocations: 148.4 kB / 0.5034 GB, free: 10.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.1262, allocations: 59.5 kB / 0.5034 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/0.1263, allocations: 49.7 kB / 0.5035 GB, free: 10.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1265, allocations: 334.8 kB / 0.5038 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1268, allocations: 95.92 kB / 0.5039 GB, free: 10.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.1271, allocations: 125 kB / 0.504 GB, free: 9.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.1277, allocations: 239.3 kB / 0.5042 GB, free: 9.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1277, allocations: 0 / 0.5042 GB, free: 9.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007401/0.1284, allocations: 315 kB / 0.5045 GB, free: 9.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.1285, allocations: 33.64 kB / 0.5046 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1285, allocations: 4 kB / 0.5046 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1285, allocations: 0 / 0.5046 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.1299, allocations: 120 kB / 0.5047 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.1324, allocations: 2.691 MB / 0.5073 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.1327, allocations: 39.84 kB / 0.5074 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.1327, allocations: 4 kB / 0.5074 GB, free: 6.227 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.000161/0.1328, allocations: 141.7 kB / 0.5075 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.1329, allocations: 23.86 kB / 0.5075 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006971/0.1336, allocations: 277.8 kB / 0.5078 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1336, allocations: 4 kB / 0.5078 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.1336, allocations: 0 / 0.5078 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1336, allocations: 3.984 kB / 0.5078 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.1347, allocations: 0.6142 MB / 0.5084 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1347, allocations: 0 / 0.5084 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.136, allocations: 111.9 kB / 0.5085 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.136, allocations: 4 kB / 0.5085 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.136, allocations: 0 / 0.5085 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.136, allocations: 0 / 0.5085 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.136, allocations: 3.938 kB / 0.5085 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009955/0.137, allocations: 476.3 kB / 0.509 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.137, allocations: 23.8 kB / 0.509 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.1371, allocations: 0 / 0.509 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.1373, allocations: 39.94 kB / 0.509 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.1374, allocations: 23.97 kB / 0.509 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1374, allocations: 7.984 kB / 0.509 GB, free: 4.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1376, allocations: 152.5 kB / 0.5092 GB, free: 4.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1376, allocations: 0 / 0.5092 GB, free: 4.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.1379, allocations: 47.98 kB / 0.5092 GB, free: 4.219 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.0001188/0.138, allocations: 103.2 kB / 0.5093 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.139, allocations: 295.2 kB / 0.5096 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.139, allocations: 3.859 kB / 0.5096 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.1393, allocations: 112 kB / 0.5097 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1397, allocations: 32.36 kB / 0.5098 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1407, allocations: 486.9 kB / 0.5102 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1411, allocations: 0.748 MB / 0.511 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1412, allocations: 23.42 kB / 0.511 GB, free: 2.355 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1412, allocations: 0 / 0.511 GB, free: 2.355 MB / 382.1 MB Notification: Performance of Templates: time 0.2053/0.3465, allocations: 3.813 MB / 0.5147 GB, free: 22.64 MB / 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: 7.505201762076467] Failed to read output from testmodel.py, exit status != 0: 0.3546151630580425 0.36665545399999994 0.244898883 Calling exit ...