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.001712/0.001712, allocations: 112.6 kB / 17.07 MB, free: 5.984 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.002026/0.002026, allocations: 193.4 kB / 18 MB, free: 5.074 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.546/1.546, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 47.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3297, allocations: 49.44 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003178/0.3329, allocations: 1.64 MB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.3353, allocations: 1.198 MB / 403.1 MB, free: 6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.3355, allocations: 0 / 403.1 MB, free: 6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.336, allocations: 39.77 kB / 403.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.3361, allocations: 39.77 kB / 403.2 MB, free: 5.922 MB / 318.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.0008859/0.337, allocations: 287.1 kB / 403.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.3373, allocations: 183.5 kB / 403.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3374, allocations: 17.11 kB / 403.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.3376, allocations: 91.72 kB / 403.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.3383, allocations: 103.6 kB / 403.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.3384, allocations: 12 kB / 403.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.3389, allocations: 263.5 kB / 404.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.339, allocations: 59.81 kB / 404.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.763e-05/0.3391, allocations: 63.59 kB / 404.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.3397, allocations: 326 kB / 404.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3397, allocations: 3.984 kB / 404.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3397, allocations: 0 / 404.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3397, allocations: 0 / 404.5 MB, free: 4.543 MB / 318.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.001256/0.341, allocations: 0.5566 MB / 405.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.341, allocations: 8.031 kB / 405.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.96e-05/0.3411, allocations: 46.72 kB / 405.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.3413, allocations: 28.83 kB / 405.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.3419, allocations: 288.3 kB / 405.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3419, allocations: 11.94 kB / 405.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.3419, allocations: 8 kB / 405.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.3422, allocations: 101.6 kB / 405.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3422, allocations: 0 / 405.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3422, allocations: 0 / 405.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3422, allocations: 8 kB / 405.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.3424, allocations: 75.94 kB / 405.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/0.3433, allocations: 452.5 kB / 406.1 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.3436, allocations: 122.5 kB / 406.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3438, allocations: 56.83 kB / 406.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.3438, allocations: 4 kB / 406.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.344, allocations: 119.4 kB / 406.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.344, allocations: 0 / 406.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005271/0.3446, allocations: 231.5 kB / 406.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.3446, allocations: 71.31 kB / 406.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.3451, allocations: 248.7 kB / 406.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.3452, allocations: 33.7 kB / 407 MB, free: 1.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.3453, allocations: 112.1 kB / 407.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.3453, allocations: 47.78 kB / 407.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.3454, allocations: 49.69 kB / 407.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3456, allocations: 330.8 kB / 407.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3458, allocations: 83.95 kB / 407.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.346, allocations: 105.7 kB / 407.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.3463, allocations: 181.8 kB / 407.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3463, allocations: 0 / 407.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004664/0.3468, allocations: 263 kB / 408.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3468, allocations: 4 kB / 408.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3469, allocations: 0 / 408.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3469, allocations: 0 / 408.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.3471, allocations: 35.91 kB / 408.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3471, allocations: 0 / 408.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3473, allocations: 31.88 kB / 408.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.3473, allocations: 4 kB / 408.2 MB, free: 0.6445 MB / 318.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.0001606/0.3475, allocations: 141.9 kB / 408.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.3475, allocations: 27.78 kB / 408.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.3476, allocations: 17.53 kB / 408.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3476, allocations: 96 / 408.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.3476, allocations: 11.94 kB / 408.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3476, allocations: 0 / 408.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.348, allocations: 241.5 kB / 408.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.348, allocations: 4 kB / 408.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.3481, allocations: 27.91 kB / 408.6 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.3481, allocations: 0 / 408.6 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.3482, allocations: 3.938 kB / 408.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3482, allocations: 0 / 408.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3482, allocations: 0 / 408.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.3487, allocations: 288.5 kB / 408.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3489, allocations: 109 kB / 409 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.3489, allocations: 16.05 kB / 409.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.3491, allocations: 15.97 kB / 409.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3492, allocations: 8 kB / 409.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3492, allocations: 7.984 kB / 409.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003345/0.3495, allocations: 184.4 kB / 409.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3495, allocations: 0 / 409.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.35, allocations: 87.8 kB / 409.3 MB, free: 15.38 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.001375/0.3513, allocations: 0.9693 MB / 410.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.3517, allocations: 171.8 kB / 410.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3518, allocations: 0 / 410.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3519, allocations: 67.91 kB / 410.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.3521, allocations: 27.14 kB / 410.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.3559, allocations: 2.364 MB / 412.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.3564, allocations: 0.728 MB / 413.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.3566, allocations: 29.41 kB / 413.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3567, allocations: 51.59 kB / 413.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3567, allocations: 4 kB / 413.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/0.3885, allocations: 5.059 MB / 418.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.607/8.996, allocations: 8.047 kB / 418.8 MB, free: 5.906 MB / 334.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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.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_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches