Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 58.22 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1208, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003027/0.1239, allocations: 1.649 MB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.126, allocations: 1.249 MB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.79e-05/0.1261, allocations: 0 / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1265, allocations: 35.78 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1266, allocations: 43.7 kB / 361.9 MB, free: 10.36 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0007193/0.1273, allocations: 287.1 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1275, allocations: 179.5 kB / 362.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.1276, allocations: 29.05 kB / 362.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.1278, allocations: 87.67 kB / 362.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.1284, allocations: 98.66 kB / 362.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.1284, allocations: 12 kB / 362.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.1288, allocations: 271.6 kB / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.1289, allocations: 59.8 kB / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.129, allocations: 67.53 kB / 362.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.1295, allocations: 327.1 kB / 363.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1295, allocations: 0 / 363.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1295, allocations: 0 / 363.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1295, allocations: 4 kB / 363.3 MB, free: 8.965 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001141/0.1306, allocations: 0.5571 MB / 363.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.1307, allocations: 8.031 kB / 363.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.1309, allocations: 40.64 kB / 363.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.1314, allocations: 272.8 kB / 364.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1314, allocations: 4.375 kB / 364.1 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.1315, allocations: 12.12 kB / 364.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.1317, allocations: 101.6 kB / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1317, allocations: 0 / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1317, allocations: 7.938 kB / 364.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1317, allocations: 4 kB / 364.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.1319, allocations: 75.94 kB / 364.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008098/0.1327, allocations: 452.5 kB / 364.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.133, allocations: 126.5 kB / 364.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1331, allocations: 60.81 kB / 365 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1332, allocations: 3.938 kB / 365 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.1334, allocations: 115.3 kB / 365.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.1334, allocations: 0 / 365.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004616/0.1338, allocations: 240.9 kB / 365.3 MB, free: 6.742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1339, allocations: 59.39 kB / 365.4 MB, free: 6.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.1343, allocations: 243.8 kB / 365.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1343, allocations: 37.7 kB / 365.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.1344, allocations: 120.2 kB / 365.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.1345, allocations: 43.38 kB / 365.8 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.1345, allocations: 53.69 kB / 365.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1347, allocations: 334.8 kB / 366.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1348, allocations: 79.95 kB / 366.3 MB, free: 5.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.135, allocations: 102.8 kB / 366.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.1353, allocations: 186.4 kB / 366.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1353, allocations: 4 kB / 366.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003864/0.1357, allocations: 253.3 kB / 366.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1357, allocations: 4 kB / 366.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1357, allocations: 11.88 kB / 366.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1358, allocations: 0 / 366.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.1359, allocations: 27.98 kB / 366.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.136, allocations: 3.984 kB / 366.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1361, allocations: 23.89 kB / 366.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1362, allocations: 4 kB / 366.9 MB, free: 5.117 MB / 302.1 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.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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.0001229/0.1363, allocations: 145.7 kB / 367 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1363, allocations: 19.8 kB / 367 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.1364, allocations: 29.41 kB / 367.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1364, allocations: 0 / 367.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1364, allocations: 0 / 367.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1364, allocations: 0 / 367.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.1366, allocations: 241.5 kB / 367.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1367, allocations: 0 / 367.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.1368, allocations: 19.98 kB / 367.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1368, allocations: 0 / 367.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.1368, allocations: 12.03 kB / 367.3 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1368, allocations: 11.92 kB / 367.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1368, allocations: 0 / 367.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.1373, allocations: 272.8 kB / 367.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.1374, allocations: 104.9 kB / 367.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.1374, allocations: 11.98 kB / 367.7 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1376, allocations: 23.98 kB / 367.7 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.1377, allocations: 7.984 kB / 367.7 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1377, allocations: 0 / 367.7 MB, free: 4.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002894/0.138, allocations: 192.2 kB / 367.9 MB, free: 3.957 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.138, allocations: 0 / 367.9 MB, free: 3.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1383, allocations: 87.89 kB / 368 MB, free: 3.871 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0005799/0.1389, allocations: 257.4 kB / 368.3 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.1393, allocations: 178.8 kB / 368.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1393, allocations: 0 / 368.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1394, allocations: 71.89 kB / 368.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1397, allocations: 14.66 kB / 368.5 MB, free: 3.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.1403, allocations: 345.8 kB / 368.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1406, allocations: 0.732 MB / 369.6 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.725e-05/0.1407, allocations: 33.58 kB / 369.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.1407, allocations: 15.44 kB / 369.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1407, allocations: 3.938 kB / 369.7 MB, free: 2.203 MB / 302.1 MB Notification: Performance of Templates: time 0.2247/0.3654, allocations: 3.004 MB / 372.7 MB, free: 19.64 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1)