Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0008672/0.0008672, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002033, allocations: 435.8 kB / 10.33 MB, free: 364 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.0009007/0.0009007, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002077, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.9812/0.9812, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08733/1.069, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04124/0.04124, allocations: 9.786 MB / 253.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01616/0.0574, allocations: 3.472 MB / 257.2 MB, free: 2.129 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 258.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.137e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.00262/0.002642, allocations: 1.938 MB / 260.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.006865, allocations: 0.7711 MB / 261.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.006994, allocations: 23.75 kB / 261.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.007152, allocations: 59.56 kB / 261.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.00726, allocations: 63.56 kB / 261.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.007735, allocations: 187.5 kB / 261.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.008061, allocations: 271.4 kB / 261.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.008183, allocations: 38.86 kB / 261.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.008522, allocations: 171.5 kB / 262 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.01172, allocations: 91.67 kB / 262.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.01176, allocations: 16 kB / 262.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.01194, allocations: 99.92 kB / 262.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.01201, allocations: 39.8 kB / 262.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.01208, allocations: 47.81 kB / 262.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.01238, allocations: 203.2 kB / 262.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.735e-05/0.0124, allocations: 0 / 262.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0124, allocations: 0 / 262.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.01242, allocations: 0 / 262.5 MB, free: 12.83 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.0007191/0.01314, allocations: 0.5555 MB / 263.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.01317, allocations: 12.56 kB / 263.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.01324, allocations: 40.91 kB / 263.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.01363, allocations: 300.4 kB / 263.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.01375, allocations: 183.1 kB / 263.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.01379, allocations: 20.38 kB / 263.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.01404, allocations: 210.3 kB / 263.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01405, allocations: 7.922 kB / 263.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.01407, allocations: 15.98 kB / 263.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.01408, allocations: 4 kB / 263.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.01418, allocations: 76.52 kB / 263.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.01792, allocations: 0.4902 MB / 264.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.01809, allocations: 140.2 kB / 264.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.01814, allocations: 58.55 kB / 264.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.01815, allocations: 4 kB / 264.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.01831, allocations: 149.5 kB / 264.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.01831, allocations: 0 / 264.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000245/0.01855, allocations: 221.6 kB / 265 MB, free: 10.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.01859, allocations: 81.11 kB / 265 MB, free: 10.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.01877, allocations: 263 kB / 265.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.01879, allocations: 29.7 kB / 265.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.01887, allocations: 168.7 kB / 265.5 MB, free: 9.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.01891, allocations: 51.58 kB / 265.5 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.01898, allocations: 61.89 kB / 265.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.01908, allocations: 346.7 kB / 265.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.01913, allocations: 64.97 kB / 266 MB, free: 9.035 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.01923, allocations: 143.8 kB / 266.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.01941, allocations: 240.2 kB / 266.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01941, allocations: 0 / 266.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002402/0.01965, allocations: 239.7 kB / 266.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.01969, allocations: 45.62 kB / 266.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.0197, allocations: 7.938 kB / 266.7 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.01971, allocations: 4 kB / 266.7 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.01994, allocations: 63.89 kB / 266.7 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01994, allocations: 4.25 kB / 266.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.667e-05/0.02004, allocations: 35.78 kB / 266.8 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.02006, allocations: 12 kB / 266.8 MB, free: 8.137 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 0.0001141/0.02017, allocations: 162.3 kB / 266.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.0202, allocations: 15.98 kB / 267 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.02024, allocations: 34.17 kB / 267 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.02024, allocations: 4 kB / 267 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.02025, allocations: 3.984 kB / 267 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.02025, allocations: 0 / 267 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/0.02367, allocations: 450.6 kB / 267.4 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02367, allocations: 4.031 kB / 267.4 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.02387, allocations: 47.95 kB / 267.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.0239, allocations: 35.62 kB / 267.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.0239, allocations: 0 / 267.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.02392, allocations: 4 kB / 267.5 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.02392, allocations: 0 / 267.5 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02392, allocations: 0 / 267.5 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.02422, allocations: 408.1 kB / 267.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.02425, allocations: 8 kB / 267.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.02433, allocations: 0 / 267.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.02436, allocations: 11.98 kB / 267.9 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.02438, allocations: 7.938 kB / 267.9 MB, free: 6.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.398e-05/0.02446, allocations: 92.62 kB / 268 MB, free: 6.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02446, allocations: 0 / 268 MB, free: 6.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.02475, allocations: 59.88 kB / 268.1 MB, free: 6.715 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.0001732/0.02492, allocations: 116.3 kB / 268.2 MB, free: 6.594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.02516, allocations: 243.4 kB / 268.4 MB, free: 6.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.02517, allocations: 7.938 kB / 268.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.02527, allocations: 136.8 kB / 268.6 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.0255, allocations: 48.55 kB / 268.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.02949, allocations: 485.1 kB / 269.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.02955, allocations: 92.31 kB / 269.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.345e-05/0.02963, allocations: 34.22 kB / 269.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.02974, allocations: 87.36 kB / 269.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.02974, allocations: 0 / 269.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of Templates: time 0.005831/0.03557, allocations: 1.98 MB / 271.3 MB, free: 3.461 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.628945362754166]