Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.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.001795/0.001795, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002193/0.002193, allocations: 156.7 kB / 23.01 MB, free: 4.598 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.562/1.562, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.06249/0.06249, allocations: 8.624 MB / 268.4 MB, free: 8.516 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.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") [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.002239/0.002239, allocations: 63.91 kB / 396.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1244, allocations: 56.05 MB / 452.1 MB, free: 15.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.005149/0.1295, allocations: 2.377 MB / 454.5 MB, free: 13.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.1326, allocations: 1.505 MB / 456 MB, free: 11.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.1329, allocations: 19.75 kB / 456 MB, free: 11.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008517/0.1338, allocations: 227 kB / 456.2 MB, free: 11.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005913/0.1344, allocations: 215 kB / 456.5 MB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.1353, allocations: 381.4 kB / 456.8 MB, free: 11.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007915/0.1361, allocations: 0.6209 MB / 457.4 MB, free: 10.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1363, allocations: 53.25 kB / 457.5 MB, free: 10.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.1366, allocations: 227.1 kB / 457.7 MB, free: 10.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.1369, allocations: 235 kB / 457.9 MB, free: 9.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.259e-05/0.137, allocations: 32 kB / 458 MB, free: 9.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.1372, allocations: 151.8 kB / 458.1 MB, free: 9.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.1374, allocations: 139.5 kB / 458.3 MB, free: 9.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.1376, allocations: 159 kB / 458.4 MB, free: 9.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006709/0.1383, allocations: 0.5483 MB / 459 MB, free: 8.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1383, allocations: 4 kB / 459 MB, free: 8.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1383, allocations: 0 / 459 MB, free: 8.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1383, allocations: 4 kB / 459 MB, free: 8.875 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001397/0.1397, allocations: 0.8202 MB / 459.8 MB, free: 8.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1397, allocations: 8.031 kB / 459.8 MB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.1398, allocations: 60.56 kB / 459.9 MB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006685/0.1405, allocations: 398.8 kB / 460.3 MB, free: 7.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.1405, allocations: 25.03 kB / 460.3 MB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.1406, allocations: 36.12 kB / 460.3 MB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.1413, allocations: 467 kB / 460.8 MB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.1414, allocations: 0 / 460.8 MB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.1414, allocations: 20 kB / 460.8 MB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.1414, allocations: 12 kB / 460.8 MB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.142, allocations: 312 kB / 461.1 MB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.1442, allocations: 1.616 MB / 462.7 MB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.1447, allocations: 224.4 kB / 462.9 MB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.145, allocations: 142.5 kB / 463.1 MB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.145, allocations: 0 / 463.1 MB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.1454, allocations: 251.3 kB / 463.3 MB, free: 4.289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.1454, allocations: 0 / 463.3 MB, free: 4.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001026/0.1464, allocations: 0.5397 MB / 463.9 MB, free: 3.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.1465, allocations: 85.09 kB / 463.9 MB, free: 3.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.1471, allocations: 0.494 MB / 464.4 MB, free: 3.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.1471, allocations: 33.64 kB / 464.5 MB, free: 3.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.1474, allocations: 292.1 kB / 464.8 MB, free: 2.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.1474, allocations: 91.28 kB / 464.8 MB, free: 2.703 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.1476, allocations: 97.62 kB / 464.9 MB, free: 2.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1478, allocations: 366.7 kB / 465.3 MB, free: 2.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.1481, allocations: 154.1 kB / 465.5 MB, free: 2.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.1485, allocations: 320.2 kB / 465.8 MB, free: 1.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.1501, allocations: 0.7861 MB / 466.6 MB, free: 0.8164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.1501, allocations: 7.938 kB / 466.6 MB, free: 0.8086 MB / 430.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009295/0.1511, allocations: 0.5665 MB / 467.1 MB, free: 228 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.1511, allocations: 45.69 kB / 467.2 MB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1511, allocations: 4 kB / 467.2 MB, free: 172 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.1512, allocations: 8 kB / 467.2 MB, free: 164 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1515, allocations: 84.39 kB / 467.3 MB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.1515, allocations: 8 kB / 467.3 MB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.1517, allocations: 55.66 kB / 467.3 MB, free: 16 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.1518, allocations: 20.05 kB / 467.3 MB, free: 15.99 MB / 446.1 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,R.TS_in,R_track.satLOW_in,R_track.satHIGH_in,R_track.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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.0003235/0.1521, allocations: 246.5 kB / 467.6 MB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.1522, allocations: 51.7 kB / 467.6 MB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000859/0.153, allocations: 489.8 kB / 468.1 MB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.153, allocations: 0 / 468.1 MB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.153, allocations: 0 / 468.1 MB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.153, allocations: 3.938 kB / 468.1 MB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.1535, allocations: 321 kB / 468.4 MB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1535, allocations: 0 / 468.4 MB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.1538, allocations: 47.97 kB / 468.5 MB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1538, allocations: 4 kB / 468.5 MB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.1538, allocations: 12 kB / 468.5 MB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1538, allocations: 3.938 kB / 468.5 MB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1538, allocations: 7.922 kB / 468.5 MB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1549, allocations: 0.6661 MB / 469.2 MB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.155, allocations: 55.72 kB / 469.2 MB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.155, allocations: 16 kB / 469.2 MB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1552, allocations: 15.98 kB / 469.3 MB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.1553, allocations: 19.97 kB / 469.3 MB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.1553, allocations: 15.98 kB / 469.3 MB, free: 13.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004136/0.1557, allocations: 342.8 kB / 469.6 MB, free: 13.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1557, allocations: 0 / 469.6 MB, free: 13.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004605/0.1562, allocations: 119.7 kB / 469.7 MB, free: 13.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001955/0.1581, allocations: 479.3 kB / 470.2 MB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007489/0.1589, allocations: 454.7 kB / 470.7 MB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1589, allocations: 0 / 470.7 MB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.1592, allocations: 232.9 kB / 470.9 MB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.1596, allocations: 81.09 kB / 471 MB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.161, allocations: 0.9055 MB / 471.9 MB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1613, allocations: 263.7 kB / 472.1 MB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.1615, allocations: 79.2 kB / 472.2 MB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.1616, allocations: 36.5 kB / 472.2 MB, free: 11.09 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1616, allocations: 0 / 472.2 MB, free: 11.09 MB / 446.1 MB Notification: Performance of Templates: time 0.01054/0.1721, allocations: 4.662 MB / 476.9 MB, free: 6.465 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.091479776892811] Failed to read output from testmodel.py, exit status != 0: 0.1812192559009418 0.38542572499999994 0.24423326599999995 Calling exit ...