Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.001068/0.001068, 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.001208/0.001208, allocations: 178.2 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.9128/0.9128, allocations: 177.1 MB / 203.5 MB, free: 5.691 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.03342/0.03342, allocations: 8.604 MB / 268.5 MB, free: 5.141 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.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 396.3 MB, free: 2.211 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.179e-05, allocations: 9.453 kB / 396.3 MB, free: 2.203 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.002794/0.002826, allocations: 2.346 MB / 398.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.004719, allocations: 1.594 MB / 400.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.004926, allocations: 27.75 kB / 400.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.005628, allocations: 233.2 kB / 400.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.00605, allocations: 210.9 kB / 400.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.006842, allocations: 456.1 kB / 401.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.007373, allocations: 0.5827 MB / 401.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.007533, allocations: 65.22 kB / 401.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.007808, allocations: 295.2 kB / 402.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.00806, allocations: 219.4 kB / 402.3 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.008101, allocations: 36 kB / 402.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.008307, allocations: 155.8 kB / 402.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.008442, allocations: 159.4 kB / 402.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.008548, allocations: 127.6 kB / 402.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.009126, allocations: 0.6034 MB / 403.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.009129, allocations: 0 / 403.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.009131, allocations: 3.938 kB / 403.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.009138, allocations: 0 / 403.4 MB, free: 11.09 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001041/0.01018, allocations: 0.8555 MB / 404.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.01022, allocations: 8.031 kB / 404.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.128e-05/0.01031, allocations: 64.52 kB / 404.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.01077, allocations: 402.1 kB / 404.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.01079, allocations: 25.38 kB / 404.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.01084, allocations: 40.38 kB / 404.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.01136, allocations: 0.5016 MB / 405.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.01138, allocations: 11.89 kB / 405.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.0114, allocations: 16 kB / 405.3 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.01141, allocations: 8 kB / 405.3 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.0118, allocations: 364 kB / 405.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.01335, allocations: 1.761 MB / 407.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.01368, allocations: 248.7 kB / 407.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.01386, allocations: 170.8 kB / 407.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.01389, allocations: 240 / 407.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.01422, allocations: 285.7 kB / 408.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/0.01422, allocations: 0 / 408.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007077/0.01493, allocations: 0.6176 MB / 408.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.01497, allocations: 89.09 kB / 408.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.01536, allocations: 0.533 MB / 409.4 MB, free: 4.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.01538, allocations: 29.7 kB / 409.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.01553, allocations: 292.5 kB / 409.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.209e-05/0.01559, allocations: 111.1 kB / 409.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.01568, allocations: 106.1 kB / 409.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.0158, allocations: 370.8 kB / 410.3 MB, free: 3.926 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.01597, allocations: 178.8 kB / 410.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.01622, allocations: 365 kB / 410.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.01739, allocations: 0.9608 MB / 411.7 MB, free: 2.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.0174, allocations: 0 / 411.7 MB, free: 2.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000659/0.01806, allocations: 0.6847 MB / 412.4 MB, free: 1.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.0181, allocations: 45.62 kB / 412.5 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.01811, allocations: 4 kB / 412.5 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01812, allocations: 8 kB / 412.5 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.01837, allocations: 112.4 kB / 412.6 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.01838, allocations: 11.98 kB / 412.6 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.01851, allocations: 63.59 kB / 412.7 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.01853, allocations: 24 kB / 412.7 MB, free: 1.273 MB / 378.7 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (63): * Single equations (assignments): 62 * 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.0002387/0.01877, allocations: 279.2 kB / 413 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.01882, allocations: 51.67 kB / 413 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.01937, allocations: 0.5414 MB / 413.6 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01937, allocations: 4 kB / 413.6 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01938, allocations: 0 / 413.6 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01938, allocations: 0 / 413.6 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.01966, allocations: 353 kB / 413.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01966, allocations: 0 / 413.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.01988, allocations: 71.83 kB / 414 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01989, allocations: 0 / 414 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.01991, allocations: 15.98 kB / 414 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01992, allocations: 3.938 kB / 414 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01992, allocations: 0 / 414 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/0.0206, allocations: 0.7416 MB / 414.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.02065, allocations: 47.61 kB / 414.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.02069, allocations: 19.98 kB / 414.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.02077, allocations: 23.92 kB / 414.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.02083, allocations: 23.95 kB / 414.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.02085, allocations: 8.109 kB / 414.9 MB, free: 15.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002528/0.0211, allocations: 366.8 kB / 415.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.0211, allocations: 0 / 415.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.0214, allocations: 127.7 kB / 415.3 MB, free: 14.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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 (31): * Single equations (assignments): 28 * 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.0007579/0.02216, allocations: 498.3 kB / 415.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.0227, allocations: 0.5155 MB / 416.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02271, allocations: 0 / 416.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.02291, allocations: 257.5 kB / 416.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.02319, allocations: 95.36 kB / 416.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.02429, allocations: 1.059 MB / 417.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.02448, allocations: 284.4 kB / 418 MB, free: 11.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.02456, allocations: 44.48 kB / 418.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02456, allocations: 0 / 418.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of Templates: time 0.007165/0.03172, allocations: 7.074 MB / 425.1 MB, free: 4.805 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.053782943636179] Failed to read output from testmodel.py, exit status != 0: 0.03784277103841305 0.04577615799999994 0.03496940099999994 Calling exit ...