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.001684/0.001684, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.001561/0.001561, allocations: 169.5 kB / 22.46 MB, free: 5.355 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.466/1.466, 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.07893/0.07893, allocations: 8.611 MB / 267.8 MB, free: 8.578 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.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 1.653e-06/1.653e-06, allocations: 0 / 395.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.563e-05/3.728e-05, allocations: 6.219 kB / 395.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.004014/0.004051, allocations: 2.329 MB / 397.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.007049, allocations: 1.609 MB / 399.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.007276, allocations: 23.75 kB / 399.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.00806, allocations: 226.8 kB / 399.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.00858, allocations: 210.9 kB / 400 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.009664, allocations: 450.7 kB / 400.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007702/0.01043, allocations: 0.5943 MB / 401 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.01061, allocations: 61.09 kB / 401.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.01101, allocations: 299.3 kB / 401.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.01138, allocations: 219.4 kB / 401.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.01145, allocations: 36 kB / 401.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.01176, allocations: 151.8 kB / 401.8 MB, free: 472 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.01195, allocations: 151.4 kB / 401.9 MB, free: 320 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.01215, allocations: 143.5 kB / 402 MB, free: 176 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000802/0.01295, allocations: 0.5918 MB / 402.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.01295, allocations: 0 / 402.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01295, allocations: 0 / 402.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.01296, allocations: 4 kB / 402.6 MB, free: 15.57 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001556/0.01452, allocations: 0.8516 MB / 403.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.01456, allocations: 12.03 kB / 403.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.01468, allocations: 64.52 kB / 403.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/0.01539, allocations: 402.1 kB / 404 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.01543, allocations: 29.38 kB / 404 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.675e-05/0.01551, allocations: 44.33 kB / 404 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.01636, allocations: 0.5016 MB / 404.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.0164, allocations: 7.875 kB / 404.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.01644, allocations: 16 kB / 404.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.01645, allocations: 12 kB / 404.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006625/0.01712, allocations: 356 kB / 404.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.01983, allocations: 1.761 MB / 406.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.02038, allocations: 252.6 kB / 406.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.02066, allocations: 166.7 kB / 407.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.0207, allocations: 4.234 kB / 407.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005081/0.02121, allocations: 277.5 kB / 407.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/0.02121, allocations: 0 / 407.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001262/0.02247, allocations: 0.6256 MB / 408 MB, free: 9.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.02255, allocations: 89.09 kB / 408.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007187/0.02327, allocations: 0.5214 MB / 408.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.02331, allocations: 33.7 kB / 408.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.0236, allocations: 292.5 kB / 408.9 MB, free: 9.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.02371, allocations: 119 kB / 409 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.02388, allocations: 106.1 kB / 409.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.02409, allocations: 366.8 kB / 409.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.02441, allocations: 174.8 kB / 409.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.0249, allocations: 380.9 kB / 410 MB, free: 7.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.02705, allocations: 0.9565 MB / 411 MB, free: 6.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.02706, allocations: 3.938 kB / 411 MB, free: 6.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001222/0.02828, allocations: 0.6846 MB / 411.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.02834, allocations: 45.62 kB / 411.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.02835, allocations: 4 kB / 411.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.02837, allocations: 8.656 kB / 411.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.02886, allocations: 115.8 kB / 411.8 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.02888, allocations: 15.88 kB / 411.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.02915, allocations: 59.64 kB / 411.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.0292, allocations: 24 kB / 411.9 MB, free: 5.738 MB / 334.1 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.0003979/0.02959, allocations: 271.2 kB / 412.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.02968, allocations: 51.67 kB / 412.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.0307, allocations: 0.522 MB / 412.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.03071, allocations: 4 kB / 412.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.03072, allocations: 4 kB / 412.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.03073, allocations: 3.984 kB / 412.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.0312, allocations: 349 kB / 413.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.03121, allocations: 7.984 kB / 413.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.03164, allocations: 67.89 kB / 413.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.03165, allocations: 0 / 413.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.03169, allocations: 16 kB / 413.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.03169, allocations: 3.938 kB / 413.2 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.0317, allocations: 3.984 kB / 413.2 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.03295, allocations: 0.7454 MB / 414 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.03303, allocations: 51.55 kB / 414 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.0331, allocations: 12 kB / 414 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.03328, allocations: 23.91 kB / 414.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.03337, allocations: 19.97 kB / 414.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.03341, allocations: 27.92 kB / 414.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004405/0.03385, allocations: 354.8 kB / 414.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03385, allocations: 0 / 414.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004867/0.03434, allocations: 131.7 kB / 414.6 MB, free: 3.004 MB / 334.1 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.001775/0.03612, allocations: 490.5 kB / 415.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009293/0.03704, allocations: 0.5079 MB / 415.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.03705, allocations: 4.062 kB / 415.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004029/0.03745, allocations: 261.5 kB / 415.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.03791, allocations: 88.08 kB / 415.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.0396, allocations: 1.026 MB / 416.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.03991, allocations: 284.5 kB / 417.2 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.04016, allocations: 96.2 kB / 417.3 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.04028, allocations: 40.5 kB / 417.4 MB, free: 324 kB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.04028, allocations: 0 / 417.4 MB, free: 324 kB / 334.1 MB Notification: Performance of Templates: time 0.01196/0.05224, allocations: 5.083 MB / 422.4 MB, free: 11.28 MB / 350.1 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: 4.650037106126547] Failed to read output from testmodel.py, exit status != 0: 0.06107204034924507 0.07639573100000001 0.060320901 Calling exit ...