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.00127/0.00127, allocations: 110.6 kB / 16.92 MB, free: 6.332 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.001156/0.001156, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.389/1.389, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 47.67 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1044, allocations: 49.45 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003011/0.1075, allocations: 1.634 MB / 351.8 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1094, allocations: 1.194 MB / 353 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1096, allocations: 0 / 353 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.11, allocations: 31.78 kB / 353 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1102, allocations: 43.77 kB / 353.1 MB, free: 1.41 MB / 286.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.000899/0.1111, allocations: 291.1 kB / 353.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.1114, allocations: 179.6 kB / 353.5 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1115, allocations: 21.05 kB / 353.5 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1117, allocations: 83.73 kB / 353.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006872/0.1124, allocations: 121.4 kB / 353.7 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.849e-05/0.1125, allocations: 16 kB / 353.8 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.113, allocations: 267.5 kB / 354 MB, free: 468 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1131, allocations: 51.83 kB / 354.1 MB, free: 416 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1133, allocations: 67.58 kB / 354.1 MB, free: 348 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006969/0.114, allocations: 319.4 kB / 354.5 MB, free: 28 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.114, allocations: 4 kB / 354.5 MB, free: 24 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.114, allocations: 0 / 354.5 MB, free: 24 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.114, allocations: 0 / 354.5 MB, free: 24 kB / 286.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.001487/0.1155, allocations: 0.5571 MB / 355 MB, free: 15.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1156, allocations: 8.031 kB / 355 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.1156, allocations: 38.73 kB / 355.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.1159, allocations: 36.64 kB / 355.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.1164, allocations: 272.6 kB / 355.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1164, allocations: 4 kB / 355.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.1165, allocations: 15.94 kB / 355.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.1167, allocations: 101.6 kB / 355.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1167, allocations: 0 / 355.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1168, allocations: 4 kB / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1168, allocations: 0 / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.117, allocations: 79.94 kB / 355.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/0.118, allocations: 452.5 kB / 356 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1183, allocations: 122.5 kB / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1184, allocations: 60.83 kB / 356.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1184, allocations: 0 / 356.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.1187, allocations: 122.6 kB / 356.3 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.1187, allocations: 0 / 356.3 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005218/0.1192, allocations: 225.4 kB / 356.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.1193, allocations: 67.33 kB / 356.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.1197, allocations: 240.8 kB / 356.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.1198, allocations: 37.7 kB / 356.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.1198, allocations: 120.1 kB / 357 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.1199, allocations: 43.53 kB / 357 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.12, allocations: 53.62 kB / 357.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1201, allocations: 334.8 kB / 357.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.1203, allocations: 79.95 kB / 357.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.1205, allocations: 105.6 kB / 357.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.1208, allocations: 185.8 kB / 357.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1208, allocations: 3.938 kB / 357.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004529/0.1213, allocations: 269.2 kB / 358 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1213, allocations: 4 kB / 358 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1213, allocations: 0 / 358 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1214, allocations: 4 kB / 358 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.1215, allocations: 23.98 kB / 358.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.1216, allocations: 7.938 kB / 358.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.1218, allocations: 31.81 kB / 358.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.1218, allocations: 4 kB / 358.1 MB, free: 12.13 MB / 302.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.0001671/0.122, allocations: 141.8 kB / 358.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.122, allocations: 19.75 kB / 358.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.1221, allocations: 21.52 kB / 358.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1221, allocations: 4 kB / 358.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.1221, allocations: 0 / 358.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1221, allocations: 0 / 358.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.1224, allocations: 241.5 kB / 358.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1224, allocations: 3.938 kB / 358.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.1225, allocations: 23.92 kB / 358.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.1226, allocations: 8 kB / 358.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1226, allocations: 0 / 358.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.1226, allocations: 4 kB / 358.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1226, allocations: 0 / 358.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.1231, allocations: 264.9 kB / 358.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.1232, allocations: 112.8 kB / 358.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.1232, allocations: 11.98 kB / 358.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.1234, allocations: 16.05 kB / 359 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.1235, allocations: 11.92 kB / 359 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1235, allocations: 4 kB / 359 MB, free: 11.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003438/0.1239, allocations: 200.4 kB / 359.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1239, allocations: 0 / 359.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003808/0.1243, allocations: 83.89 kB / 359.2 MB, free: 10.89 MB / 302.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.001327/0.1256, allocations: 0.9564 MB / 360.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.126, allocations: 171.8 kB / 360.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.126, allocations: 3.938 kB / 360.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1262, allocations: 71.91 kB / 360.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1264, allocations: 22.27 kB / 360.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.1299, allocations: 2.356 MB / 362.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1303, allocations: 0.7319 MB / 363.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1304, allocations: 33.39 kB / 363.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-05/0.1305, allocations: 47.42 kB / 363.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1305, allocations: 0 / 363.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.1558, allocations: 5 MB / 368.6 MB, free: 1.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.064, allocations: 3.672 kB / 368.6 MB, free: 1.484 MB / 302.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