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.001376/0.001376, allocations: 110 kB / 20.43 MB, free: 1.453 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.001599/0.001599, allocations: 213.3 kB / 23.74 MB, free: 4.66 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.538/1.538, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.001942/0.001942, allocations: 72.09 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3799, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003317/0.3833, allocations: 1.688 MB / 432.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.3857, allocations: 1.282 MB / 434.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.3858, allocations: 0 / 434.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.3862, allocations: 27.78 kB / 434.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.3863, allocations: 43.77 kB / 434.2 MB, free: 3.637 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.000871/0.3872, allocations: 315 kB / 434.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.3875, allocations: 195.6 kB / 434.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3876, allocations: 21.25 kB / 434.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.3879, allocations: 95.59 kB / 434.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006726/0.3885, allocations: 109.1 kB / 434.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.3886, allocations: 12 kB / 435 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005836/0.3892, allocations: 323.4 kB / 435.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3893, allocations: 59.81 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.3894, allocations: 71.58 kB / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005783/0.3899, allocations: 331.2 kB / 435.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.39, allocations: 0 / 435.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.39, allocations: 3.938 kB / 435.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.39, allocations: 0 / 435.7 MB, free: 2.141 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.001227/0.3912, allocations: 0.4892 MB / 436.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.3912, allocations: 8.031 kB / 436.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.3913, allocations: 38.75 kB / 436.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.3915, allocations: 32.78 kB / 436.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.392, allocations: 215 kB / 436.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.392, allocations: 12.38 kB / 436.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.392, allocations: 8.375 kB / 436.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.3923, allocations: 101.8 kB / 436.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3923, allocations: 4 kB / 436.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3923, allocations: 0 / 436.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3923, allocations: 0 / 436.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.3925, allocations: 83.88 kB / 436.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.3934, allocations: 431.5 kB / 437.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.3936, allocations: 110.5 kB / 437.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3938, allocations: 60.81 kB / 437.3 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.3938, allocations: 4 kB / 437.3 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.394, allocations: 119.4 kB / 437.4 MB, free: 316 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.394, allocations: 0 / 437.4 MB, free: 316 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005077/0.3945, allocations: 237.2 kB / 437.6 MB, free: 76 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3946, allocations: 55.41 kB / 437.7 MB, free: 8 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.395, allocations: 247.8 kB / 437.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.395, allocations: 37.7 kB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3952, allocations: 120.1 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.3952, allocations: 43.77 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.84e-05/0.3953, allocations: 49.7 kB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3954, allocations: 334.8 kB / 438.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3956, allocations: 79.95 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.3958, allocations: 109.4 kB / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.3961, allocations: 181.8 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3961, allocations: 0 / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004316/0.3965, allocations: 261.3 kB / 439.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3965, allocations: 4 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3965, allocations: 4 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3966, allocations: 7.969 kB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3967, allocations: 28.02 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3967, allocations: 7.938 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.3969, allocations: 35.8 kB / 439.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.397, allocations: 4 kB / 439.2 MB, free: 14.44 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.0001459/0.3971, allocations: 137.8 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3971, allocations: 11.91 kB / 439.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.3972, allocations: 29.45 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3972, allocations: 3.938 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3972, allocations: 0 / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3972, allocations: 0 / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.3975, allocations: 220.5 kB / 439.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3975, allocations: 0 / 439.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.3976, allocations: 19.98 kB / 439.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3976, allocations: 0 / 439.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3976, allocations: 8 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3976, allocations: 3.938 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3976, allocations: 0 / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.3981, allocations: 280.9 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.3982, allocations: 27.88 kB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.3982, allocations: 8 kB / 440 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.3984, allocations: 23.91 kB / 440 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.3985, allocations: 7.984 kB / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.3985, allocations: 4.062 kB / 440 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004116/0.3989, allocations: 197.4 kB / 440.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3989, allocations: 0 / 440.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004769/0.3994, allocations: 83.8 kB / 440.3 MB, free: 13.32 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.001566/0.4009, allocations: 0.9603 MB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.4014, allocations: 171.1 kB / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4014, allocations: 0 / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.4015, allocations: 63.91 kB / 441.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.4018, allocations: 18.73 kB / 441.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.4055, allocations: 2.356 MB / 443.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.4058, allocations: 0.7395 MB / 444.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.406, allocations: 33.39 kB / 444.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.4061, allocations: 51.41 kB / 444.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4061, allocations: 0 / 444.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04082/0.4469, allocations: 5.343 MB / 450 MB, free: 3.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.13, allocations: 8.109 kB / 450 MB, free: 3.566 MB / 350.1 MB " [Timeout remaining time 648] (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.888819839998177]