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.00144/0.00144, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.001485/0.001485, allocations: 172.5 kB / 22.46 MB, free: 5.359 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.492/1.492, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.09506/0.09506, allocations: 8.612 MB / 267.8 MB, free: 8.574 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: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 395.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.233e-05, allocations: 6.219 kB / 395.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.004036/0.004068, allocations: 2.361 MB / 397.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003163/0.007232, allocations: 1.517 MB / 399.4 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.007487, allocations: 15.81 kB / 399.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008443/0.008331, allocations: 234.7 kB / 399.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005732/0.008904, allocations: 215 kB / 399.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.009916, allocations: 402.2 kB / 400.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007066/0.01062, allocations: 0.5467 MB / 400.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.01081, allocations: 69.03 kB / 400.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.01116, allocations: 271.2 kB / 401.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.01146, allocations: 207.4 kB / 401.4 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.01153, allocations: 32 kB / 401.4 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.01181, allocations: 147.8 kB / 401.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.01197, allocations: 139.4 kB / 401.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.01214, allocations: 127.5 kB / 401.8 MB, free: 408 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000726/0.01287, allocations: 0.549 MB / 402.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01287, allocations: 0 / 402.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.01287, allocations: 0 / 402.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.01288, allocations: 0 / 402.4 MB, free: 15.85 MB / 334.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.001405/0.01428, allocations: 0.8163 MB / 403.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.01432, allocations: 8.031 kB / 403.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.01444, allocations: 68.5 kB / 403.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.01511, allocations: 386.1 kB / 403.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.01515, allocations: 25.03 kB / 403.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.01522, allocations: 32.38 kB / 403.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.01597, allocations: 463.5 kB / 404.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.016, allocations: 11.89 kB / 404.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.01604, allocations: 23.98 kB / 404.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.01605, allocations: 8 kB / 404.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005764/0.01663, allocations: 312 kB / 404.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.01886, allocations: 1.613 MB / 406.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.01945, allocations: 220.3 kB / 406.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.0197, allocations: 142.5 kB / 406.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.01973, allocations: 4.125 kB / 406.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.02015, allocations: 250.4 kB / 406.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.314e-06/0.02015, allocations: 8 kB / 406.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001076/0.02123, allocations: 0.536 MB / 407.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.0213, allocations: 85.11 kB / 407.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/0.02195, allocations: 0.5017 MB / 407.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.02199, allocations: 33.7 kB / 407.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.02223, allocations: 280.2 kB / 408.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.789e-05/0.02233, allocations: 99.17 kB / 408.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.02247, allocations: 85.64 kB / 408.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.02268, allocations: 362.8 kB / 408.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.02296, allocations: 154.1 kB / 408.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.02334, allocations: 320.2 kB / 409.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.02512, allocations: 0.8021 MB / 409.9 MB, free: 7.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.02513, allocations: 4 kB / 409.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001014/0.02614, allocations: 0.5665 MB / 410.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.0262, allocations: 45.69 kB / 410.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.02621, allocations: 4 kB / 410.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.02623, allocations: 8 kB / 410.6 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.02656, allocations: 83.83 kB / 410.6 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.02658, allocations: 12.47 kB / 410.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.02681, allocations: 55.66 kB / 410.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.02685, allocations: 20 kB / 410.7 MB, free: 6.973 MB / 334.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.0003432/0.02719, allocations: 250.6 kB / 411 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.02727, allocations: 51.67 kB / 411 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008779/0.02814, allocations: 482.6 kB / 411.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.02815, allocations: 0 / 411.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.02815, allocations: 0 / 411.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.02816, allocations: 4 kB / 411.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.02858, allocations: 321 kB / 411.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.02858, allocations: 4 kB / 411.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.02886, allocations: 47.91 kB / 411.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.02886, allocations: 0 / 411.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.0289, allocations: 19.98 kB / 411.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.0289, allocations: 0 / 411.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.0289, allocations: 0 / 411.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.03008, allocations: 0.6889 MB / 412.6 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.03015, allocations: 47.61 kB / 412.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.03022, allocations: 12.06 kB / 412.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.03037, allocations: 11.98 kB / 412.6 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.03047, allocations: 23.95 kB / 412.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.0305, allocations: 16.12 kB / 412.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004102/0.03091, allocations: 342.9 kB / 413 MB, free: 4.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03091, allocations: 0 / 413 MB, free: 4.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.03136, allocations: 115.8 kB / 413.1 MB, free: 4.473 MB / 334.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.001822/0.03318, allocations: 487.7 kB / 413.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007993/0.03398, allocations: 451.6 kB / 414.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.03398, allocations: 0 / 414.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.03433, allocations: 224.9 kB / 414.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.0348, allocations: 76.61 kB / 414.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.03649, allocations: 0.8845 MB / 415.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.03687, allocations: 268.1 kB / 415.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.03707, allocations: 79.16 kB / 415.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.03718, allocations: 36.5 kB / 415.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.03718, allocations: 0 / 415.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of Templates: time 0.0122/0.04937, allocations: 4.65 MB / 420.3 MB, free: 13.48 MB / 350.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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.565548736602068] Failed to read output from testmodel.py, exit status != 0: 0.05840572714805603 0.074106768 0.058018542000000006 Calling exit ...