Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 109.4 kB / 18.4 MB, free: 4.688 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.00128/0.00128, allocations: 187.1 kB / 19.33 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 59.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.09266, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00339/0.0961, allocations: 1.641 MB / 377.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.09844, allocations: 1.229 MB / 378.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.09864, allocations: 0 / 378.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.09904, allocations: 39.72 kB / 378.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.09922, allocations: 39.75 kB / 378.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.1002, allocations: 291.1 kB / 379 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.1005, allocations: 179.5 kB / 379.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1006, allocations: 17.08 kB / 379.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.1008, allocations: 83.67 kB / 379.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.101, allocations: 99.62 kB / 379.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.1011, allocations: 12 kB / 379.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004976/0.1016, allocations: 287.5 kB / 379.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1017, allocations: 55.86 kB / 379.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.271e-05/0.1018, allocations: 75.53 kB / 379.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.1025, allocations: 339.1 kB / 380.2 MB, free: 200 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1025, allocations: 0 / 380.2 MB, free: 200 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1025, allocations: 4 kB / 380.2 MB, free: 196 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1025, allocations: 0 / 380.2 MB, free: 196 kB / 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.1891/0.2916, allocations: 0.5484 MB / 380.7 MB, free: 13.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.2917, allocations: 12.7 kB / 380.7 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.2919, allocations: 30.75 kB / 380.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.2924, allocations: 272.1 kB / 381 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2924, allocations: 7.078 kB / 381 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.2925, allocations: 7.25 kB / 381 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.2927, allocations: 107.6 kB / 381.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2927, allocations: 0 / 381.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.2927, allocations: 6.469 kB / 381.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2927, allocations: 0 / 381.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.2929, allocations: 83.41 kB / 381.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007708/0.2937, allocations: 447.5 kB / 381.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.294, allocations: 129 kB / 381.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.2941, allocations: 57.89 kB / 381.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.2941, allocations: 4.703 kB / 381.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.2943, allocations: 120.3 kB / 382 MB, free: 12.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.2943, allocations: 0 / 382 MB, free: 12.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004809/0.2948, allocations: 232.2 kB / 382.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2949, allocations: 60.08 kB / 382.3 MB, free: 12.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.2953, allocations: 247.3 kB / 382.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.2954, allocations: 40.17 kB / 382.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.2954, allocations: 114.2 kB / 382.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.2955, allocations: 48.33 kB / 382.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.2956, allocations: 45.39 kB / 382.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.882e-05/0.2956, allocations: 329.7 kB / 383.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.2958, allocations: 86.97 kB / 383.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.296, allocations: 112.7 kB / 383.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.2964, allocations: 181 kB / 383.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2964, allocations: 0 / 383.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005534/0.297, allocations: 257.1 kB / 383.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.297, allocations: 6.156 kB / 383.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.297, allocations: 1.062 kB / 383.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.297, allocations: 4.906 kB / 383.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2972, allocations: 32.14 kB / 383.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2972, allocations: 6.938 kB / 383.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.2975, allocations: 37.33 kB / 383.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2975, allocations: 5.516 kB / 383.8 MB, free: 11.58 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.0001152/0.2976, allocations: 143.4 kB / 383.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.2976, allocations: 15.31 kB / 383.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.2977, allocations: 24.58 kB / 384 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2977, allocations: 1.062 kB / 384 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2977, allocations: 7.188 kB / 384 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2977, allocations: 0.7031 kB / 384 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.2979, allocations: 242.6 kB / 384.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.298, allocations: 1.125 kB / 384.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.2981, allocations: 16.59 kB / 384.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2981, allocations: 0 / 384.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.2981, allocations: 4.141 kB / 384.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2981, allocations: 0.7969 kB / 384.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.2981, allocations: 11.75 kB / 384.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.2986, allocations: 274.9 kB / 384.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.2987, allocations: 112.3 kB / 384.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.2987, allocations: 6 kB / 384.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.2989, allocations: 15.62 kB / 384.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.299, allocations: 18.77 kB / 384.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.299, allocations: 4.734 kB / 384.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003151/0.2994, allocations: 187.7 kB / 384.9 MB, free: 10.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2994, allocations: 0 / 384.9 MB, free: 10.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.2998, allocations: 94.41 kB / 384.9 MB, free: 10.82 MB / 318.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.000619/0.3004, allocations: 289.4 kB / 385.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.3008, allocations: 174.8 kB / 385.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3008, allocations: 0 / 385.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.3009, allocations: 61.89 kB / 385.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.3012, allocations: 17.33 kB / 385.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.3018, allocations: 394.5 kB / 385.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.302, allocations: 0.7268 MB / 386.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.3021, allocations: 21.42 kB / 386.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3021, allocations: 0 / 386.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of Templates: time 0.00704/0.3091, allocations: 3.625 MB / 390.2 MB, free: 9.293 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches