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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 106.4 kB / 17.74 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 185.4 kB / 18.67 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009761/0.0009761, allocations: 44.08 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2239, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002765/0.2267, allocations: 1.641 MB / 403.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.2286, allocations: 1.199 MB / 404.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.2287, allocations: 3.938 kB / 404.3 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.229, allocations: 31.78 kB / 404.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.2291, allocations: 39.77 kB / 404.3 MB, free: 5.941 MB / 318.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.0006262/0.2297, allocations: 287.2 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.2299, allocations: 183.5 kB / 404.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.23, allocations: 21.08 kB / 404.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2302, allocations: 79.73 kB / 404.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.2307, allocations: 99.64 kB / 405 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.2307, allocations: 12 kB / 405 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.2311, allocations: 271.5 kB / 405.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/0.2312, allocations: 63.8 kB / 405.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.2313, allocations: 71.53 kB / 405.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.2317, allocations: 320.6 kB / 405.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2318, allocations: 0 / 405.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2318, allocations: 0 / 405.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.2318, allocations: 0 / 405.7 MB, free: 4.562 MB / 318.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.00119/0.233, allocations: 0.5635 MB / 406.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.233, allocations: 11.89 kB / 406.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.2332, allocations: 28.73 kB / 406.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.2337, allocations: 272.6 kB / 406.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2338, allocations: 7.938 kB / 406.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.2338, allocations: 12 kB / 406.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.234, allocations: 108.4 kB / 406.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.234, allocations: 4 kB / 406.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2341, allocations: 3.938 kB / 406.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2341, allocations: 0 / 406.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.2343, allocations: 75.94 kB / 406.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.2351, allocations: 452.5 kB / 407.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.2353, allocations: 126.4 kB / 407.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2355, allocations: 56.83 kB / 407.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.2355, allocations: 0 / 407.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.2357, allocations: 123.3 kB / 407.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.2357, allocations: 0 / 407.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004584/0.2362, allocations: 232.2 kB / 407.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2362, allocations: 55.41 kB / 407.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.2366, allocations: 252.6 kB / 408 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.2366, allocations: 45.7 kB / 408.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.2367, allocations: 112.1 kB / 408.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.2368, allocations: 39.59 kB / 408.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.2368, allocations: 49.64 kB / 408.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.237, allocations: 330.8 kB / 408.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2371, allocations: 79.95 kB / 408.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.2373, allocations: 105.7 kB / 408.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.2376, allocations: 185.7 kB / 409 MB, free: 1.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2376, allocations: 0 / 409 MB, free: 1.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004245/0.238, allocations: 262.9 kB / 409.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2381, allocations: 4 kB / 409.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2381, allocations: 0 / 409.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2381, allocations: 7.938 kB / 409.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2383, allocations: 24.02 kB / 409.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2383, allocations: 8 kB / 409.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.2385, allocations: 35.81 kB / 409.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2385, allocations: 4 kB / 409.3 MB, free: 0.7227 MB / 318.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.0001207/0.2386, allocations: 145.8 kB / 409.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.2387, allocations: 15.75 kB / 409.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.2387, allocations: 21.52 kB / 409.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2387, allocations: 8 kB / 409.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2387, allocations: 0 / 409.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/0.2388, allocations: 108.8 kB / 409.6 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.2389, allocations: 8 kB / 409.6 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.2391, allocations: 19.97 kB / 409.6 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.2391, allocations: 7.984 kB / 409.6 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004803/0.2396, allocations: 288.8 kB / 409.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005043/0.2401, allocations: 430.6 kB / 410.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001186/0.2403, allocations: 68.02 kB / 410.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.2406, allocations: 200.4 kB / 410.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of Backend: time 1.472e-06/0.2406, allocations: 4.062 kB / 410.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009201/0.2415, allocations: 347.1 kB / 411 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006741/0.2422, allocations: 0.7645 MB / 411.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of Templates: time 0.006445/0.2487, allocations: 3.439 MB / 415.2 MB, free: 10.8 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches