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.0006643/0.0006643, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009054/0.00157, allocations: 440 kB / 10.41 MB, free: 284 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.0006818/0.0006818, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008861/0.001568, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9129/0.9129, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0901/1.003, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.03516/0.03516, allocations: 8.609 MB / 252.7 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004902/0.04006, allocations: 3.141 MB / 255.9 MB, free: 3.477 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.272e-06/1.272e-06, allocations: 0 / 257.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.236e-05, allocations: 2.312 kB / 257.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.00247/0.002483, allocations: 2.47 MB / 259.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.004366, allocations: 1.691 MB / 261.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.00451, allocations: 19.75 kB / 261.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.004956, allocations: 218.9 kB / 261.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.005242, allocations: 230.8 kB / 261.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.00579, allocations: 442.6 kB / 262.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.006453, allocations: 0.5788 MB / 262.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.00659, allocations: 69.16 kB / 262.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.006886, allocations: 347.8 kB / 263.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.007116, allocations: 211.4 kB / 263.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.007162, allocations: 32 kB / 263.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.007382, allocations: 167.8 kB / 263.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.007496, allocations: 123.5 kB / 263.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.00759, allocations: 99.69 kB / 263.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.007984, allocations: 434.3 kB / 264.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.007995, allocations: 4 kB / 264.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007996, allocations: 0 / 264.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.008004, allocations: 0 / 264.3 MB, free: 11.05 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.0008858/0.00889, allocations: 0.9124 MB / 265.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.008921, allocations: 12.03 kB / 265.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.275e-05/0.009004, allocations: 64.88 kB / 265.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.009409, allocations: 404.1 kB / 265.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.009433, allocations: 21.38 kB / 265.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.009479, allocations: 44.33 kB / 265.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.009828, allocations: 372.4 kB / 266.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.009844, allocations: 7.938 kB / 266.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.009865, allocations: 16 kB / 266.1 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.009875, allocations: 8 kB / 266.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.01004, allocations: 160.9 kB / 266.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.01118, allocations: 1.428 MB / 267.7 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.01136, allocations: 190.2 kB / 267.9 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.463e-05/0.01143, allocations: 82.77 kB / 268 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.01145, allocations: 12.23 kB / 268 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.01164, allocations: 200.2 kB / 268.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.01165, allocations: 0 / 268.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002992/0.01194, allocations: 316.8 kB / 268.5 MB, free: 6.594 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.012, allocations: 178.2 kB / 268.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.01227, allocations: 460.7 kB / 269.1 MB, free: 5.918 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.0123, allocations: 29.7 kB / 269.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.0124, allocations: 233.7 kB / 269.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.01273, allocations: 127 kB / 269.5 MB, free: 5.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.01282, allocations: 102.1 kB / 269.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.01291, allocations: 374.7 kB / 270 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.147e-05/0.01298, allocations: 81.66 kB / 270 MB, free: 4.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.01312, allocations: 268.9 kB / 270.3 MB, free: 4.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.01344, allocations: 496.8 kB / 270.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01344, allocations: 0 / 270.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0003058/0.01375, allocations: 374.3 kB / 271.1 MB, free: 3.648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.01379, allocations: 41.69 kB / 271.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.01379, allocations: 4 kB / 271.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01381, allocations: 11.94 kB / 271.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.01413, allocations: 135.6 kB / 271.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.01414, allocations: 11.98 kB / 271.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.01425, allocations: 51.62 kB / 271.4 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.01428, allocations: 23.94 kB / 271.4 MB, free: 3.371 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.0001736/0.01445, allocations: 218.1 kB / 271.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.0145, allocations: 43.95 kB / 271.7 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.01477, allocations: 301.6 kB / 272 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01477, allocations: 4 kB / 272 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01477, allocations: 4 kB / 272 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01478, allocations: 4 kB / 272 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.01497, allocations: 225.5 kB / 272.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01497, allocations: 0 / 272.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.01521, allocations: 87.86 kB / 272.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.01525, allocations: 55.55 kB / 272.3 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01525, allocations: 0 / 272.3 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.01528, allocations: 15.92 kB / 272.4 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01528, allocations: 4 kB / 272.4 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01528, allocations: 0 / 272.4 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.01562, allocations: 421.4 kB / 272.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.01566, allocations: 16 kB / 272.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.01573, allocations: 15.92 kB / 272.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.01578, allocations: 19.97 kB / 272.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.0158, allocations: 19.98 kB / 272.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.01594, allocations: 191.2 kB / 273 MB, free: 1.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01594, allocations: 4 kB / 273 MB, free: 1.664 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000237/0.01618, allocations: 119.8 kB / 273.1 MB, free: 1.547 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.001191/0.01737, allocations: 0.6012 MB / 273.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.01767, allocations: 353.2 kB / 274.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/0.01768, allocations: 8 kB / 274.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.01782, allocations: 210.1 kB / 274.3 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.01815, allocations: 472.3 kB / 274.8 MB, free: 4 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09738/0.1155, allocations: 0.9021 MB / 275.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.1157, allocations: 142.3 kB / 275.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.1159, allocations: 61.28 kB / 275.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.1161, allocations: 137.1 kB / 276 MB, free: 12.62 MB / 266.7 MB Notification: Performance of SimCode: time 2.334e-06/0.1161, allocations: 2.281 kB / 276 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Templates: time 0.008578/0.1247, allocations: 5.306 MB / 281.3 MB, free: 12.25 MB / 266.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: 2.714169508777559]