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.001737/0.001737, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001449/0.001449, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.557/1.557, allocations: 230.5 MB / 258.2 MB, free: 7.996 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 67.89 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4407, allocations: 53.39 MB / 432 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003973/0.4446, allocations: 1.681 MB / 433.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.4479, allocations: 1.286 MB / 434.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.4481, allocations: 0 / 434.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.4486, allocations: 31.78 kB / 435 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.4487, allocations: 39.7 kB / 435 MB, free: 3.602 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.001161/0.4499, allocations: 315.1 kB / 435.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.4503, allocations: 199.5 kB / 435.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.4504, allocations: 17.25 kB / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.4507, allocations: 95.61 kB / 435.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009027/0.4516, allocations: 113.3 kB / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.4517, allocations: 12 kB / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007769/0.4525, allocations: 327.4 kB / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.4526, allocations: 55.83 kB / 436.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.4528, allocations: 71.58 kB / 436.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007215/0.4535, allocations: 335.2 kB / 436.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.4535, allocations: 0 / 436.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4535, allocations: 4 kB / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.4535, allocations: 0 / 436.5 MB, free: 2.098 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.001626/0.4551, allocations: 492.9 kB / 437 MB, free: 1.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.57e-05/0.4552, allocations: 8.031 kB / 437 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.353e-05/0.4552, allocations: 192 / 437 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.318e-05/0.4553, allocations: 46.67 kB / 437.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.4556, allocations: 28.8 kB / 437.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.4562, allocations: 211.1 kB / 437.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.4562, allocations: 12.34 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.4563, allocations: 12.38 kB / 437.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.4566, allocations: 105.6 kB / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.4566, allocations: 0 / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.4566, allocations: 0 / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.4566, allocations: 0 / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.4569, allocations: 87.8 kB / 437.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.4579, allocations: 419.6 kB / 437.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.4582, allocations: 114.5 kB / 438 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.4583, allocations: 64.47 kB / 438.1 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4584, allocations: 0 / 438.1 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.4586, allocations: 119.3 kB / 438.2 MB, free: 284 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.4586, allocations: 0 / 438.2 MB, free: 284 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006273/0.4593, allocations: 233.5 kB / 438.4 MB, free: 44 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/0.4594, allocations: 59.39 kB / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.4598, allocations: 243.8 kB / 438.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.4599, allocations: 41.7 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.46, allocations: 120.1 kB / 438.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.4601, allocations: 43.88 kB / 438.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4602, allocations: 49.64 kB / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.4604, allocations: 330.8 kB / 439.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.4606, allocations: 83.94 kB / 439.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.4608, allocations: 109.4 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.4611, allocations: 185.7 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.4611, allocations: 4 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004961/0.4616, allocations: 249.4 kB / 439.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.4616, allocations: 4 kB / 439.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.4617, allocations: 4 kB / 439.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.4617, allocations: 3.938 kB / 439.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.4619, allocations: 43.92 kB / 440 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.4619, allocations: 3.938 kB / 440 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.4621, allocations: 27.88 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.4621, allocations: 7.984 kB / 440 MB, free: 14.4 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.000211/0.4623, allocations: 141.8 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.4624, allocations: 15.91 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.639e-05/0.4625, allocations: 21.41 kB / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4625, allocations: 4 kB / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4625, allocations: 0 / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.4625, allocations: 7.984 kB / 440.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.4628, allocations: 216.5 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4628, allocations: 0 / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.4629, allocations: 15.98 kB / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4629, allocations: 0 / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.463, allocations: 11.92 kB / 440.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.463, allocations: 0 / 440.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.463, allocations: 0 / 440.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.4636, allocations: 276.9 kB / 440.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/0.4637, allocations: 35.86 kB / 440.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.4637, allocations: 7.938 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.4639, allocations: 19.97 kB / 440.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.464, allocations: 11.98 kB / 440.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.464, allocations: 0 / 440.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003651/0.4643, allocations: 193.5 kB / 441 MB, free: 13.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4643, allocations: 0 / 441 MB, free: 13.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004765/0.4648, allocations: 87.8 kB / 441.1 MB, free: 13.29 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.001661/0.4665, allocations: 0.9722 MB / 442 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005068/0.467, allocations: 171.4 kB / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.467, allocations: 0 / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.4671, allocations: 59.91 kB / 442.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.4675, allocations: 18.75 kB / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/0.4717, allocations: 2.363 MB / 444.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.4721, allocations: 0.7278 MB / 445.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.4722, allocations: 41.38 kB / 445.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.4723, allocations: 51.36 kB / 445.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4723, allocations: 3.938 kB / 445.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.5051, allocations: 5.375 MB / 450.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.45, allocations: 3.844 kB / 450.8 MB, free: 3.504 MB / 350.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.495202370977495]