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.0009426/0.0009426, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009086/0.0009086, allocations: 165.9 kB / 23.21 MB, free: 1.328 MB / 18.57 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.9084/0.9084, allocations: 177.1 MB / 203.5 MB, free: 5.699 MB / 186.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.02803/0.02803, allocations: 5.89 MB / 265.8 MB, free: 7.77 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.463e-06/1.463e-06, allocations: 0 / 390.8 MB, free: 6.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.596e-05, allocations: 9.234 kB / 390.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter): time 0.002004/0.00203, allocations: 1.745 MB / 392.5 MB, free: 4.953 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003472, allocations: 1.173 MB / 393.7 MB, free: 3.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.003544, allocations: 0 / 393.7 MB, free: 3.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.687e-05/0.003631, allocations: 15.8 kB / 393.7 MB, free: 3.754 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.003774, allocations: 35.66 kB / 393.8 MB, free: 3.719 MB / 314.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.0006089/0.004382, allocations: 290.9 kB / 394.1 MB, free: 3.434 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.004511, allocations: 135.5 kB / 394.2 MB, free: 3.301 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.004603, allocations: 33.7 kB / 394.2 MB, free: 3.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.004673, allocations: 87.73 kB / 394.3 MB, free: 3.184 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.004993, allocations: 61.09 kB / 394.4 MB, free: 3.129 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.005017, allocations: 16 kB / 394.4 MB, free: 3.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.005361, allocations: 311.3 kB / 394.7 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.005402, allocations: 35.83 kB / 394.7 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.005445, allocations: 43.84 kB / 394.8 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.005796, allocations: 362.9 kB / 395.1 MB, free: 2.375 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.005798, allocations: 0 / 395.1 MB, free: 2.375 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005798, allocations: 0 / 395.1 MB, free: 2.375 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.005803, allocations: 0 / 395.1 MB, free: 2.375 MB / 314.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.0005665/0.006369, allocations: 456.9 kB / 395.6 MB, free: 1.898 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.0064, allocations: 8.031 kB / 395.6 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.006537, allocations: 32.78 kB / 395.6 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.006644, allocations: 153.3 kB / 395.8 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.00666, allocations: 12.38 kB / 395.8 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.006683, allocations: 8.312 kB / 395.8 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.006863, allocations: 157.5 kB / 395.9 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.006869, allocations: 4 kB / 395.9 MB, free: 1.488 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.006884, allocations: 15.97 kB / 395.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006889, allocations: 4 kB / 396 MB, free: 1.469 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.006998, allocations: 63.95 kB / 396 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.007465, allocations: 368.3 kB / 396.4 MB, free: 1.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.007643, allocations: 122.6 kB / 396.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.007711, allocations: 55.62 kB / 396.5 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.007721, allocations: 7.938 kB / 396.6 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.007854, allocations: 107.3 kB / 396.7 MB, free: 0.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.007855, allocations: 0 / 396.7 MB, free: 0.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002932/0.008149, allocations: 229.3 kB / 396.9 MB, free: 488 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.008187, allocations: 88.98 kB / 397 MB, free: 380 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.008314, allocations: 203.1 kB / 397.2 MB, free: 168 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.008334, allocations: 37.7 kB / 397.2 MB, free: 124 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.008399, allocations: 124.6 kB / 397.3 MB, free: 15.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.008427, allocations: 47.48 kB / 397.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.008475, allocations: 49.7 kB / 397.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.008546, allocations: 330.8 kB / 397.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.359e-05/0.00864, allocations: 80.19 kB / 397.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.008745, allocations: 132.6 kB / 398 MB, free: 15.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.008914, allocations: 170.5 kB / 398.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008916, allocations: 4 kB / 398.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002373/0.009153, allocations: 240.4 kB / 398.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.009164, allocations: 4 kB / 398.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.009169, allocations: 0 / 398.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.009179, allocations: 4 kB / 398.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.00929, allocations: 43.97 kB / 398.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.009295, allocations: 3.938 kB / 398.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.009352, allocations: 19.89 kB / 398.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.009363, allocations: 7.984 kB / 398.4 MB, free: 14.84 MB / 330.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,noiseSource.actualGlobalSeed,noiseSource.localSeed,globalSeed.id_impure,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 8.638e-05/0.009449, allocations: 146.5 kB / 398.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.009465, allocations: 15.86 kB / 398.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.00949, allocations: 21.45 kB / 398.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.009492, allocations: 4 kB / 398.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.009496, allocations: 7.938 kB / 398.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.009499, allocations: 0 / 398.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.009808, allocations: 402 kB / 399 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009809, allocations: 0 / 399 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.009891, allocations: 31.91 kB / 399.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.009893, allocations: 0 / 399.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.009903, allocations: 4 kB / 399.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.009905, allocations: 3.938 kB / 399.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009907, allocations: 0 / 399.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.01019, allocations: 333.6 kB / 399.4 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.01021, allocations: 27.83 kB / 399.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.01023, allocations: 8 kB / 399.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.01029, allocations: 15.92 kB / 399.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.01033, allocations: 7.984 kB / 399.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.01033, allocations: 0 / 399.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.01042, allocations: 160.3 kB / 399.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01042, allocations: 0 / 399.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000233/0.01065, allocations: 91.8 kB / 399.7 MB, free: 13.53 MB / 330.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.0004053/0.01105, allocations: 280.3 kB / 400 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.01128, allocations: 147.9 kB / 400.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01129, allocations: 0 / 400.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.508e-05/0.01136, allocations: 59.91 kB / 400.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.01151, allocations: 11.06 kB / 400.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.01202, allocations: 391.9 kB / 400.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.52e-05/0.01209, allocations: 112.1 kB / 400.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.01213, allocations: 16.5 kB / 400.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01213, allocations: 0 / 400.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of Templates: time 0.003557/0.01568, allocations: 3.473 MB / 404.2 MB, free: 9.039 MB / 330.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 > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.041721462272108]