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.0007376/0.0007376, allocations: 112.3 kB / 19.71 MB, free: 432 kB / 13.93 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.0008701/0.0008701, allocations: 212.4 kB / 23 MB, free: 2.961 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.9586/0.9586, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.02883/0.02883, allocations: 7.618 MB / 320.8 MB, free: 10.68 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 0.001486/0.001486, allocations: 74.62 kB / 445.7 MB, free: 41.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08844, allocations: 55.07 MB / 0.489 GB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter): time 0.002109/0.09055, allocations: 1.741 MB / 0.4907 GB, free: 324 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.09199, allocations: 1.173 MB / 0.4919 GB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.09206, allocations: 0 / 0.4919 GB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.818e-05/0.09215, allocations: 19.73 kB / 0.4919 GB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.09231, allocations: 31.72 kB / 0.4919 GB, free: 15.08 MB / 362.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.0005902/0.0929, allocations: 291.1 kB / 0.4922 GB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.09303, allocations: 131.7 kB / 0.4923 GB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.09314, allocations: 25.8 kB / 0.4924 GB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.09319, allocations: 63.66 kB / 0.4924 GB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.09359, allocations: 71.88 kB / 0.4925 GB, free: 14.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.09361, allocations: 12 kB / 0.4925 GB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.09396, allocations: 315.4 kB / 0.4928 GB, free: 14.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.09401, allocations: 39.84 kB / 0.4928 GB, free: 14.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.09406, allocations: 55.59 kB / 0.4929 GB, free: 14.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.09443, allocations: 318.9 kB / 0.4932 GB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.09444, allocations: 0 / 0.4932 GB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09444, allocations: 3.938 kB / 0.4932 GB, free: 13.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.09444, allocations: 4 kB / 0.4932 GB, free: 13.78 MB / 362.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.0006021/0.09505, allocations: 460.8 kB / 0.4936 GB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.09508, allocations: 8.031 kB / 0.4937 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.09522, allocations: 32.83 kB / 0.4937 GB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.09535, allocations: 162 kB / 0.4938 GB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.09537, allocations: 4.375 kB / 0.4938 GB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.0954, allocations: 20.12 kB / 0.4939 GB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.09561, allocations: 164.2 kB / 0.494 GB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.09562, allocations: 0 / 0.494 GB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.09563, allocations: 4 kB / 0.494 GB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.09564, allocations: 4 kB / 0.494 GB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.09575, allocations: 67.95 kB / 0.4941 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.09626, allocations: 364.2 kB / 0.4944 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.09646, allocations: 114.7 kB / 0.4945 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.09653, allocations: 60.81 kB / 0.4946 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.09654, allocations: 0 / 0.4946 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.0967, allocations: 119.2 kB / 0.4947 GB, free: 12.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.0967, allocations: 0 / 0.4947 GB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000322/0.09703, allocations: 228 kB / 0.4949 GB, free: 11.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.09708, allocations: 85.05 kB / 0.495 GB, free: 11.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.09721, allocations: 203 kB / 0.4952 GB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.09723, allocations: 41.69 kB / 0.4952 GB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.09729, allocations: 124.4 kB / 0.4954 GB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.09733, allocations: 47.64 kB / 0.4954 GB, free: 11.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.09738, allocations: 49.7 kB / 0.4955 GB, free: 11.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.09747, allocations: 334.8 kB / 0.4958 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-05/0.09756, allocations: 80.19 kB / 0.4959 GB, free: 10.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.09767, allocations: 124.7 kB / 0.496 GB, free: 10.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.09785, allocations: 164.9 kB / 0.4961 GB, free: 10.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.09785, allocations: 0 / 0.4961 GB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002538/0.09811, allocations: 247.1 kB / 0.4964 GB, free: 10.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.09812, allocations: 5.719 kB / 0.4964 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.09813, allocations: 8 kB / 0.4964 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.09814, allocations: 4 kB / 0.4964 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.09826, allocations: 39.91 kB / 0.4964 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.09827, allocations: 4 kB / 0.4964 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.09833, allocations: 19.83 kB / 0.4964 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.09835, allocations: 11.98 kB / 0.4965 GB, free: 10.24 MB / 362.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 9.484e-05/0.09844, allocations: 138.6 kB / 0.4966 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.09846, allocations: 15.91 kB / 0.4966 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.09849, allocations: 29.33 kB / 0.4966 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.09849, allocations: 4 kB / 0.4966 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.0985, allocations: 0 / 0.4966 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.0985, allocations: 0 / 0.4966 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.09884, allocations: 402.1 kB / 0.497 GB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.09885, allocations: 0 / 0.497 GB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.792e-05/0.09893, allocations: 31.86 kB / 0.4971 GB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.09894, allocations: 4 kB / 0.4971 GB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.09895, allocations: 0 / 0.4971 GB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.09895, allocations: 0 / 0.4971 GB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.09895, allocations: 4 kB / 0.4971 GB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.09924, allocations: 339.3 kB / 0.4974 GB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.09926, allocations: 15.84 kB / 0.4974 GB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.09928, allocations: 7.938 kB / 0.4974 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.636e-05/0.09935, allocations: 11.98 kB / 0.4974 GB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.09939, allocations: 7.984 kB / 0.4974 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.0994, allocations: 4 kB / 0.4974 GB, free: 9.184 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.098e-05/0.09948, allocations: 148.4 kB / 0.4976 GB, free: 9.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09948, allocations: 4 kB / 0.4976 GB, free: 9.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.09973, allocations: 87.8 kB / 0.4977 GB, free: 8.949 MB / 362.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.0004605/0.1002, allocations: 279.7 kB / 0.4979 GB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1004, allocations: 151.9 kB / 0.4981 GB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1004, allocations: 0 / 0.4981 GB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.1005, allocations: 51.97 kB / 0.4981 GB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.1007, allocations: 12 kB / 0.4981 GB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.1013, allocations: 406.6 kB / 0.4985 GB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.294e-05/0.1013, allocations: 112 kB / 0.4986 GB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.1014, allocations: 15.44 kB / 0.4986 GB, free: 7.914 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1014, allocations: 0 / 0.4986 GB, free: 7.914 MB / 362.7 MB Notification: Performance of Templates: time 0.00403/0.1054, allocations: 3.448 MB / 0.502 GB, free: 4.469 MB / 362.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.147967200726271]