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.0009086/0.0009086, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002385, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009868/0.0009868, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002308, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.262/1.262, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1452/1.407, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.03933/0.03933, allocations: 8.617 MB / 252.6 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009867/0.04919, allocations: 3.125 MB / 255.7 MB, free: 3.59 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.595e-06/2.595e-06, allocations: 0 / 257 MB, free: 2.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.646e-05, allocations: 2.312 kB / 257 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.005091/0.005128, allocations: 2.45 MB / 259.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00426/0.009388, allocations: 1.683 MB / 261.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.009884, allocations: 23.75 kB / 261.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.01091, allocations: 214.9 kB / 261.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007087/0.01161, allocations: 226.8 kB / 261.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.01309, allocations: 446.7 kB / 262 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009448/0.01404, allocations: 0.5672 MB / 262.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.01426, allocations: 73.14 kB / 262.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.01487, allocations: 343.6 kB / 263 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.0153, allocations: 211.4 kB / 263.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.506e-05/0.01538, allocations: 32 kB / 263.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.01585, allocations: 171.8 kB / 263.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.01608, allocations: 119.6 kB / 263.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.01625, allocations: 99.62 kB / 263.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008538/0.01711, allocations: 422.4 kB / 264 MB, free: 11.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.596e-05/0.01713, allocations: 4 kB / 264 MB, free: 11.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.33e-06/0.01714, allocations: 4 kB / 264 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.468e-05/0.01716, allocations: 0 / 264 MB, free: 11.23 MB / 266.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.001687/0.01885, allocations: 0.92 MB / 264.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.0189, allocations: 8.031 kB / 264.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.01905, allocations: 60.89 kB / 265 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000693/0.01974, allocations: 396.1 kB / 265.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.01979, allocations: 25.38 kB / 265.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.01986, allocations: 44.36 kB / 265.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.02043, allocations: 364.4 kB / 265.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.02046, allocations: 19.83 kB / 265.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.0205, allocations: 16 kB / 265.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.02051, allocations: 8 kB / 265.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.02083, allocations: 164.9 kB / 266 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.02341, allocations: 1.404 MB / 267.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.02377, allocations: 206.1 kB / 267.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.02389, allocations: 78.78 kB / 267.7 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.02393, allocations: 8.234 kB / 267.7 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.02426, allocations: 205.7 kB / 267.9 MB, free: 7.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 3.226e-06/0.02427, allocations: 0 / 267.9 MB, free: 7.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005434/0.02481, allocations: 316.8 kB / 268.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.02488, allocations: 93.08 kB / 268.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.02537, allocations: 448.8 kB / 268.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.02541, allocations: 37.69 kB / 268.8 MB, free: 6.176 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.02559, allocations: 233.7 kB / 269 MB, free: 5.941 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.0257, allocations: 123 kB / 269.1 MB, free: 5.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.02584, allocations: 102.1 kB / 269.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.02602, allocations: 370.7 kB / 269.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.02616, allocations: 85.61 kB / 269.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.02642, allocations: 268.9 kB / 269.9 MB, free: 4.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005937/0.02702, allocations: 468.8 kB / 270.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.02702, allocations: 8 kB / 270.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005776/0.0276, allocations: 372.8 kB / 270.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.176e-05/0.02767, allocations: 45.81 kB / 270.8 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.02769, allocations: 4 kB / 270.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.02771, allocations: 11.94 kB / 270.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.02827, allocations: 131.8 kB / 271 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.02829, allocations: 11.94 kB / 271 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.02853, allocations: 59.61 kB / 271 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.02857, allocations: 16 kB / 271 MB, free: 3.695 MB / 266.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.0003352/0.02891, allocations: 222 kB / 271.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.02898, allocations: 39.97 kB / 271.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.02948, allocations: 309.6 kB / 271.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.02948, allocations: 4 kB / 271.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.02948, allocations: 0 / 271.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.02949, allocations: 0 / 271.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.02986, allocations: 225.5 kB / 271.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.02987, allocations: 0 / 271.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.03031, allocations: 79.92 kB / 271.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.03038, allocations: 59.5 kB / 272 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.03039, allocations: 0 / 272 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.03044, allocations: 23.92 kB / 272 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.03044, allocations: 4 kB / 272 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.03044, allocations: 0 / 272 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.03106, allocations: 409.5 kB / 272.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/0.03114, allocations: 23.92 kB / 272.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.03127, allocations: 11.94 kB / 272.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.03135, allocations: 23.95 kB / 272.4 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.03139, allocations: 11.98 kB / 272.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002572/0.03164, allocations: 191.2 kB / 272.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03164, allocations: 4 kB / 272.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005081/0.03215, allocations: 127.7 kB / 272.8 MB, free: 1.867 MB / 266.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.002214/0.03436, allocations: 0.5957 MB / 273.4 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005625/0.03493, allocations: 357.1 kB / 273.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.013e-05/0.03496, allocations: 8 kB / 273.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.03546, allocations: 190.2 kB / 273.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.03587, allocations: 107.8 kB / 274 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1688/0.2047, allocations: 0.8997 MB / 274.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2048, allocations: 147.7 kB / 275.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.2051, allocations: 57.86 kB / 275.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.2053, allocations: 133.8 kB / 275.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of SimCode: time 3.546e-06/0.2053, allocations: 1.344 kB / 275.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Templates: time 0.01488/0.2202, allocations: 5.673 MB / 280.9 MB, free: 12.39 MB / 266.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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.354407425969839]