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.00149/0.00149, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001902, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.73 kB / 306.3 MB, free: 1.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1062, allocations: 50.54 MB / 356.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003596/0.1098, allocations: 1.723 MB / 358.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1125, allocations: 1.286 MB / 359.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.1127, allocations: 0 / 359.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.1133, allocations: 31.84 kB / 359.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1135, allocations: 27.84 kB / 359.9 MB, free: 11.46 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.0009637/0.1144, allocations: 247.5 kB / 360.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.1148, allocations: 175.5 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1149, allocations: 17.06 kB / 360.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.1152, allocations: 79.67 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006744/0.1159, allocations: 98.61 kB / 360.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.116, allocations: 8 kB / 360.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006419/0.1166, allocations: 291.5 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.1168, allocations: 51.81 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.1169, allocations: 67.53 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007842/0.1177, allocations: 323.4 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1177, allocations: 0 / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1177, allocations: 0 / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.1178, allocations: 0 / 361.2 MB, free: 10.13 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.001506/0.1193, allocations: 0.5533 MB / 361.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1193, allocations: 8.031 kB / 361.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.1196, allocations: 36.58 kB / 361.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.1201, allocations: 280.7 kB / 362.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.1201, allocations: 8.375 kB / 362.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.1202, allocations: 8.125 kB / 362.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.1204, allocations: 105.6 kB / 362.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1205, allocations: 0 / 362.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1205, allocations: 0 / 362.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1205, allocations: 0 / 362.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.1207, allocations: 83.88 kB / 362.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.1217, allocations: 448.5 kB / 362.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.122, allocations: 118.5 kB / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1221, allocations: 68.81 kB / 362.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1222, allocations: 4.031 kB / 362.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.1224, allocations: 115.3 kB / 363 MB, free: 8.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/0.1224, allocations: 0 / 363 MB, free: 8.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005167/0.1229, allocations: 229.5 kB / 363.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.123, allocations: 71.33 kB / 363.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.1234, allocations: 247.8 kB / 363.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.1234, allocations: 33.7 kB / 363.6 MB, free: 7.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.1235, allocations: 120.2 kB / 363.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.1236, allocations: 47.38 kB / 363.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.1237, allocations: 45.7 kB / 363.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1238, allocations: 330.8 kB / 364.1 MB, free: 7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.124, allocations: 91.94 kB / 364.2 MB, free: 6.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1242, allocations: 106.8 kB / 364.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.1245, allocations: 186.4 kB / 364.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1245, allocations: 0 / 364.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00043/0.1249, allocations: 241.4 kB / 364.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.125, allocations: 12.03 kB / 364.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.125, allocations: 3.938 kB / 364.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.125, allocations: 0 / 364.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.1252, allocations: 39.91 kB / 364.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1252, allocations: 0 / 364.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1254, allocations: 19.89 kB / 364.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1255, allocations: 11.98 kB / 364.8 MB, free: 6.285 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.0001364/0.1256, allocations: 149.7 kB / 364.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.1257, allocations: 15.81 kB / 365 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.1257, allocations: 25.47 kB / 365 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1257, allocations: 0 / 365 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1257, allocations: 0 / 365 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1257, allocations: 3.984 kB / 365 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.126, allocations: 241.4 kB / 365.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.126, allocations: 0 / 365.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.1261, allocations: 15.98 kB / 365.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1261, allocations: 0 / 365.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.1262, allocations: 19.92 kB / 365.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.1262, allocations: 0 / 365.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1262, allocations: 0 / 365.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.1267, allocations: 268.8 kB / 365.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1268, allocations: 108.9 kB / 365.6 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.1268, allocations: 7.938 kB / 365.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.127, allocations: 28.03 kB / 365.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.1271, allocations: 8.172 kB / 365.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1271, allocations: 0 / 365.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003107/0.1274, allocations: 188.1 kB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1274, allocations: 0 / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.1278, allocations: 95.88 kB / 366 MB, free: 5.043 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.0006688/0.1285, allocations: 260.2 kB / 366.2 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.1289, allocations: 175.8 kB / 366.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1289, allocations: 0 / 366.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.129, allocations: 63.97 kB / 366.4 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1293, allocations: 22.38 kB / 366.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000714/0.13, allocations: 399.5 kB / 366.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1303, allocations: 0.7244 MB / 367.6 MB, free: 3.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.1305, allocations: 37.39 kB / 367.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.1305, allocations: 15.44 kB / 367.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1305, allocations: 4 kB / 367.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of Templates: time 0.006989/0.1375, allocations: 2.891 MB / 370.5 MB, free: 448 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches