Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 188.4 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 47.92 kB / 371.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2306, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002866/0.2335, allocations: 1.633 MB / 425 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.2354, allocations: 1.131 MB / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.2355, allocations: 3.938 kB / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2358, allocations: 35.78 kB / 426.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.2359, allocations: 39.77 kB / 426.2 MB, free: 11.54 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0007168/0.2366, allocations: 307.1 kB / 426.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.2369, allocations: 203.5 kB / 426.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.383e-05/0.237, allocations: 13.3 kB / 426.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.2371, allocations: 99.64 kB / 426.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005408/0.2377, allocations: 102.2 kB / 426.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.2377, allocations: 12 kB / 426.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004735/0.2382, allocations: 319.4 kB / 427.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.2383, allocations: 55.81 kB / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.229e-05/0.2384, allocations: 55.66 kB / 427.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.2388, allocations: 329.2 kB / 427.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2388, allocations: 0 / 427.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.2388, allocations: 4 kB / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.2388, allocations: 0 / 427.7 MB, free: 10.07 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.001036/0.2399, allocations: 0.493 MB / 428.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2399, allocations: 8.031 kB / 428.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.799e-05/0.2399, allocations: 4.188 kB / 428.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.24, allocations: 38.73 kB / 428.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.2402, allocations: 28.84 kB / 428.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.2406, allocations: 222.4 kB / 428.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.2406, allocations: 11.98 kB / 428.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.2406, allocations: 4 kB / 428.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.2409, allocations: 109.6 kB / 428.6 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2409, allocations: 3.984 kB / 428.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2409, allocations: 0 / 428.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2409, allocations: 0 / 428.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.2411, allocations: 83.92 kB / 428.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.2419, allocations: 391.7 kB / 429 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.2421, allocations: 130.4 kB / 429.2 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2422, allocations: 52.83 kB / 429.2 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.2422, allocations: 4 kB / 429.2 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.2424, allocations: 115.3 kB / 429.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.2424, allocations: 0 / 429.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004735/0.2429, allocations: 233.5 kB / 429.6 MB, free: 8.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.243, allocations: 59.41 kB / 429.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.2434, allocations: 255.6 kB / 429.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.2434, allocations: 37.69 kB / 429.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.2435, allocations: 112.1 kB / 430 MB, free: 7.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.2435, allocations: 47.78 kB / 430.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.2436, allocations: 41.7 kB / 430.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2438, allocations: 334.8 kB / 430.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.2439, allocations: 83.89 kB / 430.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.2442, allocations: 105.7 kB / 430.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.2445, allocations: 185.6 kB / 430.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2445, allocations: 0 / 430.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004389/0.2449, allocations: 257.5 kB / 431 MB, free: 6.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2449, allocations: 4 kB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2449, allocations: 7.984 kB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2449, allocations: 0 / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.2451, allocations: 23.98 kB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2451, allocations: 4 kB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.2453, allocations: 35.89 kB / 431.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.2453, allocations: 8 kB / 431.1 MB, free: 6.391 MB / 334.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.0001673/0.2455, allocations: 149.4 kB / 431.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.2455, allocations: 19.86 kB / 431.3 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.2456, allocations: 21.45 kB / 431.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2456, allocations: 0 / 431.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2456, allocations: 0 / 431.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2456, allocations: 0 / 431.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.2458, allocations: 192.8 kB / 431.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2458, allocations: 4 kB / 431.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.2459, allocations: 15.98 kB / 431.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2459, allocations: 0 / 431.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.2459, allocations: 7.938 kB / 431.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2459, allocations: 4 kB / 431.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2459, allocations: 0 / 431.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.2464, allocations: 291 kB / 431.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.2465, allocations: 31.95 kB / 431.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.2465, allocations: 11.92 kB / 431.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.2467, allocations: 20.05 kB / 431.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.2467, allocations: 15.95 kB / 431.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2468, allocations: 4 kB / 431.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003083/0.2471, allocations: 185.4 kB / 432.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2471, allocations: 0 / 432.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.2474, allocations: 87.8 kB / 432.2 MB, free: 5.281 MB / 334.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.001275/0.2487, allocations: 0.9781 MB / 433.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.249, allocations: 163.9 kB / 433.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.249, allocations: 0 / 433.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.2492, allocations: 59.95 kB / 433.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.2494, allocations: 19.23 kB / 433.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.2527, allocations: 2.371 MB / 435.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2528, allocations: 115.3 kB / 435.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.566e-05/0.2529, allocations: 37.39 kB / 435.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.54e-05/0.253, allocations: 47.42 kB / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.253, allocations: 0 / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.2808, allocations: 5.405 MB / 441.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.96, allocations: 3.984 kB / 441.4 MB, free: 12.15 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 14.416238281992264]