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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001596/0.001596, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001971, allocations: 215.5 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2785, allocations: 53.4 MB / 431.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002963/0.2815, allocations: 1.653 MB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.2839, allocations: 1.188 MB / 434 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.284, allocations: 4 kB / 434 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.2844, allocations: 31.78 kB / 434 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.2845, allocations: 43.7 kB / 434.1 MB, free: 3.5 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.000751/0.2853, allocations: 303.2 kB / 434.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.2856, allocations: 199.5 kB / 434.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.2856, allocations: 17.25 kB / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.2859, allocations: 91.66 kB / 434.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.2864, allocations: 103.6 kB / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.2864, allocations: 12 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.287, allocations: 311.4 kB / 435.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2871, allocations: 59.8 kB / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.2871, allocations: 55.72 kB / 435.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.2876, allocations: 332.7 kB / 435.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2876, allocations: 0 / 435.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2877, allocations: 0 / 435.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.2877, allocations: 0 / 435.5 MB, free: 2.043 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.0012/0.2889, allocations: 492.9 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.2889, allocations: 11.98 kB / 436 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.289, allocations: 38.75 kB / 436 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.2892, allocations: 32.78 kB / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.2896, allocations: 219 kB / 436.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.2897, allocations: 8.375 kB / 436.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.2897, allocations: 4.375 kB / 436.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.2899, allocations: 117.1 kB / 436.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2899, allocations: 0 / 436.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.29, allocations: 0 / 436.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.29, allocations: 0 / 436.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.2902, allocations: 87.88 kB / 436.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008457/0.291, allocations: 399.6 kB / 436.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.2913, allocations: 122.5 kB / 437 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2914, allocations: 56.81 kB / 437.1 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.2914, allocations: 4.031 kB / 437.1 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.2916, allocations: 115.3 kB / 437.2 MB, free: 240 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.2916, allocations: 0 / 437.2 MB, free: 240 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005054/0.2921, allocations: 233.5 kB / 437.4 MB, free: 0 / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.2922, allocations: 67.39 kB / 437.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.2926, allocations: 243.8 kB / 437.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.2926, allocations: 33.7 kB / 437.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.2927, allocations: 116.1 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.2928, allocations: 51.77 kB / 437.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.2929, allocations: 41.7 kB / 437.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.293, allocations: 334.8 kB / 438.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.2932, allocations: 83.94 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.2933, allocations: 109.6 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.2936, allocations: 189.7 kB / 438.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2936, allocations: 0 / 438.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004205/0.294, allocations: 253 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2941, allocations: 4 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2941, allocations: 0 / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.2941, allocations: 11.92 kB / 438.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.2943, allocations: 35.91 kB / 438.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2943, allocations: 4 kB / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2945, allocations: 31.84 kB / 439 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.2945, allocations: 11.98 kB / 439 MB, free: 14.36 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.0001327/0.2946, allocations: 133.8 kB / 439.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.2946, allocations: 15.91 kB / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.2947, allocations: 21.47 kB / 439.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2947, allocations: 7.938 kB / 439.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.2947, allocations: 0 / 439.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2947, allocations: 3.984 kB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.2949, allocations: 196.6 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2949, allocations: 0 / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.2951, allocations: 15.98 kB / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2951, allocations: 0 / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.2951, allocations: 8 kB / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2951, allocations: 4.031 kB / 439.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2951, allocations: 3.938 kB / 439.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.2956, allocations: 280 kB / 439.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.2957, allocations: 27.88 kB / 439.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.2957, allocations: 4 kB / 439.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.2959, allocations: 35.97 kB / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.2959, allocations: 7.984 kB / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2959, allocations: 0 / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003298/0.2963, allocations: 197.4 kB / 439.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2963, allocations: 0 / 439.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.2966, allocations: 87.78 kB / 440 MB, free: 13.26 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.001286/0.2979, allocations: 0.9678 MB / 441 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.2983, allocations: 167.8 kB / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2983, allocations: 0 / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.2984, allocations: 67.91 kB / 441.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.2986, allocations: 18.48 kB / 441.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.302, allocations: 2.363 MB / 443.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.3021, allocations: 119.2 kB / 443.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.842e-05/0.3022, allocations: 33.41 kB / 443.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.3023, allocations: 51.41 kB / 443.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3023, allocations: 0 / 443.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.3382, allocations: 5.789 MB / 449.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.24, allocations: 14.67 kB / 449.6 MB, free: 3.672 MB / 350.1 MB " [Timeout remaining time 649] (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.00249994 Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.15990114212036]