Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.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.0006615/0.0006615, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009738/0.001635, 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.0007011/0.0007011, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008951/0.001596, 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.9158/0.9158, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08084/0.9967, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.03531/0.03531, allocations: 8.607 MB / 252.7 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004867/0.04018, allocations: 3.133 MB / 255.9 MB, free: 3.492 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.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 257.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.482e-05, allocations: 6.312 kB / 257.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.001941/0.001956, allocations: 1.957 MB / 259.1 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.002837, allocations: 0.7711 MB / 259.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.002936, allocations: 23.75 kB / 259.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.003064, allocations: 63.56 kB / 260 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.003141, allocations: 63.5 kB / 260.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.003478, allocations: 183.5 kB / 260.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.003715, allocations: 267.4 kB / 260.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.003814, allocations: 50.8 kB / 260.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.003986, allocations: 163.6 kB / 260.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.004137, allocations: 95.67 kB / 260.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.004163, allocations: 12 kB / 260.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.004295, allocations: 95.92 kB / 260.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.004352, allocations: 39.81 kB / 260.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.004406, allocations: 51.75 kB / 261 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.004619, allocations: 199.2 kB / 261.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.004628, allocations: 0 / 261.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004629, allocations: 3.938 kB / 261.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.004639, allocations: 7.938 kB / 261.2 MB, free: 14.15 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005565/0.005196, allocations: 0.5516 MB / 261.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.005223, allocations: 8.031 kB / 261.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.005283, allocations: 44.91 kB / 261.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.005597, allocations: 304.4 kB / 262.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.005692, allocations: 183.1 kB / 262.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.005724, allocations: 16.38 kB / 262.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.005931, allocations: 214.3 kB / 262.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.005941, allocations: 7.938 kB / 262.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.005965, allocations: 8 kB / 262.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005971, allocations: 4 kB / 262.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.006047, allocations: 80.45 kB / 262.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.006605, allocations: 498.1 kB / 263.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.006742, allocations: 144.1 kB / 263.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.006784, allocations: 58.56 kB / 263.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.006792, allocations: 0 / 263.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.006912, allocations: 149.7 kB / 263.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.006913, allocations: 7.938 kB / 263.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002/0.007113, allocations: 218.7 kB / 263.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.007168, allocations: 166.2 kB / 263.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.007308, allocations: 267 kB / 264.1 MB, free: 11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.007324, allocations: 25.7 kB / 264.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.007393, allocations: 160.8 kB / 264.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.007425, allocations: 59.56 kB / 264.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.007478, allocations: 57.91 kB / 264.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.007567, allocations: 346.7 kB / 264.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.58e-05/0.007612, allocations: 61.03 kB / 264.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.007694, allocations: 154.3 kB / 264.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.007837, allocations: 237.1 kB / 265.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.00784, allocations: 8 kB / 265.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001889/0.008029, allocations: 238.9 kB / 265.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.008066, allocations: 41.62 kB / 265.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.008073, allocations: 4 kB / 265.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.008086, allocations: 4.375 kB / 265.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.008272, allocations: 71.89 kB / 265.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.008276, allocations: 4 kB / 265.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/0.008343, allocations: 23.78 kB / 265.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.008356, allocations: 12 kB / 265.6 MB, free: 9.363 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (signal.nextEventScaled,signal.nextEvent,$PRE.signal.nextEvent,signal.last,signal.b,signal.a,$whenCondition1,Gain.TS_in,Integrator.TS_in,FirstOrder.TS_in,LeadLAG.TS_in,complexPoles.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 9.18e-05/0.008447, allocations: 168.7 kB / 265.7 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.008471, allocations: 27.95 kB / 265.7 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.008503, allocations: 38.17 kB / 265.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.008505, allocations: 0 / 265.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.008506, allocations: 3.938 kB / 265.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.00851, allocations: 4 kB / 265.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.008822, allocations: 442.7 kB / 266.2 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.008826, allocations: 8 kB / 266.2 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.008981, allocations: 43.95 kB / 266.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.009002, allocations: 31.69 kB / 266.3 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.009005, allocations: 4.031 kB / 266.3 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.009018, allocations: 8 kB / 266.3 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00902, allocations: 0 / 266.3 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009021, allocations: 0 / 266.3 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.009253, allocations: 411.4 kB / 266.7 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.009271, allocations: 4 kB / 266.7 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.501e-05/0.009326, allocations: 4 kB / 266.7 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.009353, allocations: 7.984 kB / 266.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.009366, allocations: 7.984 kB / 266.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.629e-05/0.009422, allocations: 92.62 kB / 266.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009422, allocations: 4 kB / 266.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.009612, allocations: 59.89 kB / 266.9 MB, free: 7.922 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Integrator.y,FirstOrder.Y,LeadLAG.uF,complexPoles.Y,complexPoles.dY) * Number of discrete variables: 6 ($whenCondition1,signal.a,signal.b,signal.last,signal.nextEvent,signal.nextEventScaled) * Number of discrete states: 6 (signal.nextEvent,signal.last,signal.nextEventScaled,signal.b,signal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001349/0.009747, allocations: 112.3 kB / 267 MB, free: 7.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.009927, allocations: 256.3 kB / 267.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.009936, allocations: 4 kB / 267.3 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.01001, allocations: 138.1 kB / 267.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.0102, allocations: 93.78 kB / 267.5 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.01077, allocations: 484.1 kB / 268 MB, free: 6.766 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.196e-05/0.01082, allocations: 88.31 kB / 268 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.975e-05/0.01088, allocations: 30.28 kB / 268.1 MB, free: 6.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.01096, allocations: 87.36 kB / 268.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01097, allocations: 4 kB / 268.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of Templates: time 0.003824/0.01479, allocations: 1.857 MB / 270 MB, free: 4.715 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.417877921834588]