Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2528, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002729/0.2556, allocations: 1.657 MB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.2577, allocations: 1.243 MB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.2578, allocations: 0 / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.2581, allocations: 35.72 kB / 412.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.2583, allocations: 35.77 kB / 412.9 MB, free: 14.6 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0007268/0.259, allocations: 287.2 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.2592, allocations: 191.5 kB / 413.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.2593, allocations: 25.05 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.2595, allocations: 83.67 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.26, allocations: 101.5 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.2601, allocations: 16 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.2605, allocations: 271.5 kB / 413.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.2606, allocations: 59.81 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/0.2607, allocations: 75.52 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.2611, allocations: 318.9 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.2611, allocations: 0 / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2611, allocations: 3.938 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2612, allocations: 0 / 414.3 MB, free: 13.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.001169/0.2623, allocations: 0.5623 MB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2624, allocations: 8.031 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.2626, allocations: 28.73 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.2631, allocations: 264.9 kB / 415.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2631, allocations: 4.375 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.2631, allocations: 12.12 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.2634, allocations: 109.6 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2634, allocations: 3.938 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2634, allocations: 4 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2634, allocations: 0 / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.2636, allocations: 75.94 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.2644, allocations: 460.5 kB / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.2647, allocations: 122.5 kB / 415.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2648, allocations: 56.95 kB / 416 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.2648, allocations: 3.984 kB / 416 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.265, allocations: 123.3 kB / 416.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.265, allocations: 3.938 kB / 416.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004572/0.2655, allocations: 225.5 kB / 416.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.2656, allocations: 59.39 kB / 416.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.266, allocations: 247.7 kB / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.266, allocations: 37.7 kB / 416.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.2661, allocations: 124.1 kB / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.2662, allocations: 35.59 kB / 416.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.2662, allocations: 53.69 kB / 416.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2664, allocations: 330.8 kB / 417.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2665, allocations: 83.94 kB / 417.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.2667, allocations: 105.6 kB / 417.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.267, allocations: 181.6 kB / 417.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.267, allocations: 0 / 417.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004306/0.2674, allocations: 257.2 kB / 417.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2675, allocations: 7.938 kB / 417.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2675, allocations: 4 kB / 417.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2675, allocations: 3.938 kB / 417.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.2677, allocations: 31.97 kB / 417.9 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2677, allocations: 4.031 kB / 417.9 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.2679, allocations: 27.83 kB / 417.9 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.2679, allocations: 7.984 kB / 417.9 MB, free: 9.359 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.000139/0.2681, allocations: 141.8 kB / 418.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.2681, allocations: 11.81 kB / 418.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.2682, allocations: 29.47 kB / 418.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2682, allocations: 0 / 418.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2682, allocations: 7.938 kB / 418.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.2683, allocations: 108.9 kB / 418.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.2683, allocations: 7.938 kB / 418.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.2685, allocations: 23.97 kB / 418.2 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.2686, allocations: 7.984 kB / 418.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004873/0.2691, allocations: 284.4 kB / 418.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005174/0.2696, allocations: 434.3 kB / 418.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001164/0.2697, allocations: 67.92 kB / 419 MB, free: 8.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.27, allocations: 184.2 kB / 419.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of Backend: time 5.61e-07/0.2701, allocations: 0 / 419.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2711, allocations: 364.8 kB / 419.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007933/0.2719, allocations: 0.7485 MB / 420.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of Templates: time 0.006985/0.2789, allocations: 3.477 MB / 423.8 MB, free: 3.426 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches