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.001767/0.001767, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 71.81 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3248, allocations: 50.53 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00326/0.3281, allocations: 1.674 MB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3304, allocations: 1.236 MB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3305, allocations: 4 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.3309, allocations: 39.7 kB / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.331, allocations: 31.78 kB / 411.7 MB, free: 14.53 MB / 334.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.0008302/0.3319, allocations: 295.2 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.3322, allocations: 179.5 kB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.3323, allocations: 21.06 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.3325, allocations: 87.67 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.3331, allocations: 95.7 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.3331, allocations: 12 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.3336, allocations: 275.5 kB / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3338, allocations: 67.8 kB / 412.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.3339, allocations: 67.53 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.3344, allocations: 326.1 kB / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3344, allocations: 7.875 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3344, allocations: 0 / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3344, allocations: 0 / 413.1 MB, free: 13.12 MB / 334.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.001207/0.3357, allocations: 0.5567 MB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3357, allocations: 8.031 kB / 413.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.3358, allocations: 42.73 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.336, allocations: 28.8 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.3365, allocations: 273 kB / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3365, allocations: 4.375 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.3365, allocations: 15.94 kB / 414.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3368, allocations: 108.8 kB / 414.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3368, allocations: 0 / 414.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3368, allocations: 0 / 414.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3368, allocations: 7.938 kB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.337, allocations: 75.94 kB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008222/0.3379, allocations: 460.5 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.3381, allocations: 118.5 kB / 414.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3383, allocations: 56.83 kB / 414.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3383, allocations: 11.92 kB / 414.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.3385, allocations: 119.3 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.3385, allocations: 0 / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004928/0.339, allocations: 237.6 kB / 415.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3391, allocations: 55.41 kB / 415.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.3395, allocations: 251.7 kB / 415.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.3395, allocations: 41.7 kB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.3396, allocations: 108.1 kB / 415.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.3397, allocations: 47.78 kB / 415.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/0.3398, allocations: 41.7 kB / 415.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3399, allocations: 338.8 kB / 416.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3401, allocations: 79.95 kB / 416.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.3403, allocations: 117.5 kB / 416.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.3406, allocations: 173.6 kB / 416.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3406, allocations: 0 / 416.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004789/0.3411, allocations: 261.3 kB / 416.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3411, allocations: 7.938 kB / 416.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.3411, allocations: 0 / 416.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3411, allocations: 4 kB / 416.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3413, allocations: 28.02 kB / 416.8 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3413, allocations: 3.984 kB / 416.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3415, allocations: 31.86 kB / 416.8 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3416, allocations: 8 kB / 416.8 MB, free: 9.219 MB / 334.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.0001604/0.3417, allocations: 138 kB / 416.9 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.3418, allocations: 19.84 kB / 417 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.3419, allocations: 29.45 kB / 417 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3419, allocations: 4 kB / 417 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3419, allocations: 0 / 417 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3419, allocations: 0 / 417 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.3422, allocations: 249.4 kB / 417.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3422, allocations: 0 / 417.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.3424, allocations: 16.08 kB / 417.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3424, allocations: 11.81 kB / 417.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.3424, allocations: 0 / 417.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3424, allocations: 0 / 417.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3424, allocations: 4 kB / 417.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.3429, allocations: 272.9 kB / 417.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3431, allocations: 109 kB / 417.6 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3431, allocations: 11.94 kB / 417.6 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.3433, allocations: 15.97 kB / 417.7 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.3434, allocations: 11.98 kB / 417.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3434, allocations: 11.94 kB / 417.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003175/0.3437, allocations: 185.5 kB / 417.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3437, allocations: 0 / 417.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004365/0.3442, allocations: 87.8 kB / 418 MB, free: 7.965 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.001361/0.3455, allocations: 0.9618 MB / 418.9 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.3459, allocations: 174.9 kB / 419.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3459, allocations: 0 / 419.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.3461, allocations: 71.91 kB / 419.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.3463, allocations: 15.98 kB / 419.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.35, allocations: 2.372 MB / 421.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.3505, allocations: 0.728 MB / 422.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.3506, allocations: 29.41 kB / 422.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.3508, allocations: 47.42 kB / 422.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3508, allocations: 0 / 422.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3773, allocations: 5.097 MB / 427.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/8.734, allocations: 11.22 kB / 427.5 MB, free: 14.45 MB / 350.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