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.001846/0.001846, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002498/0.002498, allocations: 206.3 kB / 23.73 MB, free: 4.379 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 1.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001671/0.001671, allocations: 51.94 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2702, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003055/0.2733, allocations: 1.63 MB / 433.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.2756, allocations: 1.204 MB / 434.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/0.2757, allocations: 0 / 434.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.276, allocations: 27.73 kB / 434.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.2761, allocations: 43.75 kB / 434.5 MB, free: 3.781 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.0008125/0.2769, allocations: 303.2 kB / 434.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.2773, allocations: 207.5 kB / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2774, allocations: 13.27 kB / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.2776, allocations: 95.66 kB / 435.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005672/0.2781, allocations: 113.8 kB / 435.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.2782, allocations: 12 kB / 435.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.2787, allocations: 323.4 kB / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.712e-05/0.2788, allocations: 63.75 kB / 435.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.014e-05/0.2789, allocations: 51.72 kB / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.2794, allocations: 333.2 kB / 436 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2794, allocations: 0 / 436 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2794, allocations: 0 / 436 MB, free: 2.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2794, allocations: 0 / 436 MB, free: 2.301 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.00129/0.2807, allocations: 492.9 kB / 436.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2807, allocations: 12.03 kB / 436.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.281, allocations: 28.78 kB / 436.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.2815, allocations: 219 kB / 436.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2815, allocations: 8.375 kB / 436.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.2815, allocations: 12.12 kB / 436.7 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.2818, allocations: 105.6 kB / 436.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2818, allocations: 0 / 436.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2818, allocations: 4 kB / 436.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2818, allocations: 0 / 436.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.282, allocations: 83.88 kB / 436.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.2828, allocations: 380.2 kB / 437.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.2831, allocations: 114.5 kB / 437.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2832, allocations: 56.92 kB / 437.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.2832, allocations: 3.938 kB / 437.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.2835, allocations: 115.3 kB / 437.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.2835, allocations: 0 / 437.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005051/0.284, allocations: 241.1 kB / 437.8 MB, free: 352 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.284, allocations: 55.41 kB / 437.9 MB, free: 284 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.2844, allocations: 247.8 kB / 438.1 MB, free: 28 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.2845, allocations: 37.69 kB / 438.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.2846, allocations: 116.1 kB / 438.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.2846, allocations: 51.77 kB / 438.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.2847, allocations: 41.7 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2849, allocations: 334.8 kB / 438.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.285, allocations: 83.95 kB / 438.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.2852, allocations: 109.6 kB / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.2855, allocations: 181.6 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2855, allocations: 0 / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004524/0.286, allocations: 257.6 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.286, allocations: 4.094 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.286, allocations: 3.938 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.286, allocations: 3.938 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.2862, allocations: 31.92 kB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2862, allocations: 0 / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.2864, allocations: 39.83 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.2864, allocations: 8 kB / 439.4 MB, free: 14.71 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.0001397/0.2866, allocations: 145.7 kB / 439.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.2866, allocations: 15.91 kB / 439.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.2867, allocations: 21.45 kB / 439.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2867, allocations: 7.938 kB / 439.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2867, allocations: 0 / 439.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2867, allocations: 0 / 439.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.2869, allocations: 169.2 kB / 439.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2869, allocations: 0 / 439.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.287, allocations: 15.98 kB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.287, allocations: 0 / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.287, allocations: 4 kB / 439.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.287, allocations: 0 / 439.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.287, allocations: 3.938 kB / 439.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.2876, allocations: 280.9 kB / 440 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/0.2876, allocations: 31.81 kB / 440.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.2877, allocations: 8 kB / 440.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.2879, allocations: 28.03 kB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.2879, allocations: 11.92 kB / 440.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.2879, allocations: 4 kB / 440.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003483/0.2883, allocations: 189.4 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2883, allocations: 0 / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.2887, allocations: 91.78 kB / 440.4 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.000646/0.2893, allocations: 270.7 kB / 440.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.2897, allocations: 163.8 kB / 440.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2897, allocations: 4 kB / 440.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.2898, allocations: 55.97 kB / 440.9 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.0002274/0.2901, allocations: 17.38 kB / 440.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.2908, allocations: 373.8 kB / 441.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.2909, allocations: 115.4 kB / 441.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.351e-05/0.291, allocations: 29.41 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.291, allocations: 19.42 kB / 441.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.291, allocations: 0 / 441.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of Templates: time 0.007687/0.2987, allocations: 3.27 MB / 444.7 MB, free: 9.355 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 -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/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_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: 5.430630106944591]