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.001236/0.001236, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 63.91 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2979, allocations: 50.55 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002913/0.3009, allocations: 1.668 MB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3031, allocations: 1.243 MB / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.3033, allocations: 0 / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.3036, allocations: 31.77 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.3038, allocations: 39.72 kB / 411.8 MB, free: 14.49 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.000766/0.3045, allocations: 287.2 kB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.3048, allocations: 195.5 kB / 412.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.3049, allocations: 17.06 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.3051, allocations: 87.67 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000587/0.3057, allocations: 91.7 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.3058, allocations: 12 kB / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.3062, allocations: 275.5 kB / 412.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3064, allocations: 63.8 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.131e-05/0.3065, allocations: 71.59 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.307, allocations: 326 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.307, allocations: 3.938 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.307, allocations: 0 / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.307, allocations: 0 / 413.2 MB, free: 13.09 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.001178/0.3082, allocations: 0.5567 MB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3083, allocations: 8.031 kB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.3083, allocations: 42.69 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.3085, allocations: 36.78 kB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.309, allocations: 269 kB / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.309, allocations: 8.359 kB / 414.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3091, allocations: 19.92 kB / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3093, allocations: 100.9 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3093, allocations: 0 / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3093, allocations: 4 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3093, allocations: 0 / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.3095, allocations: 91.8 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.3104, allocations: 444.5 kB / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.3107, allocations: 122.6 kB / 414.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3108, allocations: 64.77 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3109, allocations: 3.938 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.3111, allocations: 119.3 kB / 415.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3111, allocations: 0 / 415.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005119/0.3116, allocations: 237.5 kB / 415.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.3117, allocations: 59.41 kB / 415.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.3121, allocations: 247.8 kB / 415.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.3122, allocations: 41.69 kB / 415.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.3122, allocations: 108.1 kB / 415.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.3123, allocations: 47.78 kB / 415.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.3124, allocations: 41.7 kB / 415.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3125, allocations: 338.8 kB / 416.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.3127, allocations: 79.95 kB / 416.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.3129, allocations: 113.6 kB / 416.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.3132, allocations: 181.6 kB / 416.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3132, allocations: 0 / 416.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004681/0.3137, allocations: 249.4 kB / 416.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3137, allocations: 7.938 kB / 416.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3138, allocations: 0 / 416.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3138, allocations: 7.984 kB / 416.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.314, allocations: 35.95 kB / 416.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.314, allocations: 4 kB / 416.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.3142, allocations: 27.86 kB / 416.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.3142, allocations: 8 kB / 416.9 MB, free: 9.184 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.0001456/0.3144, allocations: 134 kB / 417 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.3144, allocations: 19.84 kB / 417 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.3145, allocations: 29.45 kB / 417 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3145, allocations: 8 kB / 417.1 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3145, allocations: 0 / 417.1 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3145, allocations: 0 / 417.1 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.3148, allocations: 245.4 kB / 417.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3148, allocations: 0 / 417.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.3149, allocations: 12 kB / 417.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3149, allocations: 4.031 kB / 417.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.315, allocations: 7.922 kB / 417.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.315, allocations: 8 kB / 417.3 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.315, allocations: 0 / 417.3 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.3155, allocations: 276.9 kB / 417.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3156, allocations: 117 kB / 417.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.3157, allocations: 7.938 kB / 417.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3159, allocations: 15.97 kB / 417.7 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.3159, allocations: 11.98 kB / 417.7 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3159, allocations: 4 kB / 417.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.3163, allocations: 185.5 kB / 417.9 MB, free: 8.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3163, allocations: 4 kB / 417.9 MB, free: 8.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003936/0.3167, allocations: 87.8 kB / 418 MB, free: 7.93 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.001382/0.3181, allocations: 0.9539 MB / 419 MB, free: 6.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.3185, allocations: 178.9 kB / 419.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.3185, allocations: 0 / 419.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.3187, allocations: 71.84 kB / 419.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.3189, allocations: 12 kB / 419.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.3226, allocations: 2.371 MB / 421.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.323, allocations: 0.728 MB / 422.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.3231, allocations: 45.31 kB / 422.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/0.3233, allocations: 47.42 kB / 422.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3233, allocations: 0 / 422.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.3541, allocations: 5.089 MB / 427.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.348/9.702, allocations: 9.875 kB / 427.5 MB, free: 14.43 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.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