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.00158/0.00158, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001742/0.001742, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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 1.479/1.479, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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 1.473e-06/1.473e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.376e-05, allocations: 6.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00338/0.003404, allocations: 1.65 MB / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.005861, allocations: 1.18 MB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.005934, allocations: 3.938 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.006274, allocations: 39.7 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.006406, allocations: 43.77 kB / 275.1 MB, free: 14.85 MB / 266.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.0008276/0.007234, allocations: 322.8 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.007468, allocations: 147.6 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.007554, allocations: 5.312 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.007801, allocations: 99.7 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.008376, allocations: 109.2 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.008412, allocations: 12 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005367/0.008949, allocations: 311.2 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.009052, allocations: 55.81 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.009136, allocations: 47.83 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.009738, allocations: 366.9 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.009741, allocations: 0 / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.009741, allocations: 0 / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.009746, allocations: 0 / 276.6 MB, free: 13.41 MB / 266.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.001248/0.01099, allocations: 496.8 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.01103, allocations: 11.98 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.01127, allocations: 36.78 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.01176, allocations: 222.3 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.01178, allocations: 8.375 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.01181, allocations: 8.375 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.01205, allocations: 109.1 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.01206, allocations: 192 / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.01208, allocations: 384 / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.01209, allocations: 7.938 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.01229, allocations: 75.94 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/0.01313, allocations: 368.3 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.01341, allocations: 118.5 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.01354, allocations: 60.83 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.01355, allocations: 0 / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.01381, allocations: 123.3 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.01381, allocations: 0 / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005772/0.01439, allocations: 245.6 kB / 278.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.01446, allocations: 59.34 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.01492, allocations: 240.9 kB / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.01497, allocations: 41.69 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01509, allocations: 116.2 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.397e-05/0.01515, allocations: 47.64 kB / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.01524, allocations: 41.7 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.01546, allocations: 334.8 kB / 279.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.01564, allocations: 83.94 kB / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.01585, allocations: 105.7 kB / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.0162, allocations: 177.6 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.01621, allocations: 3.938 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004976/0.0167, allocations: 265.5 kB / 279.9 MB, free: 9.891 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.01672, allocations: 4 kB / 279.9 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01672, allocations: 4 kB / 279.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01674, allocations: 4.031 kB / 279.9 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.01694, allocations: 39.91 kB / 280 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01694, allocations: 0 / 280 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.01714, allocations: 27.86 kB / 280 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.01716, allocations: 8 kB / 280 MB, free: 9.805 MB / 266.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 0.0001688/0.01733, allocations: 149.7 kB / 280.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.01737, allocations: 19.91 kB / 280.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.01742, allocations: 21.47 kB / 280.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01743, allocations: 4 kB / 280.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.01743, allocations: 0 / 280.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01744, allocations: 3.984 kB / 280.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.01767, allocations: 169.2 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01767, allocations: 0 / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.01779, allocations: 12 kB / 280.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01779, allocations: 0 / 280.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.01782, allocations: 7.984 kB / 280.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01782, allocations: 0 / 280.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01782, allocations: 0 / 280.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005666/0.01838, allocations: 288.8 kB / 280.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.01846, allocations: 35.8 kB / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.01849, allocations: 4 kB / 280.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.01868, allocations: 23.97 kB / 280.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.01873, allocations: 7.984 kB / 280.7 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.01874, allocations: 0 / 280.7 MB, free: 9.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003604/0.0191, allocations: 192.4 kB / 280.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0191, allocations: 4.062 kB / 280.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.01944, allocations: 87.73 kB / 281 MB, free: 8.738 MB / 266.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.00073/0.02017, allocations: 284.1 kB / 281.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.02055, allocations: 163.8 kB / 281.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.02055, allocations: 4 kB / 281.4 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.02071, allocations: 55.97 kB / 281.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.02096, allocations: 31.11 kB / 281.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007054/0.02167, allocations: 345.2 kB / 281.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.02182, allocations: 115.5 kB / 282 MB, free: 7.727 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.526e-05/0.02191, allocations: 33.45 kB / 282 MB, free: 7.695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.02197, allocations: 24.5 kB / 282 MB, free: 7.672 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.02197, allocations: 0 / 282 MB, free: 7.672 MB / 266.7 MB Notification: Performance of Templates: time 0.007505/0.02948, allocations: 3.229 MB / 285.3 MB, free: 4.465 MB / 266.7 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: 4.949824435985647]