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.001016/0.001016, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001051/0.001052, allocations: 191 kB / 18 MB, free: 5.09 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.418/1.418, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 43.94 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2808, allocations: 49.43 MB / 400.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002696/0.2835, allocations: 1.652 MB / 402.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.2854, allocations: 1.203 MB / 403.6 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.2855, allocations: 0 / 403.6 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.2859, allocations: 31.78 kB / 403.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.286, allocations: 39.77 kB / 403.6 MB, free: 6.129 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.0006952/0.2867, allocations: 287.1 kB / 403.9 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.287, allocations: 183.6 kB / 404.1 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.2871, allocations: 17.05 kB / 404.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.2872, allocations: 83.73 kB / 404.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005601/0.2878, allocations: 107.6 kB / 404.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.2878, allocations: 12 kB / 404.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.2882, allocations: 267.5 kB / 404.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.2883, allocations: 55.81 kB / 404.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.547e-05/0.2884, allocations: 71.58 kB / 404.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.2889, allocations: 330.9 kB / 405 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2889, allocations: 0 / 405 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.289, allocations: 0 / 405 MB, free: 4.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.289, allocations: 0 / 405 MB, free: 4.742 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.001121/0.2901, allocations: 0.5605 MB / 405.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2901, allocations: 11.89 kB / 405.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.2903, allocations: 28.83 kB / 405.6 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.2908, allocations: 284.6 kB / 405.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2909, allocations: 4 kB / 405.9 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.2909, allocations: 15.88 kB / 405.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.2911, allocations: 101.6 kB / 406 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2911, allocations: 4 kB / 406 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2911, allocations: 4 kB / 406 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2912, allocations: 0 / 406 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.2913, allocations: 75.94 kB / 406.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.2921, allocations: 452.5 kB / 406.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.2924, allocations: 122.5 kB / 406.7 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.2926, allocations: 60.81 kB / 406.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.2926, allocations: 0 / 406.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.2928, allocations: 123.4 kB / 406.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.2928, allocations: 0 / 406.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004763/0.2933, allocations: 227.8 kB / 407.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.2933, allocations: 63.33 kB / 407.1 MB, free: 2.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.2937, allocations: 244.8 kB / 407.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.2938, allocations: 41.64 kB / 407.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.2939, allocations: 124.2 kB / 407.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.2939, allocations: 43.58 kB / 407.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.294, allocations: 53.69 kB / 407.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2941, allocations: 326.8 kB / 407.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2943, allocations: 87.88 kB / 408 MB, free: 1.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.2944, allocations: 101.7 kB / 408.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.2947, allocations: 181.8 kB / 408.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2948, allocations: 0 / 408.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004166/0.2952, allocations: 263 kB / 408.6 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2952, allocations: 6.344 kB / 408.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2952, allocations: 0 / 408.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2952, allocations: 4 kB / 408.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2954, allocations: 31.91 kB / 408.6 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.2954, allocations: 4 kB / 408.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2956, allocations: 31.97 kB / 408.6 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.2957, allocations: 4 kB / 408.6 MB, free: 0.8867 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.0001585/0.2958, allocations: 145.8 kB / 408.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.2959, allocations: 19.8 kB / 408.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.2959, allocations: 17.53 kB / 408.8 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2959, allocations: 4 kB / 408.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.296, allocations: 96 / 408.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.296, allocations: 11.88 kB / 408.8 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.2962, allocations: 241.5 kB / 409.1 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2962, allocations: 3.938 kB / 409.1 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.2963, allocations: 19.98 kB / 409.1 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2963, allocations: 0 / 409.1 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.2964, allocations: 4 kB / 409.1 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2964, allocations: 0 / 409.1 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2964, allocations: 3.984 kB / 409.1 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.2969, allocations: 284.3 kB / 409.4 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.297, allocations: 108.9 kB / 409.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.297, allocations: 11.98 kB / 409.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.2972, allocations: 19.91 kB / 409.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.2973, allocations: 8 kB / 409.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.2973, allocations: 3.984 kB / 409.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003146/0.2976, allocations: 196.5 kB / 409.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2976, allocations: 0 / 409.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.298, allocations: 79.8 kB / 409.8 MB, free: 15.62 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.0005795/0.2986, allocations: 261.7 kB / 410.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.299, allocations: 171.8 kB / 410.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.299, allocations: 0 / 410.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.2991, allocations: 63.91 kB / 410.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.2993, allocations: 23.22 kB / 410.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.3, allocations: 353.9 kB / 410.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3003, allocations: 0.7319 MB / 411.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.3005, allocations: 37.33 kB / 411.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.3005, allocations: 19.44 kB / 411.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3005, allocations: 0 / 411.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Templates: time 0.006486/0.307, allocations: 3.007 MB / 414.5 MB, free: 10.95 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/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) Reference file matches