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.0007516/0.0007516, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002107, allocations: 451.9 kB / 10.44 MB, free: 252 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.0007768/0.0007768, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001902, allocations: 475.5 kB / 11.81 MB, free: 2.359 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.9954/0.9954, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1184/1.114, 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.02687/0.02687, allocations: 5.889 MB / 250 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003131/0.03, allocations: 2.117 MB / 252.2 MB, free: 7.148 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.222e-06/1.222e-06, allocations: 0 / 253.4 MB, free: 5.891 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.44e-05, allocations: 6.312 kB / 253.4 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter): time 0.001861/0.001875, allocations: 1.85 MB / 255.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.003277, allocations: 1.232 MB / 256.5 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.003334, allocations: 0 / 256.5 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.003374, allocations: 19.8 kB / 256.5 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.003454, allocations: 31.67 kB / 256.6 MB, free: 2.727 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.0004904/0.003944, allocations: 270.8 kB / 256.8 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.004065, allocations: 143.5 kB / 257 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.549e-05/0.004131, allocations: 18.45 kB / 257 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.004243, allocations: 120.3 kB / 257.1 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.004486, allocations: 74.12 kB / 257.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.004509, allocations: 16 kB / 257.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.004878, allocations: 331.3 kB / 257.5 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.00492, allocations: 31.88 kB / 257.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.004955, allocations: 27.94 kB / 257.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.005275, allocations: 279 kB / 257.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.526e-05/0.005291, allocations: 4 kB / 257.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005291, allocations: 0 / 257.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.005302, allocations: 0 / 257.8 MB, free: 1.445 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.0005801/0.005882, allocations: 475.1 kB / 258.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.629e-05/0.005908, allocations: 8.031 kB / 258.3 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.006096, allocations: 113.9 kB / 258.4 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.006231, allocations: 173.9 kB / 258.6 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.006244, allocations: 12.38 kB / 258.6 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.006261, allocations: 8.375 kB / 258.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.006402, allocations: 135.5 kB / 258.8 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.006409, allocations: 0 / 258.8 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.006418, allocations: 4 kB / 258.8 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.006436, allocations: 7.938 kB / 258.8 MB, free: 452 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.912e-05/0.006475, allocations: 26.81 kB / 258.8 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.006831, allocations: 259 kB / 259 MB, free: 148 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.006932, allocations: 102.5 kB / 259.1 MB, free: 36 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.006958, allocations: 24.83 kB / 259.2 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.006965, allocations: 0 / 259.2 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.00713, allocations: 90.06 kB / 259.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.013e-06/0.007132, allocations: 7.922 kB / 259.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001332/0.007265, allocations: 93.66 kB / 259.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.007295, allocations: 55.41 kB / 259.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.445e-05/0.007389, allocations: 198.3 kB / 259.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.007408, allocations: 33.7 kB / 259.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.00745, allocations: 116.5 kB / 259.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.007487, allocations: 43.62 kB / 259.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.007536, allocations: 49.66 kB / 259.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.007606, allocations: 338.7 kB / 260.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.007641, allocations: 23.06 kB / 260.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.331e-05/0.007694, allocations: 86.59 kB / 260.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/0.007773, allocations: 88.22 kB / 260.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007775, allocations: 0 / 260.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00012/0.007895, allocations: 125.6 kB / 260.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.007906, allocations: 4 kB / 260.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007911, allocations: 0 / 260.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.007918, allocations: 0 / 260.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.008091, allocations: 67.83 kB / 260.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.008096, allocations: 8 kB / 260.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.00814, allocations: 23.84 kB / 260.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.00815, allocations: 4 kB / 260.6 MB, free: 14.48 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 6.78e-05/0.008218, allocations: 129.7 kB / 260.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.008233, allocations: 11.98 kB / 260.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.008274, allocations: 21.47 kB / 260.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.008277, allocations: 4 kB / 260.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.008279, allocations: 3.938 kB / 260.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.008283, allocations: 3.984 kB / 260.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.0086, allocations: 306.7 kB / 261.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008601, allocations: 0 / 261.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.008711, allocations: 38.33 kB / 261.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.008728, allocations: 19.86 kB / 261.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.00873, allocations: 3.938 kB / 261.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.008739, allocations: 3.984 kB / 261.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.00874, allocations: 0 / 261.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008741, allocations: 0 / 261.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.008896, allocations: 258.1 kB / 261.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.008914, allocations: 7.938 kB / 261.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.008965, allocations: 12 kB / 261.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.008993, allocations: 11.97 kB / 261.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.008998, allocations: 0 / 261.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.00904, allocations: 62.17 kB / 261.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00904, allocations: 0 / 261.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.009235, allocations: 91.78 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.0004598/0.009695, allocations: 310.9 kB / 261.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.009811, allocations: 80.69 kB / 261.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.009818, allocations: 8 kB / 261.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.009862, allocations: 36.78 kB / 262 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.009993, allocations: 32.02 kB / 262 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.01055, allocations: 372.2 kB / 262.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.332e-05/0.01062, allocations: 116.1 kB / 262.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.01069, allocations: 75.36 kB / 262.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01069, allocations: 0 / 262.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of Templates: time 0.003474/0.01417, allocations: 3.48 MB / 266 MB, free: 8.973 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 > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.874100336804986]