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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 55.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3074, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002627/0.31, allocations: 1.671 MB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3121, allocations: 1.239 MB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.3121, allocations: 0 / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.3125, allocations: 31.78 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.3126, allocations: 43.7 kB / 411.7 MB, free: 14.55 MB / 334.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.0006924/0.3133, allocations: 295.1 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.3136, allocations: 179.5 kB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3137, allocations: 21.06 kB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.3139, allocations: 87.67 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.3144, allocations: 95.7 kB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.3145, allocations: 12 kB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004158/0.3149, allocations: 275.5 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.315, allocations: 59.81 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/0.3151, allocations: 71.58 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.3156, allocations: 328.8 kB / 413.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.3156, allocations: 0 / 413.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3156, allocations: 0 / 413.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3156, allocations: 4 kB / 413.1 MB, free: 13.15 MB / 334.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.001162/0.3168, allocations: 0.5532 MB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3168, allocations: 12.03 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.3169, allocations: 38.69 kB / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.3171, allocations: 28.73 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.3176, allocations: 276.8 kB / 414 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3176, allocations: 8.312 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.3176, allocations: 15.92 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.3179, allocations: 97.64 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3179, allocations: 3.984 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3179, allocations: 4 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3179, allocations: 0 / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.3181, allocations: 79.88 kB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008195/0.3189, allocations: 452.5 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.3192, allocations: 118.5 kB / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3193, allocations: 68.8 kB / 414.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.3194, allocations: 0 / 414.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.3196, allocations: 115.3 kB / 415 MB, free: 11.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.3196, allocations: 0 / 415 MB, free: 11.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004695/0.3201, allocations: 229.5 kB / 415.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3201, allocations: 59.41 kB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.3205, allocations: 255.7 kB / 415.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.3206, allocations: 37.69 kB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.3207, allocations: 120.1 kB / 415.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.3207, allocations: 39.59 kB / 415.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.3208, allocations: 45.7 kB / 415.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.321, allocations: 334.8 kB / 416.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3212, allocations: 87.95 kB / 416.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.3214, allocations: 109.6 kB / 416.3 MB, free: 9.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.3216, allocations: 177.6 kB / 416.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3216, allocations: 4 kB / 416.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003951/0.322, allocations: 253.2 kB / 416.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3221, allocations: 11.94 kB / 416.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3221, allocations: 4.031 kB / 416.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3221, allocations: 0 / 416.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3223, allocations: 31.92 kB / 416.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3223, allocations: 0 / 416.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.3225, allocations: 31.81 kB / 416.8 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3225, allocations: 4 kB / 416.8 MB, free: 9.258 MB / 334.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.0001334/0.3227, allocations: 142 kB / 416.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.3227, allocations: 27.69 kB / 416.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.3228, allocations: 21.52 kB / 417 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3228, allocations: 96 / 417 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3228, allocations: 3.938 kB / 417 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3228, allocations: 0 / 417 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.323, allocations: 245.4 kB / 417.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.323, allocations: 0 / 417.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3231, allocations: 19.98 kB / 417.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3231, allocations: 3.938 kB / 417.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3232, allocations: 4 kB / 417.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3232, allocations: 4 kB / 417.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3232, allocations: 0 / 417.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.3237, allocations: 272.8 kB / 417.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.3238, allocations: 104.9 kB / 417.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.3238, allocations: 11.94 kB / 417.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.324, allocations: 19.97 kB / 417.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.324, allocations: 12.05 kB / 417.6 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.324, allocations: 4 kB / 417.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003046/0.3244, allocations: 184.2 kB / 417.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3244, allocations: 0 / 417.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.3247, allocations: 83.98 kB / 417.9 MB, free: 8.016 MB / 334.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.001161/0.3259, allocations: 0.979 MB / 418.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.3262, allocations: 169 kB / 419.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3262, allocations: 3.938 kB / 419.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.3264, allocations: 67.91 kB / 419.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.3266, allocations: 20.11 kB / 419.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.3298, allocations: 2.357 MB / 421.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3301, allocations: 0.728 MB / 422.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.701e-05/0.3302, allocations: 29.41 kB / 422.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-05/0.3303, allocations: 51.36 kB / 422.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3303, allocations: 0 / 422.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.3536, allocations: 5.169 MB / 427.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.652, allocations: 7.219 kB / 427.5 MB, free: 14.44 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > 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.0.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