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.001823/0.001823, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001958/0.001958, allocations: 218.4 kB / 22.25 MB, free: 3.566 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 1.743/1.743, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.0572/0.0572, allocations: 7.626 MB / 320 MB, free: 10.78 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.003892/0.003892, allocations: 77.06 kB / 446.5 MB, free: 40.39 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1231, allocations: 55.07 MB / 0.4898 GB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter): time 0.00383/0.1269, allocations: 1.731 MB / 0.4915 GB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.1296, allocations: 1.181 MB / 0.4927 GB, free: 14.31 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.677e-05/0.1297, allocations: 0 / 0.4927 GB, free: 14.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.1298, allocations: 19.73 kB / 0.4927 GB, free: 14.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.13, allocations: 27.75 kB / 0.4927 GB, free: 14.26 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.0008928/0.1309, allocations: 295.1 kB / 0.493 GB, free: 13.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.1311, allocations: 135.6 kB / 0.4931 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1312, allocations: 25.73 kB / 0.4931 GB, free: 13.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.1313, allocations: 67.64 kB / 0.4932 GB, free: 13.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005623/0.1319, allocations: 68.11 kB / 0.4933 GB, free: 13.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1319, allocations: 16 kB / 0.4933 GB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006128/0.1325, allocations: 311.4 kB / 0.4936 GB, free: 13.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.1326, allocations: 31.91 kB / 0.4936 GB, free: 13.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.447e-05/0.1327, allocations: 63.53 kB / 0.4937 GB, free: 13.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005675/0.1332, allocations: 318.8 kB / 0.494 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.341e-06/0.1332, allocations: 4 kB / 0.494 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1332, allocations: 0 / 0.494 GB, free: 12.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1333, allocations: 0 / 0.494 GB, free: 12.95 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.000927/0.1342, allocations: 452.9 kB / 0.4944 GB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1342, allocations: 12.03 kB / 0.4944 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.1344, allocations: 28.83 kB / 0.4944 GB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.1347, allocations: 165.9 kB / 0.4946 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.1347, allocations: 12.36 kB / 0.4946 GB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-05/0.1347, allocations: 16.12 kB / 0.4946 GB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.1351, allocations: 155.2 kB / 0.4948 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1351, allocations: 0 / 0.4948 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.1351, allocations: 7.984 kB / 0.4948 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1351, allocations: 0 / 0.4948 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.1353, allocations: 71.95 kB / 0.4949 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008576/0.1362, allocations: 368.2 kB / 0.4952 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.1366, allocations: 118.6 kB / 0.4953 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.1367, allocations: 56.88 kB / 0.4954 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1367, allocations: 0 / 0.4954 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.137, allocations: 115.3 kB / 0.4955 GB, free: 11.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.137, allocations: 4 kB / 0.4955 GB, free: 11.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005702/0.1375, allocations: 219.7 kB / 0.4957 GB, free: 11.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/0.1376, allocations: 89.05 kB / 0.4958 GB, free: 10.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.1379, allocations: 206.9 kB / 0.496 GB, free: 10.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.138, allocations: 37.7 kB / 0.496 GB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.1382, allocations: 132.4 kB / 0.4961 GB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.1383, allocations: 47.64 kB / 0.4962 GB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.706e-05/0.1384, allocations: 45.7 kB / 0.4962 GB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.1386, allocations: 334.8 kB / 0.4965 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.1388, allocations: 72.19 kB / 0.4966 GB, free: 10.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1391, allocations: 128.7 kB / 0.4967 GB, free: 9.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.1394, allocations: 169 kB / 0.4969 GB, free: 9.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1394, allocations: 3.938 kB / 0.4969 GB, free: 9.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005038/0.1399, allocations: 239.2 kB / 0.4971 GB, free: 9.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.14, allocations: 4 kB / 0.4971 GB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.14, allocations: 7.938 kB / 0.4971 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.14, allocations: 0 / 0.4971 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.1403, allocations: 43.91 kB / 0.4972 GB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1403, allocations: 11.92 kB / 0.4972 GB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.1404, allocations: 19.92 kB / 0.4972 GB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.1404, allocations: 11.98 kB / 0.4972 GB, free: 9.41 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 0.0001972/0.1406, allocations: 130.7 kB / 0.4974 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.1407, allocations: 19.91 kB / 0.4974 GB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/0.1407, allocations: 25.39 kB / 0.4974 GB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1407, allocations: 0 / 0.4974 GB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1407, allocations: 0 / 0.4974 GB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1407, allocations: 0 / 0.4974 GB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006971/0.1414, allocations: 410 kB / 0.4978 GB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1414, allocations: 3.984 kB / 0.4978 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.1416, allocations: 35.86 kB / 0.4978 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1416, allocations: 0 / 0.4978 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.868e-05/0.1416, allocations: 4 kB / 0.4978 GB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1416, allocations: 0 / 0.4978 GB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1416, allocations: 0 / 0.4978 GB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.1425, allocations: 333.8 kB / 0.4981 GB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.1425, allocations: 23.88 kB / 0.4982 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.1425, allocations: 8 kB / 0.4982 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1427, allocations: 7.984 kB / 0.4982 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.1427, allocations: 11.98 kB / 0.4982 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1428, allocations: 4 kB / 0.4982 GB, free: 8.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.1429, allocations: 148.4 kB / 0.4983 GB, free: 8.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1429, allocations: 0 / 0.4983 GB, free: 8.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004714/0.1434, allocations: 91.73 kB / 0.4984 GB, free: 8.117 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.0008425/0.1442, allocations: 279.6 kB / 0.4987 GB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.1447, allocations: 147.9 kB / 0.4988 GB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1447, allocations: 4.062 kB / 0.4988 GB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1448, allocations: 51.97 kB / 0.4989 GB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1451, allocations: 11.38 kB / 0.4989 GB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/0.146, allocations: 376.9 kB / 0.4993 GB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.1462, allocations: 116 kB / 0.4994 GB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.74e-05/0.1462, allocations: 17.42 kB / 0.4994 GB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.1463, allocations: 19.42 kB / 0.4994 GB, free: 7.098 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1463, allocations: 0 / 0.4994 GB, free: 7.098 MB / 362.7 MB Notification: Performance of Templates: time 0.008642/0.1549, allocations: 2.964 MB / 0.5023 GB, free: 4.18 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlStrategies.LeadLagFilter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.502271445933729]