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.001817/0.001817, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002138/0.002138, allocations: 204.1 kB / 24.47 MB, free: 4.023 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.518/1.518, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.002166/0.002166, allocations: 71.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3007, allocations: 53.32 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003213/0.3039, allocations: 1.679 MB / 433.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3064, allocations: 1.278 MB / 435 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.667e-05/0.3065, allocations: 0 / 435 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.3068, allocations: 35.66 kB / 435 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.307, allocations: 47.77 kB / 435.1 MB, free: 4.348 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.0008548/0.3078, allocations: 283.2 kB / 435.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.3081, allocations: 179.5 kB / 435.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3082, allocations: 17.08 kB / 435.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.3085, allocations: 91.64 kB / 435.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.3092, allocations: 107.6 kB / 435.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.3092, allocations: 12 kB / 435.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005529/0.3098, allocations: 287.5 kB / 436 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3099, allocations: 51.89 kB / 436.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.31, allocations: 75.52 kB / 436.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.3106, allocations: 332.8 kB / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3106, allocations: 0 / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3106, allocations: 0 / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3106, allocations: 0 / 436.5 MB, free: 2.945 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.001277/0.3118, allocations: 0.5567 MB / 437.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3119, allocations: 8.031 kB / 437.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.3121, allocations: 32.78 kB / 437.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.3126, allocations: 272.9 kB / 437.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3127, allocations: 8.375 kB / 437.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.3127, allocations: 12.12 kB / 437.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.3129, allocations: 109.6 kB / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3129, allocations: 0 / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3129, allocations: 0 / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.313, allocations: 0 / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.3131, allocations: 83.88 kB / 437.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.314, allocations: 448.5 kB / 438 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.3143, allocations: 114.5 kB / 438.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3144, allocations: 56.92 kB / 438.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.3144, allocations: 3.938 kB / 438.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.3147, allocations: 119.3 kB / 438.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.3147, allocations: 0 / 438.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005268/0.3152, allocations: 237.5 kB / 438.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3152, allocations: 63.39 kB / 438.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.3157, allocations: 251.7 kB / 438.8 MB, free: 420 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.3157, allocations: 37.7 kB / 438.9 MB, free: 376 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.3159, allocations: 112.1 kB / 439 MB, free: 260 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/0.3159, allocations: 47.78 kB / 439 MB, free: 212 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.316, allocations: 45.7 kB / 439.1 MB, free: 160 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000296/0.3163, allocations: 334.8 kB / 439.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.3165, allocations: 79.95 kB / 439.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.3167, allocations: 105.7 kB / 439.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.317, allocations: 190.4 kB / 439.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.317, allocations: 0 / 439.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004428/0.3174, allocations: 253.3 kB / 440 MB, free: 15.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3175, allocations: 8 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3175, allocations: 7.938 kB / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3175, allocations: 0 / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.3177, allocations: 39.95 kB / 440.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3177, allocations: 3.984 kB / 440.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.3179, allocations: 27.86 kB / 440.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.3179, allocations: 8 kB / 440.1 MB, free: 15.09 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.0001613/0.3181, allocations: 141.8 kB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.3181, allocations: 15.91 kB / 440.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/0.3182, allocations: 29.45 kB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3182, allocations: 4 kB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3182, allocations: 0 / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3182, allocations: 0 / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.3185, allocations: 241.5 kB / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3185, allocations: 0 / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3186, allocations: 15.98 kB / 440.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3186, allocations: 0 / 440.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.3186, allocations: 11.94 kB / 440.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3186, allocations: 0 / 440.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3186, allocations: 0 / 440.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.3191, allocations: 286.8 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.3192, allocations: 108.9 kB / 440.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.3193, allocations: 11.92 kB / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3195, allocations: 19.98 kB / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.3195, allocations: 7.984 kB / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3195, allocations: 4 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003386/0.3199, allocations: 189.5 kB / 441.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3199, allocations: 192 / 441.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.3203, allocations: 91.73 kB / 441.3 MB, free: 13.85 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.0006911/0.321, allocations: 264.2 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.3214, allocations: 155.9 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3214, allocations: 4 kB / 441.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3215, allocations: 55.95 kB / 441.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.3218, allocations: 20.06 kB / 441.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.3225, allocations: 361.2 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3229, allocations: 0.7319 MB / 442.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.572e-05/0.323, allocations: 33.41 kB / 442.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.323, allocations: 19.42 kB / 442.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.323, allocations: 0 / 442.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Templates: time 0.00732/0.3303, allocations: 3.098 MB / 446 MB, free: 9.102 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.131149783730507]