Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 111 kB / 21.19 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 215.5 kB / 24.48 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.178/2.178, allocations: 230.6 MB / 258.2 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 39.94 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3205, allocations: 53.38 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003992/0.3245, allocations: 1.646 MB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.3279, allocations: 1.193 MB / 435.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.3281, allocations: 0 / 435.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.3285, allocations: 35.72 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.3287, allocations: 39.77 kB / 435.2 MB, free: 3.785 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.001126/0.3299, allocations: 307.2 kB / 435.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.3303, allocations: 199.5 kB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3304, allocations: 17.2 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.3308, allocations: 91.72 kB / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008378/0.3316, allocations: 111.6 kB / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.3317, allocations: 19.94 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007657/0.3324, allocations: 319.4 kB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3326, allocations: 51.81 kB / 436.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3327, allocations: 59.66 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.3334, allocations: 328.5 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3334, allocations: 0 / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3334, allocations: 0 / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3334, allocations: 0 / 436.7 MB, free: 2.316 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.001551/0.335, allocations: 0.4891 MB / 437.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.335, allocations: 8.031 kB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.3353, allocations: 36.78 kB / 437.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.3359, allocations: 219.1 kB / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.336, allocations: 4.375 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.336, allocations: 12.12 kB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.3363, allocations: 101.6 kB / 437.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3363, allocations: 3.938 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.3363, allocations: 4 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3363, allocations: 0 / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.3366, allocations: 83.81 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3376, allocations: 376.2 kB / 438 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.3379, allocations: 114.5 kB / 438.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.3381, allocations: 56.83 kB / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3381, allocations: 3.984 kB / 438.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.3384, allocations: 119.3 kB / 438.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.3384, allocations: 0 / 438.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006541/0.339, allocations: 241.6 kB / 438.6 MB, free: 356 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.3391, allocations: 55.41 kB / 438.6 MB, free: 288 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.3396, allocations: 247.8 kB / 438.9 MB, free: 32 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/0.3397, allocations: 33.75 kB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.3398, allocations: 112.1 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/0.3399, allocations: 47.78 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.34, allocations: 41.7 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3401, allocations: 338.8 kB / 439.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.3403, allocations: 83.95 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.3406, allocations: 105.7 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.341, allocations: 177.6 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.341, allocations: 0 / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005904/0.3415, allocations: 261.5 kB / 440 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3416, allocations: 4 kB / 440 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3416, allocations: 0 / 440 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3416, allocations: 11.97 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.3418, allocations: 31.86 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3418, allocations: 4 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.3421, allocations: 35.86 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.3421, allocations: 4 kB / 440.1 MB, free: 14.72 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.0001848/0.3423, allocations: 145.8 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.3424, allocations: 15.91 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.3424, allocations: 21.45 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3424, allocations: 7.938 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3424, allocations: 0 / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3424, allocations: 0 / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.3427, allocations: 165.3 kB / 440.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3427, allocations: 3.938 kB / 440.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.3429, allocations: 15.98 kB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3429, allocations: 4 kB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.3429, allocations: 4 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3429, allocations: 0 / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3429, allocations: 3.938 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.3435, allocations: 286.1 kB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3436, allocations: 35.81 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.3437, allocations: 11.98 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.3439, allocations: 11.98 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.344, allocations: 11.92 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.344, allocations: 7.984 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004066/0.3444, allocations: 189.4 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3444, allocations: 8.062 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004881/0.3449, allocations: 83.8 kB / 441.1 MB, free: 13.66 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.0007466/0.3456, allocations: 275.8 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00047/0.3461, allocations: 165.7 kB / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3461, allocations: 0 / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3463, allocations: 59.97 kB / 441.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3465, allocations: 19.08 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.3474, allocations: 357.7 kB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.3475, allocations: 115.4 kB / 442.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.3476, allocations: 33.39 kB / 442.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.3477, allocations: 19.44 kB / 442.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3477, allocations: 0 / 442.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Templates: time 0.009241/0.3569, allocations: 3.263 MB / 445.4 MB, free: 9.383 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 7.554387905009207]