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.001684/0.001684, allocations: 110.6 kB / 17.73 MB, free: 5.312 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.001966/0.001966, allocations: 190.9 kB / 18.67 MB, free: 4.387 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.46/1.46, 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.001639/0.001639, allocations: 56.39 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1067, 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.003205/0.11, allocations: 1.633 MB / 376.3 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.1125, allocations: 1.229 MB / 377.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1127, allocations: 0 / 377.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.1131, allocations: 31.78 kB / 377.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1133, allocations: 47.7 kB / 377.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009289/0.1142, allocations: 291.2 kB / 377.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.1145, allocations: 179.5 kB / 378.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1147, allocations: 25.06 kB / 378.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.1149, allocations: 83.67 kB / 378.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1151, allocations: 103.6 kB / 378.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.1152, allocations: 12 kB / 378.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005359/0.1157, allocations: 283.5 kB / 378.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1158, allocations: 47.89 kB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.116, allocations: 83.44 kB / 378.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.1166, allocations: 326.9 kB / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1166, allocations: 0 / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1166, allocations: 0 / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1166, allocations: 0 / 379 MB, free: 0.6992 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.001474/0.1181, allocations: 0.5721 MB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.1182, allocations: 12.03 kB / 379.6 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.1182, allocations: 34.73 kB / 379.6 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1694/0.2877, allocations: 27.83 kB / 379.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.2883, allocations: 269.8 kB / 379.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.2883, allocations: 6.172 kB / 379.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.2884, allocations: 11.53 kB / 379.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.2886, allocations: 106 kB / 380 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2886, allocations: 0 / 380 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.2886, allocations: 5.75 kB / 380 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2887, allocations: 2.406 kB / 380 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.2889, allocations: 78.62 kB / 380.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.2896, allocations: 446.9 kB / 380.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.2899, allocations: 127.6 kB / 380.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.29, allocations: 61.91 kB / 380.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.2901, allocations: 1.031 kB / 380.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.2903, allocations: 120.6 kB / 380.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.2903, allocations: 0 / 380.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004977/0.2908, allocations: 234.6 kB / 381.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.2909, allocations: 59.61 kB / 381.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.2913, allocations: 254 kB / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.2913, allocations: 37.98 kB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.2914, allocations: 114.1 kB / 381.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.2914, allocations: 43.28 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.2915, allocations: 51.56 kB / 381.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.2916, allocations: 333 kB / 382 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.2917, allocations: 86.3 kB / 382 MB, free: 11.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.292, allocations: 110.6 kB / 382.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.2923, allocations: 185.6 kB / 382.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2923, allocations: 0 / 382.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005076/0.2928, allocations: 252.9 kB / 382.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.2928, allocations: 8.188 kB / 382.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.2929, allocations: 3.797 kB / 382.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2929, allocations: 1.688 kB / 382.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.2931, allocations: 31.3 kB / 382.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2931, allocations: 1.562 kB / 382.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2933, allocations: 37.77 kB / 382.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2933, allocations: 12.8 kB / 382.7 MB, free: 11.61 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.0001173/0.2935, allocations: 139 kB / 382.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.2935, allocations: 19.89 kB / 382.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.2936, allocations: 21.83 kB / 382.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2936, allocations: 3.188 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2936, allocations: 0.5625 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2936, allocations: 5.672 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.2938, allocations: 243.8 kB / 383.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2938, allocations: 2.438 kB / 383.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.2939, allocations: 16.17 kB / 383.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.294, allocations: 0 / 383.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.294, allocations: 2.672 kB / 383.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.294, allocations: 1.375 kB / 383.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.294, allocations: 4.828 kB / 383.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.2944, allocations: 283.9 kB / 383.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.2945, allocations: 110.6 kB / 383.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.2946, allocations: 6.484 kB / 383.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2947, allocations: 15.91 kB / 383.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.2948, allocations: 15.22 kB / 383.5 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.2948, allocations: 7.672 kB / 383.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003035/0.2951, allocations: 188.3 kB / 383.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2951, allocations: 0 / 383.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.2955, allocations: 92.05 kB / 383.8 MB, free: 10.86 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.001152/0.2967, allocations: 0.9931 MB / 384.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.2971, allocations: 175.1 kB / 385 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2971, allocations: 64 / 385 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.2972, allocations: 66.61 kB / 385.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.2975, allocations: 20.69 kB / 385.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.3012, allocations: 2.379 MB / 387.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.3015, allocations: 0.7285 MB / 388.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.3016, allocations: 38.34 kB / 388.2 MB, free: 7.816 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3018, allocations: 50 kB / 388.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3018, allocations: 0 / 388.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.3327, allocations: 5.227 MB / 393.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/8.765, allocations: 5 kB / 393.5 MB, free: 6.926 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