Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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.001248/0.001249, allocations: 113.2 kB / 17.73 MB, free: 5.324 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.001146/0.001146, allocations: 188.2 kB / 18.67 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 51.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09326, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00347/0.09676, allocations: 1.641 MB / 376.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.0992, allocations: 1.229 MB / 377.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.09943, allocations: 0 / 377.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.09981, allocations: 35.77 kB / 377.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.09999, allocations: 43.78 kB / 377.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/0.1009, allocations: 291.1 kB / 377.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.1012, allocations: 183.6 kB / 378.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1013, allocations: 21.05 kB / 378.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.1016, allocations: 83.67 kB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1018, allocations: 99.64 kB / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.1018, allocations: 12 kB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/0.1023, allocations: 291.5 kB / 378.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1024, allocations: 51.88 kB / 378.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.19e-05/0.1025, allocations: 67.53 kB / 378.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.103, allocations: 338.8 kB / 379 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.103, allocations: 0 / 379 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.103, allocations: 0 / 379 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1031, allocations: 0 / 379 MB, free: 0.6875 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.001176/0.1042, allocations: 0.5683 MB / 379.6 MB, free: 72 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.1043, allocations: 8.031 kB / 379.6 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.1044, allocations: 38.73 kB / 379.6 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1942/0.2985, allocations: 27.66 kB / 379.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.2991, allocations: 276.5 kB / 379.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2992, allocations: 7.156 kB / 379.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.2992, allocations: 5.875 kB / 379.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.2994, allocations: 101.9 kB / 380 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.2995, allocations: 5.219 kB / 380 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2995, allocations: 4.125 kB / 380 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2995, allocations: 1.062 kB / 380 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.2997, allocations: 76.55 kB / 380.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007838/0.3005, allocations: 459.8 kB / 380.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.3008, allocations: 119.9 kB / 380.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3009, allocations: 61.02 kB / 380.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.3009, allocations: 2.453 kB / 380.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.3011, allocations: 122.2 kB / 380.9 MB, free: 11.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.3011, allocations: 0 / 380.9 MB, free: 11.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004705/0.3016, allocations: 234.1 kB / 381.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3017, allocations: 61.58 kB / 381.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.3021, allocations: 247.1 kB / 381.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3021, allocations: 42.38 kB / 381.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.3022, allocations: 115.1 kB / 381.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.3023, allocations: 43.11 kB / 381.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.3023, allocations: 43.55 kB / 381.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.3024, allocations: 340.3 kB / 382 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3026, allocations: 86.34 kB / 382 MB, free: 11.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.3028, allocations: 109.4 kB / 382.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.3032, allocations: 178 kB / 382.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3032, allocations: 1.125 kB / 382.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005015/0.3037, allocations: 258.4 kB / 382.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3037, allocations: 5.844 kB / 382.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3037, allocations: 5.844 kB / 382.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3037, allocations: 2.75 kB / 382.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.3039, allocations: 31.81 kB / 382.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.304, allocations: 8.031 kB / 382.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3042, allocations: 32.06 kB / 382.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.3042, allocations: 5.062 kB / 382.7 MB, free: 11.23 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.0001241/0.3043, allocations: 146.4 kB / 382.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3044, allocations: 15.25 kB / 382.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.3044, allocations: 22.2 kB / 382.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3044, allocations: 1.656 kB / 382.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3044, allocations: 10.06 kB / 382.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3045, allocations: 0.5625 kB / 382.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.3047, allocations: 243.7 kB / 383.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3047, allocations: 5.922 kB / 383.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.3048, allocations: 16.09 kB / 383.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3048, allocations: 0.5625 kB / 383.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3048, allocations: 5.984 kB / 383.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3048, allocations: 0.8438 kB / 383.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3048, allocations: 5.094 kB / 383.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.3053, allocations: 278.8 kB / 383.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.3054, allocations: 114.7 kB / 383.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.3054, allocations: 5.156 kB / 383.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3056, allocations: 18.88 kB / 383.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.3057, allocations: 12 kB / 383.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.3057, allocations: 3.391 kB / 383.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.306, allocations: 194.8 kB / 383.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.306, allocations: 1.375 kB / 383.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.3064, allocations: 88.86 kB / 383.8 MB, free: 10.63 MB / 318.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.001093/0.3075, allocations: 0.9891 MB / 384.8 MB, free: 9.984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.3079, allocations: 168 kB / 385 MB, free: 9.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3079, allocations: 0 / 385 MB, free: 9.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.308, allocations: 73.2 kB / 385.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.3083, allocations: 16.94 kB / 385.1 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.3114, allocations: 2.384 MB / 387.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.3116, allocations: 0.7237 MB / 388.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.3117, allocations: 36.88 kB / 388.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.3118, allocations: 49.59 kB / 388.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3118, allocations: 0 / 388.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.3383, allocations: 5.23 MB / 393.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.338, allocations: 4.969 kB / 393.5 MB, free: 6.812 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches