Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.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.0007004/0.0007004, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000931/0.001631, allocations: 455.9 kB / 10.43 MB, free: 260 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.0006832/0.0006832, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009683/0.001652, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.036/1.036, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08972/1.126, allocations: 53.67 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.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.02804/0.02804, allocations: 5.888 MB / 250 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004031/0.03207, allocations: 2.121 MB / 252.2 MB, free: 7.145 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.Applications.ControlStrategies.LeadLagFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter") translateModel(IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 253.4 MB, free: 5.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.24e-05, allocations: 5.828 kB / 253.4 MB, free: 5.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter): time 0.002976/0.002998, allocations: 1.846 MB / 255.3 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.005311, allocations: 1.243 MB / 256.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.005402, allocations: 0 / 256.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.691e-05/0.005469, allocations: 15.8 kB / 256.5 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.005609, allocations: 31.67 kB / 256.6 MB, free: 2.707 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0008654/0.006475, allocations: 270.9 kB / 256.8 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.00666, allocations: 139.5 kB / 257 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.006745, allocations: 22.45 kB / 257 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.00688, allocations: 120.2 kB / 257.1 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.007199, allocations: 70.7 kB / 257.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.007228, allocations: 12 kB / 257.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.007648, allocations: 343.2 kB / 257.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.007695, allocations: 23.88 kB / 257.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.007732, allocations: 31.88 kB / 257.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.008075, allocations: 275.1 kB / 257.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.349e-05/0.008089, allocations: 4 kB / 257.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00809, allocations: 0 / 257.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.008097, allocations: 0 / 257.9 MB, free: 1.43 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006078/0.008705, allocations: 467.1 kB / 258.3 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.008736, allocations: 8.031 kB / 258.3 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.008918, allocations: 117.9 kB / 258.4 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.009067, allocations: 177.9 kB / 258.6 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.00908, allocations: 8.375 kB / 258.6 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.0091, allocations: 16.38 kB / 258.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.009256, allocations: 128.3 kB / 258.8 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.009263, allocations: 0 / 258.8 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.009273, allocations: 7.938 kB / 258.8 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.009292, allocations: 7.938 kB / 258.8 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.009335, allocations: 26 kB / 258.8 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.00973, allocations: 270.9 kB / 259.1 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.009842, allocations: 98.47 kB / 259.2 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.009886, allocations: 28.88 kB / 259.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.009895, allocations: 4 kB / 259.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.01, allocations: 74.08 kB / 259.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.01001, allocations: 0 / 259.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001488/0.01015, allocations: 93.66 kB / 259.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.01019, allocations: 59.41 kB / 259.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.01029, allocations: 194.3 kB / 259.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.01031, allocations: 37.7 kB / 259.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.01036, allocations: 116.5 kB / 259.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.01039, allocations: 47.61 kB / 259.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.01044, allocations: 45.67 kB / 259.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.01053, allocations: 338.7 kB / 260.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.01056, allocations: 23 kB / 260.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.01062, allocations: 86.66 kB / 260.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/0.0107, allocations: 88.16 kB / 260.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01071, allocations: 0 / 260.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001319/0.01084, allocations: 129.6 kB / 260.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.01085, allocations: 4 kB / 260.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01086, allocations: 0 / 260.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.01086, allocations: 4 kB / 260.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.01105, allocations: 55.89 kB / 260.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.01105, allocations: 7.938 kB / 260.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.0111, allocations: 23.84 kB / 260.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.01111, allocations: 4 kB / 260.6 MB, free: 14.47 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,globalSeed.id_impure,noiseSource.localSeed,noiseSource.actualGlobalSeed,noiseSource.r_raw,$PRE.noiseSource.r_raw,noiseSource.r,$PRE.noiseSource.r,noiseSource.state[4],$PRE.noiseSource.state[4],noiseSource.state[3],$PRE.noiseSource.state[3],noiseSource.state[2],$PRE.noiseSource.state[2],noiseSource.state[1],$PRE.noiseSource.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 1 * Algorithm blocks: 0 * 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 7.446e-05/0.01119, allocations: 129.7 kB / 260.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.0112, allocations: 12.03 kB / 260.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.01124, allocations: 29.44 kB / 260.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01125, allocations: 4 kB / 260.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01125, allocations: 7.875 kB / 260.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01125, allocations: 0 / 260.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.01148, allocations: 302.6 kB / 261.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01148, allocations: 0 / 261.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.0116, allocations: 35.91 kB / 261.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.01161, allocations: 15.86 kB / 261.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.01162, allocations: 7.938 kB / 261.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.01163, allocations: 4 kB / 261.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01163, allocations: 0 / 261.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01163, allocations: 3.938 kB / 261.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.01181, allocations: 256.6 kB / 261.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.01183, allocations: 11.92 kB / 261.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.01188, allocations: 8 kB / 261.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.01191, allocations: 7.984 kB / 261.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.01192, allocations: 3.984 kB / 261.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.01197, allocations: 62.17 kB / 261.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01197, allocations: 0 / 261.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.0122, allocations: 87.8 kB / 261.6 MB, free: 13.46 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (sensor.y,lowPassFilter.y,leadLagFilter.dy) * Number of discrete variables: 7 ($whenCondition1,noiseSource.state[1],noiseSource.state[2],noiseSource.state[3],noiseSource.state[4],noiseSource.r,noiseSource.r_raw) * Number of discrete states: 4 (noiseSource.state[1],noiseSource.state[2],noiseSource.state[3],noiseSource.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0005248/0.01272, allocations: 322 kB / 261.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.01289, allocations: 71.86 kB / 261.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.01289, allocations: 7.984 kB / 262 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.01298, allocations: 40.83 kB / 262 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.01316, allocations: 117.1 kB / 262.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.01376, allocations: 354.5 kB / 262.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.894e-05/0.0138, allocations: 71.83 kB / 262.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.372e-05/0.01385, allocations: 21.47 kB / 262.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.01393, allocations: 71.38 kB / 262.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01393, allocations: 3.938 kB / 262.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Templates: time 0.005361/0.01929, allocations: 3.408 MB / 266 MB, free: 9.035 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.704624218866229]