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.0006868/0.0006868, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009279/0.001615, allocations: 443.9 kB / 10.36 MB, free: 332 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.000732/0.000732, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009315/0.001663, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9793/0.9793, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08977/1.069, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.03662/0.03662, allocations: 5.891 MB / 249.9 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00365/0.04027, allocations: 2.117 MB / 252 MB, free: 7.223 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.243e-06/1.243e-06, allocations: 0 / 253.3 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.18e-05, allocations: 5.969 kB / 253.3 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter): time 0.001886/0.001898, allocations: 1.838 MB / 255.1 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.003251, allocations: 1.235 MB / 256.4 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.00331, allocations: 3.938 kB / 256.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.003353, allocations: 15.81 kB / 256.4 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.601e-05/0.003439, allocations: 27.73 kB / 256.4 MB, free: 2.828 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.0005469/0.003986, allocations: 266.9 kB / 256.7 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.004115, allocations: 139.5 kB / 256.8 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.676e-05/0.004191, allocations: 26.44 kB / 256.8 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.004307, allocations: 112.3 kB / 257 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.004569, allocations: 78.59 kB / 257 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.004593, allocations: 12 kB / 257 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.005085, allocations: 335.2 kB / 257.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.005123, allocations: 19.94 kB / 257.4 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.00516, allocations: 35.88 kB / 257.4 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.005466, allocations: 275.1 kB / 257.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.005475, allocations: 0 / 257.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005476, allocations: 0 / 257.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.005489, allocations: 0 / 257.7 MB, free: 1.559 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.0005679/0.006057, allocations: 479.1 kB / 258.2 MB, free: 1.066 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.006086, allocations: 8.031 kB / 258.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.006258, allocations: 114 kB / 258.3 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.006396, allocations: 173.9 kB / 258.4 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.006408, allocations: 8.375 kB / 258.5 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.006427, allocations: 12.38 kB / 258.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.006578, allocations: 128.3 kB / 258.6 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.006584, allocations: 0 / 258.6 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.006596, allocations: 7.984 kB / 258.6 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.006617, allocations: 4 kB / 258.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.006663, allocations: 30.75 kB / 258.6 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.007055, allocations: 263 kB / 258.9 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.007168, allocations: 106.4 kB / 259 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.007195, allocations: 20.86 kB / 259 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.007205, allocations: 4 kB / 259 MB, free: 112 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.007323, allocations: 85.64 kB / 259.1 MB, free: 16 kB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.007324, allocations: 0 / 259.1 MB, free: 16 kB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001564/0.007481, allocations: 93.7 kB / 259.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.007509, allocations: 55.41 kB / 259.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.007606, allocations: 198.3 kB / 259.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.007624, allocations: 33.7 kB / 259.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.007669, allocations: 120.5 kB / 259.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.0077, allocations: 43.62 kB / 259.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.007745, allocations: 45.67 kB / 259.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.007823, allocations: 342.7 kB / 260 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.007863, allocations: 31.05 kB / 260 MB, free: 15.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.007915, allocations: 74.69 kB / 260.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.007992, allocations: 88.16 kB / 260.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007994, allocations: 0 / 260.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001173/0.008111, allocations: 122.3 kB / 260.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.008125, allocations: 8 kB / 260.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.008131, allocations: 3.984 kB / 260.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.008143, allocations: 0 / 260.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.008323, allocations: 55.97 kB / 260.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.008327, allocations: 12 kB / 260.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.008372, allocations: 23.66 kB / 260.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.008383, allocations: 11.94 kB / 260.4 MB, free: 14.59 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.122e-05/0.008454, allocations: 121.7 kB / 260.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.008469, allocations: 11.98 kB / 260.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.008495, allocations: 21.47 kB / 260.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.0085, allocations: 7.969 kB / 260.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.008501, allocations: 0 / 260.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.008517, allocations: 19.84 kB / 260.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.008524, allocations: 4 kB / 260.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.008541, allocations: 8 kB / 260.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.008572, allocations: 7.984 kB / 260.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.008605, allocations: 7.984 kB / 260.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001906/0.008796, allocations: 220.8 kB / 260.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001995/0.008995, allocations: 328.5 kB / 261.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.481e-05/0.00904, allocations: 44.05 kB / 261.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.00908, allocations: 54.17 kB / 261.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of Backend: time 2.41e-07/0.00908, allocations: 0 / 261.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00081/0.00989, allocations: 362.2 kB / 261.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of SimCode: time 0.0007258/0.01062, allocations: 0.8447 MB / 262.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Templates: time 0.005368/0.01598, allocations: 3.67 MB / 266.1 MB, free: 8.914 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 -s=ida > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6364142755046487]