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.0009025/0.0009025, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001006/0.001006, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9147/0.9147, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.03763/0.03763, allocations: 8.598 MB / 268.5 MB, free: 5.125 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 396.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.702e-05, allocations: 6.281 kB / 396.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.002769/0.002796, allocations: 2.358 MB / 398.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.004563, allocations: 1.516 MB / 400.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.004736, allocations: 23.75 kB / 400.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006707/0.005406, allocations: 226.9 kB / 400.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.005733, allocations: 222.6 kB / 400.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.006252, allocations: 410.9 kB / 401.1 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.006658, allocations: 0.5467 MB / 401.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.006796, allocations: 61.05 kB / 401.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.007003, allocations: 279.2 kB / 401.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.007196, allocations: 195.4 kB / 402.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.007233, allocations: 32 kB / 402.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.007404, allocations: 151.8 kB / 402.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.007507, allocations: 139.5 kB / 402.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.007602, allocations: 119.5 kB / 402.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.008061, allocations: 0.5607 MB / 403.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.008064, allocations: 4 kB / 403.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.008065, allocations: 0 / 403.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.00807, allocations: 3.938 kB / 403.1 MB, free: 10.14 MB / 330.7 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.0008633/0.008933, allocations: 0.8124 MB / 403.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.008968, allocations: 12.03 kB / 404 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.009044, allocations: 64.52 kB / 404 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.009456, allocations: 378.2 kB / 404.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.009482, allocations: 29.03 kB / 404.4 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.009523, allocations: 32.38 kB / 404.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.009966, allocations: 467.6 kB / 404.9 MB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.009985, allocations: 11.83 kB / 404.9 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.01001, allocations: 12 kB / 404.9 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.01001, allocations: 8 kB / 404.9 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.01034, allocations: 316 kB / 405.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.01162, allocations: 1.616 MB / 406.9 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.01199, allocations: 220.3 kB / 407.1 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.01212, allocations: 142.5 kB / 407.2 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.01215, allocations: 8.125 kB / 407.2 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.01241, allocations: 251.3 kB / 407.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.01241, allocations: 0 / 407.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005822/0.01299, allocations: 0.536 MB / 408 MB, free: 5.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.01303, allocations: 85.11 kB / 408.1 MB, free: 4.906 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.01339, allocations: 0.4978 MB / 408.6 MB, free: 4.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.01341, allocations: 33.7 kB / 408.6 MB, free: 4.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.01357, allocations: 280.2 kB / 408.9 MB, free: 4.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.01363, allocations: 95.23 kB / 409 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.01371, allocations: 89.62 kB / 409.1 MB, free: 3.895 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01382, allocations: 362.8 kB / 409.4 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.01397, allocations: 150.1 kB / 409.6 MB, free: 3.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.01418, allocations: 328.2 kB / 409.9 MB, free: 2.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/0.01514, allocations: 0.7904 MB / 410.7 MB, free: 2.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01514, allocations: 0 / 410.7 MB, free: 2.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000538/0.01568, allocations: 0.5781 MB / 411.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.01571, allocations: 41.05 kB / 411.3 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.01572, allocations: 11.98 kB / 411.3 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01574, allocations: 8 kB / 411.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.01591, allocations: 91.83 kB / 411.4 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.01592, allocations: 8 kB / 411.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01604, allocations: 47.72 kB / 411.5 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.01606, allocations: 16 kB / 411.5 MB, free: 1.285 MB / 330.7 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.0002208/0.01628, allocations: 270.5 kB / 411.7 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.01632, allocations: 47.67 kB / 411.8 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.01681, allocations: 481.9 kB / 412.3 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.01681, allocations: 4 kB / 412.3 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01681, allocations: 0 / 412.3 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01682, allocations: 4 kB / 412.3 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.01706, allocations: 321 kB / 412.6 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01706, allocations: 0 / 412.6 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.0172, allocations: 51.97 kB / 412.6 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.0172, allocations: 0 / 412.6 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.01722, allocations: 8 kB / 412.6 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01722, allocations: 4 kB / 412.6 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01722, allocations: 0 / 412.6 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1398/0.1571, allocations: 0.6701 MB / 413.3 MB, free: 28.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.1571, allocations: 48.16 kB / 413.4 MB, free: 28.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.1572, allocations: 13.61 kB / 413.4 MB, free: 28.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.1573, allocations: 15.09 kB / 413.4 MB, free: 28.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.1573, allocations: 19.31 kB / 413.4 MB, free: 28.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.1574, allocations: 12.95 kB / 413.4 MB, free: 28.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002924/0.1576, allocations: 339.4 kB / 413.8 MB, free: 28.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1576, allocations: 2.547 kB / 413.8 MB, free: 28.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.158, allocations: 120.7 kB / 413.9 MB, free: 28.89 MB / 330.7 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.0007268/0.1587, allocations: 481.9 kB / 414.3 MB, free: 28.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.1592, allocations: 457.8 kB / 414.8 MB, free: 28.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1592, allocations: 0 / 414.8 MB, free: 28.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.1594, allocations: 234.6 kB / 415 MB, free: 28.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1596, allocations: 84.16 kB / 415.1 MB, free: 28.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.1606, allocations: 0.9178 MB / 416 MB, free: 27.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.1608, allocations: 264.7 kB / 416.3 MB, free: 27.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.1608, allocations: 41.25 kB / 416.3 MB, free: 27.77 MB / 330.7 MB Notification: Performance of SimCode: time 5.82e-07/0.1608, allocations: 0 / 416.3 MB, free: 27.77 MB / 330.7 MB Notification: Performance of Templates: time 0.008461/0.1693, allocations: 6.408 MB / 422.7 MB, free: 26.71 MB / 330.7 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.233711841516197] Failed to read output from testmodel.py, exit status != 0: 0.1770555078983307 0.18749621800000002 0.17654050100000002 Calling exit ...