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.000705/0.000705, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001804, 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.0007129/0.0007129, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001758, 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.8782/0.8782, allocations: 177.2 MB / 189.7 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07091/0.9491, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.0293/0.0293, allocations: 5.893 MB / 250 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003195/0.0325, allocations: 2.12 MB / 252.2 MB, free: 7.156 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.372e-06/1.372e-06, allocations: 0 / 253.4 MB, free: 5.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.376e-06/9.748e-06, allocations: 2.312 kB / 253.4 MB, free: 5.875 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter): time 0.001814/0.001824, allocations: 1.842 MB / 255.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.003077, allocations: 1.236 MB / 256.5 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.003132, allocations: 4 kB / 256.5 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.003171, allocations: 15.75 kB / 256.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.753e-05/0.003249, allocations: 31.72 kB / 256.6 MB, free: 2.723 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.0004916/0.00374, allocations: 266.9 kB / 256.8 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.003863, allocations: 139.5 kB / 257 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.723e-05/0.00393, allocations: 30.42 kB / 257 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.004036, allocations: 112.3 kB / 257.1 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.004304, allocations: 77.88 kB / 257.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.004327, allocations: 12 kB / 257.2 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.004711, allocations: 347.2 kB / 257.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.00475, allocations: 23.88 kB / 257.6 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.004785, allocations: 31.94 kB / 257.6 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.00508, allocations: 271.1 kB / 257.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.005091, allocations: 3.938 kB / 257.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005091, allocations: 0 / 257.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.005098, allocations: 0 / 257.9 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.0005338/0.005631, allocations: 479.1 kB / 258.3 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.518e-05/0.005657, allocations: 8.031 kB / 258.3 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.005813, allocations: 114 kB / 258.4 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.005944, allocations: 170 kB / 258.6 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.005956, allocations: 8.375 kB / 258.6 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.005974, allocations: 12.38 kB / 258.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.006112, allocations: 132.2 kB / 258.8 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.006118, allocations: 0 / 258.8 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.006126, allocations: 4 kB / 258.8 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.006146, allocations: 11.98 kB / 258.8 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.734e-05/0.006183, allocations: 22.02 kB / 258.8 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.00653, allocations: 266.9 kB / 259.1 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.006636, allocations: 106.4 kB / 259.2 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.006662, allocations: 24.86 kB / 259.2 MB, free: 0 / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.006682, allocations: 7.984 kB / 259.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.58e-05/0.006778, allocations: 82.06 kB / 259.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.006779, allocations: 0 / 259.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001322/0.006911, allocations: 89.66 kB / 259.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.006943, allocations: 63.34 kB / 259.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.007037, allocations: 190.3 kB / 259.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.007058, allocations: 37.7 kB / 259.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.0071, allocations: 116.5 kB / 259.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.007127, allocations: 43.62 kB / 259.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.007175, allocations: 49.67 kB / 259.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.007255, allocations: 342.7 kB / 260.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.678e-05/0.007292, allocations: 27.05 kB / 260.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.074e-05/0.007342, allocations: 74.69 kB / 260.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.656e-05/0.007419, allocations: 84.22 kB / 260.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007421, allocations: 0 / 260.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001178/0.007539, allocations: 125.6 kB / 260.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.007549, allocations: 4 kB / 260.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.007554, allocations: 0 / 260.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.007562, allocations: 7.984 kB / 260.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.007733, allocations: 71.41 kB / 260.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.007736, allocations: 3.938 kB / 260.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.007781, allocations: 19.84 kB / 260.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.007792, allocations: 8 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.767e-05/0.007859, allocations: 129.6 kB / 260.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.007874, allocations: 15.98 kB / 260.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.007912, allocations: 21.47 kB / 260.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.007915, allocations: 4 kB / 260.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.007918, allocations: 3.938 kB / 260.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.007921, allocations: 7.984 kB / 260.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.008123, allocations: 302.7 kB / 261.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.008124, allocations: 0 / 261.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.008233, allocations: 35.91 kB / 261.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.00825, allocations: 19.86 kB / 261.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008252, allocations: 3.938 kB / 261.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.008261, allocations: 0 / 261.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.008264, allocations: 3.984 kB / 261.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008264, allocations: 0 / 261.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.008423, allocations: 257.3 kB / 261.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.008441, allocations: 11.94 kB / 261.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.839e-05/0.008489, allocations: 8 kB / 261.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.008518, allocations: 11.97 kB / 261.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.008522, allocations: 0 / 261.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.008567, allocations: 62.12 kB / 261.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008567, allocations: 0 / 261.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.008777, allocations: 87.8 kB / 261.6 MB, free: 13.47 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.0004515/0.009229, allocations: 317.4 kB / 261.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.009381, allocations: 79.83 kB / 262 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.009388, allocations: 8 kB / 262 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.009465, allocations: 44.88 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.0001596/0.009624, allocations: 117 kB / 262.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.01016, allocations: 350.5 kB / 262.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.0102, allocations: 71.83 kB / 262.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.01025, allocations: 25.47 kB / 262.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.01032, allocations: 71.38 kB / 262.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01032, allocations: 0 / 262.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Templates: time 0.004699/0.01502, allocations: 3.411 MB / 266 MB, free: 9.039 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.164482466876507]