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.001636/0.001636, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001802, allocations: 62.77 kB / 307.6 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1121, allocations: 50.53 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003694/0.1158, allocations: 1.66 MB / 359.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.1184, allocations: 1.241 MB / 361.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1186, allocations: 8 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.119, allocations: 31.78 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.1192, allocations: 43.7 kB / 361.2 MB, free: 11.07 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.001035/0.1202, allocations: 291.1 kB / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.1205, allocations: 179.6 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1207, allocations: 21.08 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.1209, allocations: 91.67 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007815/0.1217, allocations: 98.66 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.1218, allocations: 16 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006417/0.1225, allocations: 267.5 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1226, allocations: 51.83 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1227, allocations: 71.58 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.1234, allocations: 331.4 kB / 362.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1234, allocations: 4 kB / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1234, allocations: 0 / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1235, allocations: 0 / 362.6 MB, free: 9.676 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.001607/0.1251, allocations: 0.5493 MB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.1251, allocations: 8.031 kB / 363.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.1255, allocations: 36.64 kB / 363.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.1262, allocations: 272.7 kB / 363.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1262, allocations: 8.359 kB / 363.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.1263, allocations: 16.12 kB / 363.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.1266, allocations: 93.64 kB / 363.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1266, allocations: 4 kB / 363.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1266, allocations: 7.984 kB / 363.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1266, allocations: 0 / 363.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.1269, allocations: 79.94 kB / 363.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.1281, allocations: 448.5 kB / 364.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.1285, allocations: 126.4 kB / 364.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1287, allocations: 60.83 kB / 364.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1287, allocations: 0 / 364.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.1291, allocations: 123.4 kB / 364.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.1291, allocations: 0 / 364.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007336/0.1298, allocations: 229.5 kB / 364.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.1299, allocations: 59.34 kB / 364.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/0.1305, allocations: 247.7 kB / 364.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.1305, allocations: 41.69 kB / 364.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1307, allocations: 124.2 kB / 365 MB, free: 6.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.162e-05/0.1308, allocations: 43.39 kB / 365.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.1309, allocations: 45.7 kB / 365.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.1311, allocations: 338.8 kB / 365.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1314, allocations: 79.95 kB / 365.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1316, allocations: 106 kB / 365.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.1321, allocations: 186.5 kB / 365.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1321, allocations: 0 / 365.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000647/0.1327, allocations: 253.3 kB / 366.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1328, allocations: 7.984 kB / 366.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1328, allocations: 3.938 kB / 366.1 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.1328, allocations: 4 kB / 366.1 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.1331, allocations: 27.92 kB / 366.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.1331, allocations: 4 kB / 366.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.1334, allocations: 31.91 kB / 366.1 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1334, allocations: 8 kB / 366.2 MB, free: 5.832 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.0001952/0.1336, allocations: 141.7 kB / 366.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1337, allocations: 15.81 kB / 366.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.318e-05/0.1338, allocations: 25.45 kB / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1338, allocations: 4 kB / 366.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1338, allocations: 0 / 366.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1338, allocations: 4 kB / 366.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.1342, allocations: 241.5 kB / 366.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1342, allocations: 0 / 366.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.1343, allocations: 19.98 kB / 366.6 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1343, allocations: 3.938 kB / 366.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.1344, allocations: 3.938 kB / 366.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1344, allocations: 4 kB / 366.6 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1344, allocations: 0 / 366.6 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/0.1352, allocations: 279.5 kB / 366.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.1353, allocations: 112.9 kB / 367 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.1354, allocations: 11.94 kB / 367 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.1356, allocations: 15.97 kB / 367 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.1357, allocations: 7.984 kB / 367 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1357, allocations: 4 kB / 367 MB, free: 4.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000456/0.1362, allocations: 189.5 kB / 367.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1362, allocations: 4 kB / 367.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005992/0.1368, allocations: 83.89 kB / 367.3 MB, free: 4.598 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.0009426/0.1378, allocations: 267.6 kB / 367.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007134/0.1385, allocations: 179.3 kB / 367.7 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1385, allocations: 0 / 367.7 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.1387, allocations: 71.97 kB / 367.8 MB, free: 4.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1391, allocations: 19.92 kB / 367.8 MB, free: 4.094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009977/0.1401, allocations: 383.5 kB / 368.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.1405, allocations: 0.7241 MB / 368.9 MB, free: 2.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.1406, allocations: 19.44 kB / 368.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1406, allocations: 3.938 kB / 369 MB, free: 2.91 MB / 302.1 MB Notification: Performance of Templates: time 0.1779/0.3185, allocations: 3.514 MB / 372.5 MB, free: 19.91 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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches