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.0008481/0.0008481, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008441/0.0008441, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8897/0.8897, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.443e-06/1.443e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.751e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002035/0.002052, allocations: 1.643 MB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.003454, allocations: 1.2 MB / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.003532, allocations: 0 / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.003835, allocations: 39.7 kB / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.661e-05/0.003921, allocations: 43.7 kB / 327.4 MB, free: 12.93 MB / 298.7 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.0006301/0.004551, allocations: 314.9 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.004762, allocations: 151.6 kB / 327.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.064e-05/0.004843, allocations: 9.266 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.005027, allocations: 103.6 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.005378, allocations: 95.47 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.005407, allocations: 12 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.005744, allocations: 311.2 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.005816, allocations: 55.81 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.005863, allocations: 39.84 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.006245, allocations: 375 kB / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.006247, allocations: 0 / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.006248, allocations: 0 / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.006253, allocations: 3.984 kB / 328.9 MB, free: 11.48 MB / 298.7 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.0007337/0.006987, allocations: 488.9 kB / 329.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.007022, allocations: 11.98 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.007053, allocations: 46.67 kB / 329.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.007171, allocations: 36.72 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.007446, allocations: 222.3 kB / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.00746, allocations: 8.375 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.00748, allocations: 4.375 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.007615, allocations: 106.1 kB / 329.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.007625, allocations: 4.188 kB / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.007635, allocations: 4.125 kB / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.007639, allocations: 0 / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.007756, allocations: 79.94 kB / 329.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.008245, allocations: 395.7 kB / 330.3 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.008406, allocations: 114.5 kB / 330.4 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.008468, allocations: 56.83 kB / 330.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.008478, allocations: 0 / 330.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.008611, allocations: 130.8 kB / 330.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.008612, allocations: 0 / 330.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003015/0.008914, allocations: 229.6 kB / 330.8 MB, free: 9.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.008944, allocations: 63.34 kB / 330.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.009166, allocations: 247.9 kB / 331.1 MB, free: 9.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.009188, allocations: 37.7 kB / 331.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.00924, allocations: 116.1 kB / 331.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.009273, allocations: 43.78 kB / 331.3 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.009324, allocations: 49.7 kB / 331.3 MB, free: 8.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.009402, allocations: 334.8 kB / 331.7 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.009498, allocations: 83.95 kB / 331.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.0096, allocations: 105.7 kB / 331.8 MB, free: 8.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.00978, allocations: 181.7 kB / 332 MB, free: 8.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009782, allocations: 0 / 332 MB, free: 8.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002549/0.01004, allocations: 261.3 kB / 332.3 MB, free: 7.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.01005, allocations: 15 kB / 332.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01006, allocations: 0 / 332.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.01007, allocations: 0 / 332.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.01016, allocations: 31.92 kB / 332.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01017, allocations: 3.984 kB / 332.3 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.01026, allocations: 35.8 kB / 332.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.01027, allocations: 4 kB / 332.4 MB, free: 7.805 MB / 298.7 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 7.974e-05/0.01035, allocations: 137.9 kB / 332.5 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.01037, allocations: 23.84 kB / 332.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.0104, allocations: 21.45 kB / 332.5 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.0104, allocations: 4 kB / 332.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.0104, allocations: 0 / 332.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01041, allocations: 3.938 kB / 332.5 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.01055, allocations: 204.5 kB / 332.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01055, allocations: 0 / 332.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.01061, allocations: 19.92 kB / 332.8 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.01061, allocations: 0 / 332.8 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01062, allocations: 3.984 kB / 332.8 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01062, allocations: 0 / 332.8 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01063, allocations: 8 kB / 332.8 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.01091, allocations: 272.8 kB / 333 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.01096, allocations: 31.86 kB / 333.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01098, allocations: 8 kB / 333.1 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.01106, allocations: 19.97 kB / 333.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.0111, allocations: 7.984 kB / 333.1 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.0111, allocations: 7.938 kB / 333.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.01127, allocations: 193.5 kB / 333.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01127, allocations: 0 / 333.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.01151, allocations: 87.8 kB / 333.4 MB, free: 6.707 MB / 298.7 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.0008123/0.01232, allocations: 0.9771 MB / 334.4 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.01256, allocations: 163.8 kB / 334.5 MB, free: 5.566 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01256, allocations: 0 / 334.5 MB, free: 5.566 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.01264, allocations: 63.84 kB / 334.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.0128, allocations: 25.89 kB / 334.6 MB, free: 5.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.01488, allocations: 2.357 MB / 337 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.978e-05/0.01495, allocations: 115.4 kB / 337.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.01501, allocations: 33.45 kB / 337.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.01508, allocations: 52.48 kB / 337.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01508, allocations: 0 / 337.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.03289, allocations: 5.971 MB / 343.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/6.939, allocations: 7.156 kB / 343.1 MB, free: 12.93 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/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: 11.121796657331288]