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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002381/0.002381, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 251 MB, free: 13 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.1017/0.1017, allocations: 11.34 MB / 317.6 MB, free: 13.77 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002029/0.002029, allocations: 67.89 kB / 443 MB, free: 6.406 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1122, allocations: 54.89 MB / 497.9 MB, free: 15.42 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.00359/0.1158, allocations: 1.899 MB / 499.8 MB, free: 13.5 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001419/0.1172, allocations: 0.6863 MB / 0.4888 GB, free: 12.81 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1174, allocations: 15.88 kB / 0.4888 GB, free: 12.8 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000126/0.1175, allocations: 31.61 kB / 0.4888 GB, free: 12.77 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1176, allocations: 47.53 kB / 0.4889 GB, free: 12.72 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.1181, allocations: 135.8 kB / 0.489 GB, free: 12.59 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003762/0.1185, allocations: 287.3 kB / 0.4893 GB, free: 12.3 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.1187, allocations: 45.14 kB / 0.4893 GB, free: 12.25 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.1189, allocations: 139.5 kB / 0.4894 GB, free: 12.12 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.119, allocations: 119.4 kB / 0.4896 GB, free: 12 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.1191, allocations: 20 kB / 0.4896 GB, free: 11.98 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.808e-05/0.1191, allocations: 23.94 kB / 0.4896 GB, free: 11.96 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.1192, allocations: 51.83 kB / 0.4897 GB, free: 11.91 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.1193, allocations: 107.4 kB / 0.4898 GB, free: 11.8 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.1196, allocations: 238.8 kB / 0.49 GB, free: 11.57 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1196, allocations: 0 / 0.49 GB, free: 11.57 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.1196, allocations: 0 / 0.49 GB, free: 11.57 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 6.822e-06/0.1196, allocations: 4 kB / 0.49 GB, free: 11.56 MB / 366.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.001306/0.1209, allocations: 0.534 MB / 0.4905 GB, free: 10.99 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.121, allocations: 8.031 kB / 0.4905 GB, free: 10.98 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.1211, allocations: 36.75 kB / 0.4905 GB, free: 10.95 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.1216, allocations: 253 kB / 0.4908 GB, free: 10.68 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.1217, allocations: 109.3 kB / 0.4909 GB, free: 10.55 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.1217, allocations: 12 kB / 0.4909 GB, free: 10.54 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.1223, allocations: 207.7 kB / 0.4911 GB, free: 10.33 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1223, allocations: 3.938 kB / 0.4911 GB, free: 10.32 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.1223, allocations: 4 kB / 0.4911 GB, free: 10.32 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1223, allocations: 7.938 kB / 0.4911 GB, free: 10.31 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.1229, allocations: 164.7 kB / 0.4913 GB, free: 10.15 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.1246, allocations: 0.6908 MB / 0.492 GB, free: 9.418 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.1252, allocations: 166.4 kB / 0.4921 GB, free: 9.246 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.1255, allocations: 92.8 kB / 0.4922 GB, free: 9.152 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.1255, allocations: 0 / 0.4922 GB, free: 9.152 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004841/0.126, allocations: 169.9 kB / 0.4924 GB, free: 8.977 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.126, allocations: 0 / 0.4924 GB, free: 8.977 MB / 366.1 MB
Notification: Performance of matching and sorting (n=16): time 0.00114/0.1272, allocations: 333.3 kB / 0.4927 GB, free: 8.645 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.1272, allocations: 51.41 kB / 0.4927 GB, free: 8.582 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.1275, allocations: 229.1 kB / 0.4929 GB, free: 8.352 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.1276, allocations: 37.69 kB / 0.493 GB, free: 8.309 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1277, allocations: 152.4 kB / 0.4931 GB, free: 8.156 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.1278, allocations: 47.59 kB / 0.4932 GB, free: 8.109 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1279, allocations: 45.7 kB / 0.4932 GB, free: 8.059 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002102/0.1281, allocations: 338.8 kB / 0.4935 GB, free: 7.719 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.1284, allocations: 91.92 kB / 0.4936 GB, free: 7.629 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.1288, allocations: 134.8 kB / 0.4938 GB, free: 7.488 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.1294, allocations: 235 kB / 0.494 GB, free: 7.242 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1294, allocations: 0 / 0.494 GB, free: 7.242 MB / 366.1 MB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007895/0.1302, allocations: 317.9 kB / 0.4943 GB, free: 6.922 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.1303, allocations: 29.7 kB / 0.4943 GB, free: 6.887 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1303, allocations: 8.094 kB / 0.4943 GB, free: 6.879 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1303, allocations: 0 / 0.4943 GB, free: 6.879 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.1318, allocations: 119.8 kB / 0.4944 GB, free: 6.762 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.1346, allocations: 2.684 MB / 0.4971 GB, free: 3.84 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.1349, allocations: 35.86 kB / 0.4971 GB, free: 3.805 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.1349, allocations: 7.984 kB / 0.4971 GB, free: 3.797 MB / 366.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.0001799/0.1351, allocations: 141.8 kB / 0.4972 GB, free: 3.648 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.1352, allocations: 19.86 kB / 0.4973 GB, free: 3.629 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007575/0.1359, allocations: 275.5 kB / 0.4975 GB, free: 3.348 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1359, allocations: 4 kB / 0.4975 GB, free: 3.344 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.1359, allocations: 0 / 0.4975 GB, free: 3.344 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1359, allocations: 0 / 0.4975 GB, free: 3.344 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.1372, allocations: 0.6203 MB / 0.4981 GB, free: 2.676 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1372, allocations: 4 kB / 0.4981 GB, free: 2.672 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.1385, allocations: 103.9 kB / 0.4982 GB, free: 2.57 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1385, allocations: 7.938 kB / 0.4982 GB, free: 2.562 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1385, allocations: 7.922 kB / 0.4982 GB, free: 2.555 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1385, allocations: 4 kB / 0.4982 GB, free: 2.551 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1385, allocations: 3.938 kB / 0.4982 GB, free: 2.547 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.1396, allocations: 459.1 kB / 0.4987 GB, free: 2.082 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.1396, allocations: 27.8 kB / 0.4987 GB, free: 2.055 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.1396, allocations: 4.031 kB / 0.4987 GB, free: 2.051 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.1399, allocations: 27.91 kB / 0.4987 GB, free: 2.023 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.14, allocations: 23.95 kB / 0.4988 GB, free: 2 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.14, allocations: 8 kB / 0.4988 GB, free: 1.992 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001532/0.1402, allocations: 160.5 kB / 0.4989 GB, free: 1.836 MB / 366.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1402, allocations: 0 / 0.4989 GB, free: 1.836 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0003214/0.1405, allocations: 51.95 kB / 0.499 GB, free: 1.785 MB / 366.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.0001333/0.1406, allocations: 99.19 kB / 0.4991 GB, free: 1.68 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001056/0.1417, allocations: 289.5 kB / 0.4993 GB, free: 1.387 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1417, allocations: 0 / 0.4993 GB, free: 1.387 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.142, allocations: 118.6 kB / 0.4995 GB, free: 1.273 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1424, allocations: 28.34 kB / 0.4995 GB, free: 1.246 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1436, allocations: 473.3 kB / 0.4999 GB, free: 0.7578 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.144, allocations: 0.748 MB / 0.5007 GB, free: 15.98 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001194/0.1441, allocations: 29.94 kB / 0.5007 GB, free: 15.95 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.1442, allocations: 19.44 kB / 0.5007 GB, free: 15.93 MB / 382.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.1442, allocations: 0 / 0.5007 GB, free: 15.93 MB / 382.1 MB
Notification: Performance of Templates: time 0.007143/0.1513, allocations: 2.72 MB / 0.5034 GB, free: 13.23 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: 5.142402805387974]
Failed to read output from testmodel.py, exit status != 0:
0.15928836725652218 0.391573063 0.052911963000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0f87c917b0>