Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 109.1 kB / 16.92 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 191.3 kB / 17.85 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 51.86 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1745, allocations: 49.44 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.005787/0.1804, allocations: 1.649 MB / 351.8 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.1836, allocations: 1.186 MB / 353 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.1838, allocations: 3.938 kB / 353 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.1844, allocations: 35.78 kB / 353 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.1846, allocations: 35.77 kB / 353.1 MB, free: 1.398 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.001126/0.1858, allocations: 291.2 kB / 353.4 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.1862, allocations: 191.4 kB / 353.5 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.1864, allocations: 17.12 kB / 353.6 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.1866, allocations: 83.73 kB / 353.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009761/0.1876, allocations: 104.8 kB / 353.7 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.1877, allocations: 12 kB / 353.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.1882, allocations: 267.5 kB / 354 MB, free: 468 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1884, allocations: 55.81 kB / 354.1 MB, free: 412 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.1885, allocations: 71.58 kB / 354.1 MB, free: 340 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006166/0.1891, allocations: 323.4 kB / 354.5 MB, free: 16 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1892, allocations: 0 / 354.5 MB, free: 16 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1892, allocations: 0 / 354.5 MB, free: 16 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1892, allocations: 0 / 354.5 MB, free: 16 kB / 286.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.001444/0.1906, allocations: 0.5557 MB / 355 MB, free: 15.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1907, allocations: 8.031 kB / 355 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.65e-05/0.1908, allocations: 42.73 kB / 355.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.191, allocations: 24.66 kB / 355.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.1915, allocations: 284.5 kB / 355.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1916, allocations: 8 kB / 355.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.1916, allocations: 8 kB / 355.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.1918, allocations: 109.6 kB / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1918, allocations: 0 / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1919, allocations: 3.984 kB / 355.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.1919, allocations: 4 kB / 355.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.1921, allocations: 79.88 kB / 355.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1932, allocations: 448.5 kB / 356 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.1935, allocations: 118.5 kB / 356.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1937, allocations: 64.86 kB / 356.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1937, allocations: 0 / 356.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.194, allocations: 115.3 kB / 356.3 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.194, allocations: 0 / 356.3 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006042/0.1946, allocations: 229.3 kB / 356.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.1947, allocations: 67.34 kB / 356.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.1952, allocations: 240.8 kB / 356.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.1952, allocations: 41.69 kB / 356.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1953, allocations: 120.2 kB / 357 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.491e-05/0.1954, allocations: 51.38 kB / 357 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.1955, allocations: 41.7 kB / 357.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.1957, allocations: 330.8 kB / 357.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1959, allocations: 83.95 kB / 357.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.1961, allocations: 105.7 kB / 357.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.1964, allocations: 197.7 kB / 357.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1964, allocations: 0 / 357.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004544/0.1969, allocations: 253.2 kB / 358 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1969, allocations: 8 kB / 358 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.197, allocations: 0 / 358 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.197, allocations: 0 / 358 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.1972, allocations: 35.92 kB / 358.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1972, allocations: 4.031 kB / 358.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.1974, allocations: 27.81 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.1974, allocations: 12 kB / 358.1 MB, free: 12.11 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.0001589/0.1976, allocations: 137.8 kB / 358.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.1976, allocations: 19.75 kB / 358.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.1977, allocations: 25.52 kB / 358.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1977, allocations: 0 / 358.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1977, allocations: 4 kB / 358.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1977, allocations: 4 kB / 358.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.198, allocations: 233.5 kB / 358.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.198, allocations: 3.938 kB / 358.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.1982, allocations: 15.98 kB / 358.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1982, allocations: 4 kB / 358.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1982, allocations: 4 kB / 358.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1982, allocations: 0 / 358.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1982, allocations: 0 / 358.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.1987, allocations: 280.1 kB / 358.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1989, allocations: 108.8 kB / 358.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.1989, allocations: 8 kB / 358.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1991, allocations: 19.97 kB / 359 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.1992, allocations: 7.984 kB / 359 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.1992, allocations: 7.938 kB / 359 MB, free: 11.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003395/0.1995, allocations: 188.5 kB / 359.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1995, allocations: 0 / 359.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.2, allocations: 95.88 kB / 359.2 MB, free: 10.88 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.001523/0.2015, allocations: 0.9581 MB / 360.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004391/0.202, allocations: 190.6 kB / 360.4 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.202, allocations: 0 / 360.4 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.2021, allocations: 59.97 kB / 360.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.2024, allocations: 23.92 kB / 360.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.2061, allocations: 2.357 MB / 362.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.2066, allocations: 0.728 MB / 363.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.2067, allocations: 37.39 kB / 363.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.2068, allocations: 51.41 kB / 363.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2069, allocations: 0 / 363.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.2348, allocations: 4.985 MB / 368.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.919/9.154, allocations: 4 kB / 368.6 MB, free: 1.473 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches