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.002197/0.002197, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.002044/0.002044, allocations: 219 kB / 23 MB, free: 5.574 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.565/1.565, allocations: 230.2 MB / 256.2 MB, free: 8.551 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: translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 59.91 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002973/0.3664, allocations: 1.685 MB / 431.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.3687, allocations: 1.278 MB / 432.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.3688, allocations: 0 / 432.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.3692, allocations: 27.8 kB / 432.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3693, allocations: 39.75 kB / 432.8 MB, free: 4.477 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.0008228/0.3701, allocations: 295.1 kB / 433.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.3704, allocations: 179.6 kB / 433.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.3705, allocations: 17.06 kB / 433.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.3707, allocations: 91.61 kB / 433.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.3714, allocations: 110.3 kB / 433.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.3714, allocations: 12 kB / 433.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.3719, allocations: 287.5 kB / 433.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.372, allocations: 59.75 kB / 433.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.3721, allocations: 63.59 kB / 433.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.3726, allocations: 336.1 kB / 434.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3726, allocations: 7.984 kB / 434.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3726, allocations: 0 / 434.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3726, allocations: 0 / 434.3 MB, free: 3.059 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.001284/0.3739, allocations: 0.5528 MB / 434.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3739, allocations: 8.031 kB / 434.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.3741, allocations: 32.78 kB / 434.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.3746, allocations: 273 kB / 435.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3747, allocations: 8.312 kB / 435.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.3747, allocations: 12.31 kB / 435.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.3749, allocations: 102 kB / 435.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3749, allocations: 7.984 kB / 435.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.375, allocations: 4 kB / 435.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.375, allocations: 0 / 435.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.3752, allocations: 75.94 kB / 435.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.376, allocations: 460.4 kB / 435.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.3763, allocations: 118.5 kB / 435.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3764, allocations: 52.83 kB / 435.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.3765, allocations: 0 / 435.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.3767, allocations: 119.4 kB / 436 MB, free: 1.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3767, allocations: 4 kB / 436.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005368/0.3772, allocations: 233.6 kB / 436.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.3773, allocations: 55.41 kB / 436.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/0.3777, allocations: 243.8 kB / 436.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.3778, allocations: 45.69 kB / 436.6 MB, free: 500 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.3778, allocations: 112.1 kB / 436.7 MB, free: 384 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.3779, allocations: 47.78 kB / 436.8 MB, free: 336 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.378, allocations: 45.7 kB / 436.8 MB, free: 284 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3781, allocations: 334.8 kB / 437.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3783, allocations: 83.89 kB / 437.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.3785, allocations: 109.6 kB / 437.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3788, allocations: 177.6 kB / 437.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3788, allocations: 0 / 437.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005291/0.3793, allocations: 261.3 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3793, allocations: 4 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3793, allocations: 4 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3794, allocations: 0 / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.3796, allocations: 31.92 kB / 437.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3796, allocations: 3.938 kB / 437.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.3798, allocations: 43.81 kB / 437.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.3798, allocations: 11.98 kB / 437.9 MB, free: 15.21 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.000144/0.3799, allocations: 141.8 kB / 438 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.38, allocations: 11.91 kB / 438 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.38, allocations: 25.52 kB / 438 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.38, allocations: 3.938 kB / 438 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.38, allocations: 96 / 438 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.38, allocations: 3.938 kB / 438 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.3803, allocations: 245.5 kB / 438.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3803, allocations: 0 / 438.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3804, allocations: 19.92 kB / 438.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3804, allocations: 0 / 438.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3805, allocations: 4 kB / 438.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3805, allocations: 3.938 kB / 438.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3805, allocations: 0 / 438.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.381, allocations: 279.9 kB / 438.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3811, allocations: 108.9 kB / 438.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3812, allocations: 11.94 kB / 438.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3814, allocations: 23.91 kB / 438.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.3814, allocations: 7.984 kB / 438.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3814, allocations: 4 kB / 438.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003648/0.3818, allocations: 185.5 kB / 438.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3818, allocations: 4.062 kB / 438.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004831/0.3823, allocations: 87.8 kB / 439 MB, free: 13.96 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.0008087/0.3831, allocations: 265.6 kB / 439.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.3835, allocations: 159.8 kB / 439.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3835, allocations: 0 / 439.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3837, allocations: 63.91 kB / 439.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3839, allocations: 16.17 kB / 439.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.3848, allocations: 369.2 kB / 439.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.3852, allocations: 0.728 MB / 440.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.3853, allocations: 29.41 kB / 440.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.3854, allocations: 15.44 kB / 440.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3854, allocations: 4 kB / 440.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Templates: time 0.008328/0.3937, allocations: 3.088 MB / 443.7 MB, free: 9.215 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.424149860627949]