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.001627/0.001627, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.88 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3089, allocations: 50.54 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003671/0.3126, allocations: 1.672 MB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.3148, allocations: 1.239 MB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.3149, allocations: 4 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.3153, allocations: 27.77 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.3154, allocations: 43.72 kB / 411.7 MB, free: 14.53 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.0007465/0.3162, allocations: 295.1 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.3164, allocations: 175.6 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.3165, allocations: 13.08 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.3167, allocations: 95.66 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.3172, allocations: 99.64 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.3173, allocations: 12 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.3177, allocations: 283.5 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.3178, allocations: 55.88 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.756e-05/0.3179, allocations: 63.59 kB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004695/0.3183, allocations: 337.9 kB / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3184, allocations: 0 / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3184, allocations: 0 / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3184, allocations: 0 / 413.1 MB, free: 13.13 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.001224/0.3196, allocations: 0.5567 MB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3197, allocations: 8.031 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.3197, allocations: 38.75 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.3199, allocations: 32.78 kB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.3204, allocations: 276.9 kB / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3204, allocations: 8.375 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.3205, allocations: 15.94 kB / 414.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3207, allocations: 100.9 kB / 414.2 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3207, allocations: 0 / 414.2 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.3207, allocations: 4 kB / 414.2 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3208, allocations: 4 kB / 414.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.321, allocations: 75.88 kB / 414.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009241/0.3219, allocations: 468.4 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.3222, allocations: 114.5 kB / 414.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.3223, allocations: 60.81 kB / 414.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3224, allocations: 11.98 kB / 414.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.3226, allocations: 122.9 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.3226, allocations: 0 / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005151/0.3232, allocations: 229.6 kB / 415.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.3232, allocations: 59.39 kB / 415.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.3236, allocations: 247.8 kB / 415.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3237, allocations: 37.69 kB / 415.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.3238, allocations: 116.1 kB / 415.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.3238, allocations: 47.72 kB / 415.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/0.3239, allocations: 45.7 kB / 415.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3241, allocations: 334.8 kB / 416.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.3242, allocations: 83.94 kB / 416.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.3244, allocations: 109.6 kB / 416.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.3247, allocations: 177.6 kB / 416.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3247, allocations: 0 / 416.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004331/0.3252, allocations: 253.3 kB / 416.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3252, allocations: 7.938 kB / 416.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3252, allocations: 0 / 416.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3252, allocations: 4.031 kB / 416.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.3254, allocations: 39.91 kB / 416.8 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3255, allocations: 3.984 kB / 416.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.3257, allocations: 35.8 kB / 416.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3257, allocations: 8 kB / 416.8 MB, free: 9.215 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.0001498/0.3258, allocations: 130 kB / 416.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.3259, allocations: 23.84 kB / 417 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.3259, allocations: 21.53 kB / 417 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.326, allocations: 4 kB / 417 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.326, allocations: 0 / 417 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.326, allocations: 3.984 kB / 417 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.3262, allocations: 237.5 kB / 417.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3263, allocations: 7.938 kB / 417.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3264, allocations: 15.98 kB / 417.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.3264, allocations: 4.031 kB / 417.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3264, allocations: 11.92 kB / 417.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3264, allocations: 0 / 417.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3265, allocations: 8 kB / 417.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.327, allocations: 272.9 kB / 417.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3271, allocations: 113 kB / 417.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.3271, allocations: 7.938 kB / 417.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3273, allocations: 19.97 kB / 417.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.3274, allocations: 12.05 kB / 417.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3274, allocations: 4 kB / 417.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003272/0.3277, allocations: 184.2 kB / 417.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3277, allocations: 0 / 417.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004207/0.3282, allocations: 83.8 kB / 418 MB, free: 7.973 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.001298/0.3295, allocations: 0.9762 MB / 418.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.3299, allocations: 166.9 kB / 419.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3299, allocations: 0 / 419.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.33, allocations: 67.89 kB / 419.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.3303, allocations: 16 kB / 419.2 MB, free: 6.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.3338, allocations: 2.372 MB / 421.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3342, allocations: 0.7241 MB / 422.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3343, allocations: 33.39 kB / 422.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.3344, allocations: 47.42 kB / 422.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3344, allocations: 4 kB / 422.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.3666, allocations: 5.086 MB / 427.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.609, allocations: 11.86 kB / 427.5 MB, free: 14.46 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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