Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.001099/0.001099, allocations: 69.89 kB / 20.65 MB, free: 3.852 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.001226/0.001226, allocations: 173 kB / 24.06 MB, free: 456 kB / 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 1.102/1.102, allocations: 177.1 MB / 204.5 MB, free: 5.531 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.03725/0.03725, allocations: 8.621 MB / 269.7 MB, free: 4.789 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.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 342.1 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.277e-05, allocations: 4.703 kB / 342.1 MB, free: 9.195 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.002977/0.003, allocations: 2.393 MB / 344.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.004821, allocations: 1.633 MB / 346.1 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.004975, allocations: 23.75 kB / 346.1 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.005528, allocations: 226.8 kB / 346.4 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.005833, allocations: 218.8 kB / 346.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.006407, allocations: 454.7 kB / 347 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.00686, allocations: 0.5943 MB / 347.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.006996, allocations: 69.08 kB / 347.7 MB, free: 3.566 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.007223, allocations: 299.3 kB / 348 MB, free: 3.273 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.007436, allocations: 215.4 kB / 348.2 MB, free: 3.062 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.007482, allocations: 36 kB / 348.2 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.007654, allocations: 151.8 kB / 348.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.007767, allocations: 155.4 kB / 348.5 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.609e-05/0.007863, allocations: 131.5 kB / 348.7 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.008261, allocations: 478.1 kB / 349.1 MB, free: 2.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.008264, allocations: 0 / 349.1 MB, free: 2.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.008266, allocations: 0 / 349.1 MB, free: 2.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.00827, allocations: 0 / 349.1 MB, free: 2.129 MB / 314.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.001082/0.009352, allocations: 0.9592 MB / 350.1 MB, free: 1.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.009381, allocations: 11.97 kB / 350.1 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.009483, allocations: 96.52 kB / 350.2 MB, free: 1.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.009871, allocations: 413.7 kB / 350.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.009899, allocations: 37.36 kB / 350.6 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.009941, allocations: 40.36 kB / 350.7 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.01028, allocations: 379.1 kB / 351 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.01029, allocations: 11.88 kB / 351 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.01032, allocations: 16 kB / 351.1 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.01033, allocations: 12 kB / 351.1 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.01052, allocations: 166 kB / 351.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.01181, allocations: 1.958 MB / 353.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.012, allocations: 168.2 kB / 353.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/0.01207, allocations: 85.53 kB / 353.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.01208, allocations: 4.234 kB / 353.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.01227, allocations: 203.5 kB / 353.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.452e-06/0.01227, allocations: 4 kB / 353.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004255/0.01269, allocations: 408.5 kB / 354.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.01273, allocations: 89.11 kB / 354.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.01303, allocations: 0.5022 MB / 354.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.01305, allocations: 33.7 kB / 354.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.01322, allocations: 355.1 kB / 355 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.01329, allocations: 123 kB / 355.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.01338, allocations: 115.7 kB / 355.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.01353, allocations: 0.5507 MB / 355.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.0136, allocations: 78.81 kB / 355.9 MB, free: 11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.01378, allocations: 342 kB / 356.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.01439, allocations: 0.5088 MB / 356.7 MB, free: 9.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.01439, allocations: 4 kB / 356.7 MB, free: 9.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004191/0.01481, allocations: 481.5 kB / 357.2 MB, free: 9.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.01484, allocations: 38.36 kB / 357.2 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01485, allocations: 4 kB / 357.2 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01486, allocations: 15.94 kB / 357.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.01511, allocations: 103.8 kB / 357.4 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.01512, allocations: 15.92 kB / 357.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.01524, allocations: 55.56 kB / 357.4 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.01527, allocations: 20 kB / 357.4 MB, free: 9.191 MB / 330.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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_track.ATreq_in,R_track.satHIGH_in,R_track.satLOW_in,R.TS_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.0002242/0.01549, allocations: 258 kB / 357.7 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.01556, allocations: 71.62 kB / 357.8 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.01597, allocations: 366.6 kB / 358.1 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.01597, allocations: 11.94 kB / 358.1 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01598, allocations: 3.984 kB / 358.1 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01598, allocations: 3.938 kB / 358.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.01621, allocations: 276.9 kB / 358.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01622, allocations: 0 / 358.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.01643, allocations: 59.97 kB / 358.5 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01643, allocations: 4 kB / 358.5 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.01645, allocations: 11.98 kB / 358.5 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01646, allocations: 7.938 kB / 358.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01646, allocations: 3.984 kB / 358.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.01691, allocations: 0.5066 MB / 359 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.01695, allocations: 51.56 kB / 359.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.017, allocations: 15.98 kB / 359.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.01707, allocations: 8 kB / 359.1 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.01712, allocations: 27.89 kB / 359.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.01714, allocations: 15.98 kB / 359.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.01731, allocations: 302.7 kB / 359.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01731, allocations: 0 / 359.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.0176, allocations: 119.8 kB / 359.5 MB, free: 7.004 MB / 330.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.0008886/0.01849, allocations: 456.5 kB / 360 MB, free: 6.695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.01881, allocations: 351.4 kB / 360.3 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01881, allocations: 0 / 360.3 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.01895, allocations: 200.6 kB / 360.5 MB, free: 6.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.01923, allocations: 97.81 kB / 360.6 MB, free: 6.012 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.02012, allocations: 0.9133 MB / 361.5 MB, free: 5.055 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.335e-05/0.0202, allocations: 141.7 kB / 361.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.02032, allocations: 56.25 kB / 361.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.02049, allocations: 162.2 kB / 361.9 MB, free: 4.68 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0205, allocations: 0 / 361.9 MB, free: 4.68 MB / 330.7 MB Notification: Performance of Templates: time 0.008361/0.02886, allocations: 5.663 MB / 367.5 MB, free: 15.06 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.211519700009376]