Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.0007833/0.0007833, allocations: 76.55 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.0008603/0.0008603, allocations: 181.9 kB / 23.22 MB, free: 1.344 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.9237/0.9237, 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.03339/0.03339, allocations: 8.602 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.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 396.3 MB, free: 2.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.237e-05, allocations: 9.031 kB / 396.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.002497/0.002519, allocations: 2.358 MB / 398.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.00425, allocations: 1.602 MB / 400.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.004402, allocations: 19.81 kB / 400.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.004954, allocations: 238.7 kB / 400.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.005255, allocations: 210.9 kB / 400.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.005808, allocations: 454.3 kB / 401.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.00623, allocations: 0.5857 MB / 401.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.006363, allocations: 69.16 kB / 401.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.006586, allocations: 287.3 kB / 402.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.006796, allocations: 211.4 kB / 402.3 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.006836, allocations: 32 kB / 402.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.007003, allocations: 151.8 kB / 402.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.007112, allocations: 147.4 kB / 402.7 MB, free: 11.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.529e-05/0.007208, allocations: 123.6 kB / 402.8 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.007668, allocations: 0.5762 MB / 403.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.00767, allocations: 0 / 403.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007671, allocations: 3.938 kB / 403.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.007676, allocations: 0 / 403.4 MB, free: 11.11 MB / 378.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.0009109/0.008587, allocations: 0.8319 MB / 404.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.008619, allocations: 12.03 kB / 404.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.008697, allocations: 68.52 kB / 404.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.009099, allocations: 382.2 kB / 404.6 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.00916, allocations: 84.61 kB / 404.7 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.009206, allocations: 40.33 kB / 404.8 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.009673, allocations: 487.3 kB / 405.2 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.009687, allocations: 0 / 405.2 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.00971, allocations: 12 kB / 405.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.009718, allocations: 8 kB / 405.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.01006, allocations: 328 kB / 405.6 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.01144, allocations: 1.69 MB / 407.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.01177, allocations: 208.2 kB / 407.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.01191, allocations: 158.6 kB / 407.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.01193, allocations: 0 / 407.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.01218, allocations: 258.5 kB / 407.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.283e-06/0.01219, allocations: 0 / 407.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006063/0.01279, allocations: 0.5476 MB / 408.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.01284, allocations: 89.11 kB / 408.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.01321, allocations: 0.494 MB / 409 MB, free: 5.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.01323, allocations: 33.7 kB / 409 MB, free: 5.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.01338, allocations: 288.1 kB / 409.3 MB, free: 4.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.01344, allocations: 99.2 kB / 409.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.01352, allocations: 86.02 kB / 409.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.01363, allocations: 362.8 kB / 409.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.01379, allocations: 158.5 kB / 410 MB, free: 4.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.014, allocations: 329.3 kB / 410.3 MB, free: 3.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009227/0.01492, allocations: 0.8135 MB / 411.1 MB, free: 2.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01492, allocations: 0 / 411.1 MB, free: 2.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000537/0.01546, allocations: 0.586 MB / 411.7 MB, free: 2.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.01549, allocations: 41.69 kB / 411.8 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.0155, allocations: 4 kB / 411.8 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.01552, allocations: 8 kB / 411.8 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.01579, allocations: 100.4 kB / 411.9 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.0158, allocations: 15.92 kB / 411.9 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01592, allocations: 51.67 kB / 412 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.01594, allocations: 23.94 kB / 412 MB, free: 1.965 MB / 378.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 (51): * Single equations (assignments): 50 * 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.0002021/0.01614, allocations: 250.6 kB / 412.2 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.01618, allocations: 59.61 kB / 412.3 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.01668, allocations: 493.6 kB / 412.8 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01668, allocations: 4 kB / 412.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01669, allocations: 0 / 412.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01669, allocations: 0 / 412.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.01694, allocations: 336.9 kB / 413.1 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01694, allocations: 0 / 413.1 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.01722, allocations: 75.89 kB / 413.2 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01722, allocations: 0 / 413.2 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.01724, allocations: 15.98 kB / 413.2 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01724, allocations: 0 / 413.2 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01724, allocations: 0 / 413.2 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.01786, allocations: 0.6741 MB / 413.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.0179, allocations: 35.72 kB / 413.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.01794, allocations: 12 kB / 413.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.01801, allocations: 23.92 kB / 413.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.01807, allocations: 23.91 kB / 413.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.01809, allocations: 12 kB / 414 MB, free: 15.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002319/0.01832, allocations: 342.8 kB / 414.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01832, allocations: 0 / 414.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.01858, allocations: 111.7 kB / 414.4 MB, free: 15.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,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 (25): * Single equations (assignments): 22 * 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.0007799/0.01936, allocations: 496.2 kB / 414.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004704/0.01983, allocations: 470.4 kB / 415.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01983, allocations: 0 / 415.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.02002, allocations: 233 kB / 415.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.02029, allocations: 80.45 kB / 415.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009813/0.02127, allocations: 0.9487 MB / 416.6 MB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.02143, allocations: 263.7 kB / 416.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.02151, allocations: 44.48 kB / 416.9 MB, free: 13.01 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02151, allocations: 0 / 416.9 MB, free: 13.01 MB / 394.7 MB Notification: Performance of Templates: time 0.005955/0.02746, allocations: 6.508 MB / 423.4 MB, free: 6.516 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.199345879256725] Failed to read output from testmodel.py, exit status != 0: 0.03270983509719372 0.040633129000000004 0.031343846 Calling exit ...