Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 55.91 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002838/0.2513, allocations: 1.618 MB / 424.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.2534, allocations: 1.146 MB / 425.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.2535, allocations: 4 kB / 425.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.2538, allocations: 35.77 kB / 425.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.254, allocations: 47.77 kB / 425.9 MB, free: 11.62 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0007616/0.2547, allocations: 299.1 kB / 426.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.255, allocations: 195.6 kB / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.348e-05/0.2551, allocations: 9.312 kB / 426.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.2553, allocations: 91.67 kB / 426.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005932/0.2559, allocations: 107.5 kB / 426.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.2559, allocations: 12 kB / 426.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005085/0.2564, allocations: 311.4 kB / 426.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.079e-05/0.2565, allocations: 51.83 kB / 427 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.2566, allocations: 59.64 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.2571, allocations: 321.3 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2571, allocations: 0 / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2571, allocations: 0 / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2571, allocations: 0 / 427.3 MB, free: 10.2 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.001136/0.2582, allocations: 0.5038 MB / 427.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2582, allocations: 8.031 kB / 427.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.2584, allocations: 28.83 kB / 427.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.2589, allocations: 214.9 kB / 428.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.2589, allocations: 8 kB / 428.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.2589, allocations: 8 kB / 428.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.2592, allocations: 105.6 kB / 428.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2592, allocations: 7.938 kB / 428.2 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2592, allocations: 0 / 428.2 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2592, allocations: 0 / 428.2 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.2594, allocations: 79.94 kB / 428.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007735/0.2602, allocations: 368.3 kB / 428.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.2604, allocations: 122.4 kB / 428.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.2605, allocations: 56.83 kB / 428.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.2605, allocations: 0 / 428.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.2608, allocations: 115.3 kB / 428.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.2608, allocations: 0 / 428.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005015/0.2613, allocations: 236.7 kB / 429.2 MB, free: 8.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.2613, allocations: 63.41 kB / 429.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.2617, allocations: 251.6 kB / 429.5 MB, free: 7.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.2618, allocations: 37.69 kB / 429.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.2618, allocations: 116.2 kB / 429.6 MB, free: 7.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.2619, allocations: 51.62 kB / 429.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/0.262, allocations: 45.7 kB / 429.7 MB, free: 7.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2621, allocations: 334.8 kB / 430.1 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.2623, allocations: 79.89 kB / 430.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.2624, allocations: 109.7 kB / 430.2 MB, free: 7.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.2627, allocations: 181.6 kB / 430.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2627, allocations: 4 kB / 430.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004205/0.2632, allocations: 249.6 kB / 430.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2632, allocations: 15.86 kB / 430.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2632, allocations: 0 / 430.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2632, allocations: 4 kB / 430.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2634, allocations: 27.98 kB / 430.7 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2634, allocations: 8.031 kB / 430.7 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.2636, allocations: 27.86 kB / 430.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2636, allocations: 8 kB / 430.8 MB, free: 6.598 MB / 334.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.0001334/0.2637, allocations: 141.5 kB / 430.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.2637, allocations: 19.8 kB / 430.9 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.903e-05/0.2638, allocations: 29.45 kB / 430.9 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2638, allocations: 3.938 kB / 430.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2638, allocations: 0 / 430.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2638, allocations: 4.094 kB / 431 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.264, allocations: 169.3 kB / 431.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.264, allocations: 0 / 431.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.2641, allocations: 15.98 kB / 431.1 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2641, allocations: 4 kB / 431.1 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2642, allocations: 3.938 kB / 431.1 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2642, allocations: 0 / 431.1 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2642, allocations: 0 / 431.1 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.2646, allocations: 284.3 kB / 431.4 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2647, allocations: 35.92 kB / 431.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.2648, allocations: 11.94 kB / 431.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.2649, allocations: 15.97 kB / 431.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.265, allocations: 11.98 kB / 431.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.265, allocations: 4 kB / 431.5 MB, free: 5.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.2653, allocations: 189.4 kB / 431.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2653, allocations: 0 / 431.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000361/0.2657, allocations: 87.8 kB / 431.8 MB, free: 5.531 MB / 334.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.0006075/0.2663, allocations: 272.8 kB / 432 MB, free: 5.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.2666, allocations: 157.7 kB / 432.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2666, allocations: 0 / 432.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2668, allocations: 67.94 kB / 432.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.267, allocations: 16 kB / 432.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.2677, allocations: 374 kB / 432.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.2678, allocations: 119.4 kB / 432.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.504e-05/0.2679, allocations: 29.41 kB / 432.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.2679, allocations: 19.42 kB / 432.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2679, allocations: 0 / 432.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of Templates: time 0.007097/0.275, allocations: 3.193 MB / 436 MB, free: 1.312 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.1337047927081585]