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.001205/0.001205, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 59.41 kB / 307 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 50.53 MB / 357.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003521/0.1297, allocations: 1.663 MB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.132, allocations: 1.245 MB / 360.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.1323, allocations: 0 / 360.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1327, allocations: 35.78 kB / 360.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1329, allocations: 47.7 kB / 360.6 MB, free: 11.04 MB / 302.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.001188/0.1341, allocations: 291.1 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.1345, allocations: 171.6 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.1347, allocations: 25.06 kB / 361 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.135, allocations: 91.61 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008475/0.1359, allocations: 98.98 kB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.631e-05/0.136, allocations: 12 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.1366, allocations: 271.5 kB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.1367, allocations: 55.81 kB / 361.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1368, allocations: 75.58 kB / 361.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007004/0.1375, allocations: 323.4 kB / 361.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1375, allocations: 0 / 361.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1375, allocations: 4 kB / 362 MB, free: 9.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.1376, allocations: 0 / 362 MB, free: 9.648 MB / 302.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.00131/0.1389, allocations: 0.5493 MB / 362.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1389, allocations: 16.03 kB / 362.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.139, allocations: 42.67 kB / 362.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.1393, allocations: 28.66 kB / 362.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.1398, allocations: 276.7 kB / 362.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.1398, allocations: 12.36 kB / 362.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.1398, allocations: 7.938 kB / 362.9 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.1401, allocations: 104.3 kB / 363 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1401, allocations: 4 kB / 363 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1401, allocations: 4 kB / 363 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1401, allocations: 0 / 363 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.1403, allocations: 83.92 kB / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00087/0.1412, allocations: 448.5 kB / 363.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1415, allocations: 118.5 kB / 363.6 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1416, allocations: 56.83 kB / 363.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.1417, allocations: 0 / 363.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.1419, allocations: 123.4 kB / 363.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 3.887e-06/0.1419, allocations: 0 / 363.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004932/0.1424, allocations: 233.3 kB / 364 MB, free: 7.395 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.1425, allocations: 55.41 kB / 364.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.1429, allocations: 255.7 kB / 364.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1429, allocations: 37.7 kB / 364.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.143, allocations: 120.1 kB / 364.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.1431, allocations: 47.44 kB / 364.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.1432, allocations: 41.7 kB / 364.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1433, allocations: 338.8 kB / 364.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1434, allocations: 79.95 kB / 365 MB, free: 6.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.1436, allocations: 106.8 kB / 365.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.1439, allocations: 186.5 kB / 365.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1439, allocations: 0 / 365.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004531/0.1444, allocations: 253.3 kB / 365.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1444, allocations: 7.938 kB / 365.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1445, allocations: 0 / 365.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1445, allocations: 4 kB / 365.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.1447, allocations: 31.92 kB / 365.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.1447, allocations: 7.984 kB / 365.6 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1449, allocations: 31.84 kB / 365.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.1449, allocations: 12 kB / 365.6 MB, free: 5.746 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.0001349/0.1451, allocations: 133.8 kB / 365.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.1451, allocations: 19.66 kB / 365.8 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.1452, allocations: 25.52 kB / 365.8 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1452, allocations: 4 kB / 365.8 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1452, allocations: 3.938 kB / 365.8 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1452, allocations: 7.938 kB / 365.8 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.1455, allocations: 237.5 kB / 366 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1455, allocations: 0 / 366 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1456, allocations: 15.98 kB / 366 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1456, allocations: 3.938 kB / 366 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.1456, allocations: 4 kB / 366.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1456, allocations: 0 / 366.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1456, allocations: 0 / 366.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.1461, allocations: 284.9 kB / 366.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.1462, allocations: 108.8 kB / 366.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.1463, allocations: 7.938 kB / 366.4 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.1465, allocations: 15.97 kB / 366.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1465, allocations: 11.98 kB / 366.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.1466, allocations: 4 kB / 366.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003402/0.1469, allocations: 188.2 kB / 366.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1469, allocations: 192 / 366.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004157/0.1473, allocations: 87.98 kB / 366.7 MB, free: 4.516 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.001366/0.1487, allocations: 0.9693 MB / 367.7 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.1491, allocations: 178.8 kB / 367.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1491, allocations: 4.062 kB / 367.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1493, allocations: 63.91 kB / 368 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.1495, allocations: 23.92 kB / 368 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.1534, allocations: 2.352 MB / 370.3 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.1538, allocations: 0.7279 MB / 371.1 MB, free: 84 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.1539, allocations: 33.41 kB / 371.1 MB, free: 52 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1719/0.3258, allocations: 55.41 kB / 371.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of SimCode: time 1.512e-06/0.3258, allocations: 0 / 371.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.3507, allocations: 5.018 MB / 376.2 MB, free: 19.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.455, allocations: 5.219 kB / 376.2 MB, free: 19.16 MB / 302.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