Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.001426/0.001426, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001763/0.001763, allocations: 212.3 kB / 22.24 MB, free: 5.242 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.636/1.636, allocations: 230.6 MB / 256 MB, free: 7.793 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.06511/0.06511, allocations: 11.35 MB / 323.8 MB, free: 8.027 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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [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.00359/0.00359, allocations: 67.89 kB / 451.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1419, allocations: 56.07 MB / 0.4956 GB, free: 1.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003643/0.1455, allocations: 1.723 MB / 0.4973 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1469, allocations: 0.5961 MB / 0.4979 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.147, allocations: 7.938 kB / 0.4979 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.1472, allocations: 23.73 kB / 0.4979 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1473, allocations: 39.66 kB / 0.498 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1476, allocations: 87.81 kB / 0.4981 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1479, allocations: 199.5 kB / 0.4982 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1481, allocations: 25.73 kB / 0.4983 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1482, allocations: 91.62 kB / 0.4984 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.1484, allocations: 71.61 kB / 0.4984 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.1484, allocations: 20 kB / 0.4984 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-05/0.1484, allocations: 16 kB / 0.4985 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.1485, allocations: 47.81 kB / 0.4985 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.1486, allocations: 67.59 kB / 0.4986 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1488, allocations: 167.3 kB / 0.4987 GB, free: 14.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1488, allocations: 0 / 0.4987 GB, free: 14.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1488, allocations: 4 kB / 0.4987 GB, free: 14.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1489, allocations: 0 / 0.4987 GB, free: 14.47 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001139/0.15, allocations: 0.5047 MB / 0.4992 GB, free: 13.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.15, allocations: 8.031 kB / 0.4992 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.1501, allocations: 28.78 kB / 0.4993 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.1505, allocations: 210.1 kB / 0.4995 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.1506, allocations: 63.97 kB / 0.4995 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.1506, allocations: 12.38 kB / 0.4995 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.1512, allocations: 192.2 kB / 0.4997 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1512, allocations: 3.938 kB / 0.4997 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.1512, allocations: 11.98 kB / 0.4997 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1512, allocations: 3.938 kB / 0.4997 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006248/0.1518, allocations: 155.8 kB / 0.4999 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.1531, allocations: 0.5471 MB / 0.5004 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.1537, allocations: 158.4 kB / 0.5006 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.154, allocations: 80.77 kB / 0.5007 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1541, allocations: 4 kB / 0.5007 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004726/0.1545, allocations: 155.2 kB / 0.5008 GB, free: 12.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1545, allocations: 0 / 0.5008 GB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001097/0.1556, allocations: 303.7 kB / 0.5011 GB, free: 11.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.1557, allocations: 55.41 kB / 0.5011 GB, free: 11.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.1559, allocations: 203.8 kB / 0.5013 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/0.156, allocations: 29.7 kB / 0.5014 GB, free: 11.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.1561, allocations: 140.2 kB / 0.5015 GB, free: 11.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.1562, allocations: 39.72 kB / 0.5015 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.1563, allocations: 53.66 kB / 0.5016 GB, free: 11.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1565, allocations: 334.8 kB / 0.5019 GB, free: 11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.1569, allocations: 147.2 kB / 0.5021 GB, free: 10.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.1573, allocations: 195.6 kB / 0.5022 GB, free: 10.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.158, allocations: 262.9 kB / 0.5025 GB, free: 10.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.158, allocations: 4 kB / 0.5025 GB, free: 10.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009117/0.1589, allocations: 400 kB / 0.5029 GB, free: 9.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/0.159, allocations: 63.34 kB / 0.5029 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.159, allocations: 4 kB / 0.5029 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.159, allocations: 4.188 kB / 0.5029 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.1595, allocations: 71.81 kB / 0.503 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1595, allocations: 0 / 0.503 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.1597, allocations: 47.84 kB / 0.5031 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.1598, allocations: 8 kB / 0.5031 GB, free: 9.703 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.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): 21 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.1599, allocations: 133.8 kB / 0.5032 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.16, allocations: 19.84 kB / 0.5032 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.16, allocations: 21.45 kB / 0.5032 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.16, allocations: 4 kB / 0.5032 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.16, allocations: 0 / 0.5032 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.16, allocations: 0 / 0.5032 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.1602, allocations: 173.1 kB / 0.5034 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1602, allocations: 4 kB / 0.5034 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.1607, allocations: 51.94 kB / 0.5035 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1607, allocations: 0 / 0.5035 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1607, allocations: 7.938 kB / 0.5035 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1607, allocations: 3.938 kB / 0.5035 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1607, allocations: 4 kB / 0.5035 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.1617, allocations: 348.7 kB / 0.5038 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.1618, allocations: 19.89 kB / 0.5038 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.1618, allocations: 7.938 kB / 0.5038 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.162, allocations: 31.95 kB / 0.5039 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1621, allocations: 23.95 kB / 0.5039 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1621, allocations: 7.984 kB / 0.5039 GB, free: 8.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1623, allocations: 145.5 kB / 0.504 GB, free: 8.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1623, allocations: 0 / 0.504 GB, free: 8.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1625, allocations: 39.98 kB / 0.5041 GB, free: 8.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001918/0.1627, allocations: 103.2 kB / 0.5042 GB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009513/0.1637, allocations: 366.2 kB / 0.5045 GB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1637, allocations: 0 / 0.5045 GB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.164, allocations: 95.23 kB / 0.5046 GB, free: 8.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.1643, allocations: 32.08 kB / 0.5046 GB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.1651, allocations: 332.4 kB / 0.505 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.1652, allocations: 112.1 kB / 0.5051 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.486e-05/0.1653, allocations: 25.42 kB / 0.5051 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.1654, allocations: 23.42 kB / 0.5051 GB, free: 7.465 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1654, allocations: 0 / 0.5051 GB, free: 7.465 MB / 382.1 MB Notification: Performance of Templates: time 0.007191/0.1726, allocations: 2.75 MB / 0.5078 GB, free: 4.754 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.247812855988741] Failed to read output from testmodel.py, exit status != 0: 0.18481395952403545 0.436802104 0.28473154500000003 Calling exit ...