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.002082/0.002082, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002782/0.002782, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.564/1.564, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.002075/0.002075, allocations: 63.84 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2858, allocations: 53.4 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003252/0.2891, allocations: 1.642 MB / 433.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2915, allocations: 1.192 MB / 434.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.2916, allocations: 0 / 434.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.2919, allocations: 39.7 kB / 434.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.2921, allocations: 39.75 kB / 434.5 MB, free: 3.609 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.0008078/0.2929, allocations: 303.2 kB / 434.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.2932, allocations: 203.4 kB / 435 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.2933, allocations: 17.25 kB / 435.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.2935, allocations: 91.67 kB / 435.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005832/0.2941, allocations: 102.4 kB / 435.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.2941, allocations: 12 kB / 435.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.2947, allocations: 315.4 kB / 435.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.756e-05/0.2948, allocations: 51.88 kB / 435.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.2948, allocations: 63.64 kB / 435.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005162/0.2954, allocations: 325.3 kB / 436 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2954, allocations: 4 kB / 436 MB, free: 2.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2954, allocations: 0 / 436 MB, free: 2.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2954, allocations: 3.938 kB / 436 MB, free: 2.152 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.001188/0.2966, allocations: 485 kB / 436.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2966, allocations: 23.92 kB / 436.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.2968, allocations: 28.78 kB / 436.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.2973, allocations: 223 kB / 436.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2973, allocations: 4.375 kB / 436.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.2973, allocations: 8.375 kB / 436.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.2976, allocations: 105.9 kB / 436.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2976, allocations: 0 / 436.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.2976, allocations: 4 kB / 436.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2976, allocations: 4 kB / 436.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.2978, allocations: 83.86 kB / 437 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008527/0.2987, allocations: 360.3 kB / 437.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.299, allocations: 126.4 kB / 437.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.2991, allocations: 60.92 kB / 437.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.2991, allocations: 3.938 kB / 437.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.2993, allocations: 115.3 kB / 437.6 MB, free: 444 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.2994, allocations: 0 / 437.6 MB, free: 444 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005635/0.2999, allocations: 244.3 kB / 437.8 MB, free: 196 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3, allocations: 55.41 kB / 437.9 MB, free: 128 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.3004, allocations: 243.8 kB / 438.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.3005, allocations: 45.67 kB / 438.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.3006, allocations: 116.1 kB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.3006, allocations: 43.88 kB / 438.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.3007, allocations: 49.64 kB / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3008, allocations: 330.8 kB / 438.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.301, allocations: 83.95 kB / 438.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.3012, allocations: 109.3 kB / 438.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.3015, allocations: 185.7 kB / 439.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3015, allocations: 4 kB / 439.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004571/0.302, allocations: 257 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.302, allocations: 7.984 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.302, allocations: 0 / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.302, allocations: 0 / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.3022, allocations: 31.92 kB / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.3022, allocations: 3.938 kB / 439.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.3024, allocations: 31.86 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3024, allocations: 8 kB / 439.4 MB, free: 14.56 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.0001496/0.3026, allocations: 137.8 kB / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.3026, allocations: 19.91 kB / 439.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/0.3026, allocations: 21.45 kB / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3027, allocations: 4 kB / 439.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.3027, allocations: 3.938 kB / 439.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3027, allocations: 3.938 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.3029, allocations: 169.2 kB / 439.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3029, allocations: 0 / 439.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.303, allocations: 15.98 kB / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.303, allocations: 4 kB / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.303, allocations: 4 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.303, allocations: 0 / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.303, allocations: 0 / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.3036, allocations: 284.8 kB / 440.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.3037, allocations: 31.81 kB / 440.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.3037, allocations: 8 kB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3039, allocations: 19.97 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.304, allocations: 12.05 kB / 440.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.304, allocations: 11.94 kB / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000357/0.3043, allocations: 189.4 kB / 440.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3043, allocations: 0 / 440.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000362/0.3047, allocations: 87.8 kB / 440.4 MB, free: 13.5 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.0007064/0.3054, allocations: 268.7 kB / 440.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.3058, allocations: 155.9 kB / 440.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3058, allocations: 0 / 440.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.3059, allocations: 64.02 kB / 440.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.3062, allocations: 18.66 kB / 440.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.3069, allocations: 365.6 kB / 441.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.307, allocations: 111.3 kB / 441.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.3071, allocations: 37.39 kB / 441.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.3072, allocations: 19.42 kB / 441.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3072, allocations: 4 kB / 441.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Templates: time 0.007476/0.3147, allocations: 3.24 MB / 444.7 MB, free: 9.23 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.297848636284471]