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.001919/0.001919, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 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.002003/0.002003, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.626/1.626, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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.05657/0.05657, allocations: 5.876 MB / 265.1 MB, free: 7.766 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.674e-06/1.674e-06, allocations: 0 / 391.6 MB, free: 5.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.391e-05, allocations: 2.281 kB / 391.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter): time 0.00725/0.007274, allocations: 1.748 MB / 393.4 MB, free: 3.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005926/0.0132, allocations: 1.169 MB / 394.5 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.01328, allocations: 0 / 394.5 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.01339, allocations: 15.75 kB / 394.5 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.01358, allocations: 31.67 kB / 394.6 MB, free: 2.121 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.001026/0.01461, allocations: 294.9 kB / 394.9 MB, free: 1.832 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003269/0.01788, allocations: 139.5 kB / 395 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.018, allocations: 33.77 kB / 395 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.01815, allocations: 83.73 kB / 395.1 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005898/0.01874, allocations: 56.58 kB / 395.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.01878, allocations: 12 kB / 395.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007265/0.01951, allocations: 311.2 kB / 395.5 MB, free: 1.211 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.01958, allocations: 43.83 kB / 395.5 MB, free: 1.168 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.01967, allocations: 43.83 kB / 395.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007156/0.02039, allocations: 358.9 kB / 395.9 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.02039, allocations: 0 / 395.9 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.02039, allocations: 0 / 395.9 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.0204, allocations: 4 kB / 395.9 MB, free: 0.7695 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.00404/0.02444, allocations: 448.8 kB / 396.4 MB, free: 308 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.02447, allocations: 11.97 kB / 396.4 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.02476, allocations: 32.78 kB / 396.4 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.025, allocations: 165.2 kB / 396.6 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.02502, allocations: 4.375 kB / 396.6 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.02507, allocations: 16.36 kB / 396.6 MB, free: 52 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.02548, allocations: 160.8 kB / 396.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.02549, allocations: 0 / 396.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.02552, allocations: 8 kB / 396.8 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.02553, allocations: 0 / 396.8 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.02581, allocations: 71.89 kB / 396.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.0274, allocations: 364.3 kB / 397.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.02783, allocations: 126.7 kB / 397.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.02801, allocations: 56.81 kB / 397.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.02803, allocations: 0 / 397.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.02833, allocations: 111.3 kB / 397.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.02833, allocations: 0 / 397.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007078/0.02904, allocations: 222.8 kB / 397.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/0.02914, allocations: 89.05 kB / 397.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.02945, allocations: 207 kB / 398 MB, free: 14.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.0295, allocations: 41.69 kB / 398 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.02962, allocations: 116.6 kB / 398.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.0297, allocations: 51.62 kB / 398.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.02983, allocations: 49.69 kB / 398.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.03005, allocations: 330.8 kB / 398.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.03029, allocations: 72.19 kB / 398.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.03061, allocations: 150.6 kB / 398.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.03106, allocations: 162.6 kB / 398.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.03107, allocations: 0 / 398.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006497/0.03172, allocations: 240.3 kB / 399.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.03173, allocations: 7.984 kB / 399.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.03174, allocations: 4 kB / 399.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.03176, allocations: 4.062 kB / 399.2 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.03203, allocations: 35.98 kB / 399.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.03205, allocations: 11.88 kB / 399.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.03221, allocations: 19.88 kB / 399.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.03223, allocations: 8 kB / 399.2 MB, free: 13.24 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 0.0001816/0.03241, allocations: 130.6 kB / 399.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.03247, allocations: 23.84 kB / 399.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.03252, allocations: 21.47 kB / 399.4 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.03252, allocations: 7.938 kB / 399.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.03253, allocations: 3.938 kB / 399.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.03253, allocations: 0 / 399.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008061/0.03334, allocations: 407 kB / 399.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.03334, allocations: 0 / 399.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.03358, allocations: 27.98 kB / 399.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.03358, allocations: 4 kB / 399.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.0336, allocations: 0 / 399.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.03361, allocations: 7.922 kB / 399.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03361, allocations: 4 kB / 399.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.03439, allocations: 339.9 kB / 400.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.03443, allocations: 19.86 kB / 400.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.03447, allocations: 4 kB / 400.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.03467, allocations: 11.97 kB / 400.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.03472, allocations: 11.98 kB / 400.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.03474, allocations: 8 kB / 400.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.03495, allocations: 152.4 kB / 400.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.03495, allocations: 4 kB / 400.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005893/0.03554, allocations: 91.73 kB / 400.5 MB, free: 11.93 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.001025/0.03657, allocations: 276.1 kB / 400.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005496/0.03712, allocations: 147.9 kB / 400.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.03712, allocations: 4 kB / 400.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.03732, allocations: 59.84 kB / 401 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.03768, allocations: 10.84 kB / 401 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.03877, allocations: 358.3 kB / 401.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.03899, allocations: 112.1 kB / 401.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.0391, allocations: 21.48 kB / 401.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.03916, allocations: 16.5 kB / 401.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03916, allocations: 0 / 401.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of Templates: time 0.0103/0.04946, allocations: 2.888 MB / 404.4 MB, free: 8.074 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.237828086828813]