Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002243/0.002243, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 230.6 MB / 257.5 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 47.92 kB / 377.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2745, allocations: 53.36 MB / 431.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00306/0.2775, allocations: 1.677 MB / 432.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.2799, allocations: 1.282 MB / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.28, allocations: 0 / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.2803, allocations: 31.72 kB / 434.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.2804, allocations: 43.7 kB / 434.2 MB, free: 3.773 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0008056/0.2812, allocations: 311.1 kB / 434.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.2815, allocations: 203.5 kB / 434.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.2816, allocations: 13.27 kB / 434.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.2818, allocations: 91.67 kB / 434.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000645/0.2825, allocations: 105.4 kB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.2825, allocations: 19.94 kB / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005824/0.2831, allocations: 327.4 kB / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2832, allocations: 47.89 kB / 435.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.45e-05/0.2833, allocations: 75.45 kB / 435.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.2838, allocations: 335.3 kB / 435.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2838, allocations: 0 / 435.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2838, allocations: 0 / 435.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2839, allocations: 0 / 435.7 MB, free: 2.281 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.00127/0.2851, allocations: 496.8 kB / 436.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2852, allocations: 8.031 kB / 436.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.2852, allocations: 46.73 kB / 436.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.2854, allocations: 28.8 kB / 436.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.2859, allocations: 219.1 kB / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.286, allocations: 8.375 kB / 436.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.286, allocations: 7.938 kB / 436.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.2863, allocations: 101.6 kB / 436.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2863, allocations: 3.938 kB / 436.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.2863, allocations: 7.984 kB / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2863, allocations: 0 / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.2865, allocations: 83.88 kB / 436.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000935/0.2874, allocations: 419.6 kB / 437.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.2877, allocations: 118.4 kB / 437.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2878, allocations: 56.83 kB / 437.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2879, allocations: 0 / 437.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.2881, allocations: 119.3 kB / 437.4 MB, free: 464 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.2881, allocations: 0 / 437.4 MB, free: 464 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005031/0.2886, allocations: 240.9 kB / 437.6 MB, free: 220 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.2887, allocations: 55.41 kB / 437.7 MB, free: 152 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.2891, allocations: 239.9 kB / 437.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.2892, allocations: 41.69 kB / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2893, allocations: 116 kB / 438 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.2893, allocations: 47.78 kB / 438.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.802e-05/0.2894, allocations: 49.7 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2896, allocations: 330.8 kB / 438.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2898, allocations: 83.94 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.29, allocations: 107.2 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.2903, allocations: 185.6 kB / 438.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2903, allocations: 0 / 438.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005088/0.2909, allocations: 253.3 kB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.2909, allocations: 8.031 kB / 439.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2909, allocations: 3.938 kB / 439.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.2909, allocations: 4 kB / 439.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.2911, allocations: 35.91 kB / 439.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.2911, allocations: 4 kB / 439.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.2914, allocations: 31.89 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.2914, allocations: 8 kB / 439.2 MB, free: 14.58 MB / 350.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.0002318/0.2916, allocations: 142 kB / 439.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.2917, allocations: 15.84 kB / 439.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.846e-05/0.2917, allocations: 21.47 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2917, allocations: 4 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.2918, allocations: 3.984 kB / 439.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2918, allocations: 4 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.2921, allocations: 212.5 kB / 439.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2921, allocations: 0 / 439.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.2922, allocations: 15.98 kB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.2922, allocations: 3.938 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.2923, allocations: 15.98 kB / 439.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.2923, allocations: 3.984 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2923, allocations: 0 / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.2929, allocations: 276.9 kB / 439.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.293, allocations: 31.86 kB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.293, allocations: 7.938 kB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.2932, allocations: 23.97 kB / 439.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.2933, allocations: 7.984 kB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2933, allocations: 0 / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004393/0.2937, allocations: 197.5 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2937, allocations: 0 / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005316/0.2942, allocations: 83.8 kB / 440.2 MB, free: 13.46 MB / 350.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.001878/0.2961, allocations: 0.972 MB / 441.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005042/0.2966, allocations: 159.8 kB / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2966, allocations: 4.062 kB / 441.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.2968, allocations: 59.97 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.2971, allocations: 20.17 kB / 441.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.3011, allocations: 2.363 MB / 443.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.3016, allocations: 0.7395 MB / 444.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.3017, allocations: 33.41 kB / 444.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3018, allocations: 51.36 kB / 444.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of SimCode: time 1.412e-06/0.3018, allocations: 0 / 444.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/0.34, allocations: 5.346 MB / 450 MB, free: 3.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.76, allocations: 2.406 kB / 450 MB, free: 3.742 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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.00249994 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.53100507199997]