Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.005699/0.005699, allocations: 109.7 kB / 21.98 MB, free: 5.184 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.001471/0.001471, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 259 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.88 kB / 379.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3232, allocations: 53.36 MB / 433.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003058/0.3263, allocations: 1.68 MB / 434.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.3287, allocations: 1.282 MB / 436.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.3288, allocations: 4 kB / 436.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.3291, allocations: 35.77 kB / 436.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.3292, allocations: 35.78 kB / 436.2 MB, free: 3.898 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.000838/0.3301, allocations: 315 kB / 436.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.3304, allocations: 199.5 kB / 436.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3305, allocations: 21.25 kB / 436.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.3307, allocations: 87.67 kB / 436.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006226/0.3314, allocations: 110 kB / 436.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.3314, allocations: 12 kB / 436.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.3319, allocations: 331.4 kB / 437.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.332, allocations: 55.81 kB / 437.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.677e-05/0.3321, allocations: 71.58 kB / 437.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.3326, allocations: 332.1 kB / 437.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3326, allocations: 4 kB / 437.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3326, allocations: 0 / 437.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3327, allocations: 0 / 437.7 MB, free: 2.402 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.001194/0.3338, allocations: 492.9 kB / 438.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3339, allocations: 12.03 kB / 438.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.3341, allocations: 28.78 kB / 438.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.3346, allocations: 219 kB / 438.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3346, allocations: 8.375 kB / 438.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.3346, allocations: 16.12 kB / 438.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.3349, allocations: 101.6 kB / 438.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3349, allocations: 3.938 kB / 438.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3349, allocations: 0 / 438.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3349, allocations: 4 kB / 438.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.3351, allocations: 71.94 kB / 438.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.336, allocations: 431.5 kB / 439.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.3363, allocations: 122.5 kB / 439.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3364, allocations: 48.83 kB / 439.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3364, allocations: 11.98 kB / 439.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.3366, allocations: 119.4 kB / 439.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.3367, allocations: 0 / 439.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005085/0.3372, allocations: 233.6 kB / 439.6 MB, free: 392 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.3372, allocations: 55.41 kB / 439.6 MB, free: 324 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.3377, allocations: 247.8 kB / 439.9 MB, free: 68 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.3377, allocations: 45.62 kB / 439.9 MB, free: 16 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.3378, allocations: 112.1 kB / 440 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.3378, allocations: 47.78 kB / 440.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.3379, allocations: 41.7 kB / 440.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3381, allocations: 338.8 kB / 440.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3382, allocations: 79.95 kB / 440.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.3384, allocations: 113.6 kB / 440.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.3387, allocations: 173.6 kB / 440.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3387, allocations: 0 / 440.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000444/0.3392, allocations: 257.3 kB / 441.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3392, allocations: 7.984 kB / 441.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3392, allocations: 3.938 kB / 441.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3392, allocations: 8.031 kB / 441.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3394, allocations: 27.92 kB / 441.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3394, allocations: 0 / 441.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.3396, allocations: 35.8 kB / 441.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.3396, allocations: 8 kB / 441.2 MB, free: 14.75 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.0001364/0.3398, allocations: 133.8 kB / 441.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.3398, allocations: 15.91 kB / 441.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.3399, allocations: 29.39 kB / 441.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3399, allocations: 4 kB / 441.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3399, allocations: 0 / 441.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3399, allocations: 3.938 kB / 441.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.3401, allocations: 216.7 kB / 441.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3401, allocations: 3.938 kB / 441.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3403, allocations: 12 kB / 441.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.3403, allocations: 3.984 kB / 441.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.3403, allocations: 3.938 kB / 441.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.3403, allocations: 4 kB / 441.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3403, allocations: 4 kB / 441.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.3408, allocations: 268.9 kB / 441.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.3409, allocations: 43.8 kB / 441.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.3409, allocations: 7.938 kB / 441.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3411, allocations: 15.97 kB / 441.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.3411, allocations: 11.98 kB / 441.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3411, allocations: 8.062 kB / 441.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003298/0.3415, allocations: 185.4 kB / 442.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3415, allocations: 0 / 442.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.3418, allocations: 87.8 kB / 442.2 MB, free: 13.64 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.0006492/0.3425, allocations: 271.1 kB / 442.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.3429, allocations: 161.2 kB / 442.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3429, allocations: 0 / 442.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.343, allocations: 63.97 kB / 442.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.3432, allocations: 19.98 kB / 442.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.344, allocations: 391.5 kB / 443.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.3443, allocations: 0.7279 MB / 443.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.3444, allocations: 23.44 kB / 443.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3444, allocations: 0 / 443.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Templates: time 0.006566/0.351, allocations: 3.551 MB / 447.4 MB, free: 8.414 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 10.08979284693487]