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.001192/0.001192, allocations: 113.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 210.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2281, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002757/0.2308, allocations: 1.676 MB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.2329, allocations: 1.236 MB / 412.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.216e-05/0.233, allocations: 4 kB / 412.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.2334, allocations: 31.77 kB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.2335, allocations: 39.72 kB / 412.9 MB, free: 14.61 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.0007505/0.2343, allocations: 291.2 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.2345, allocations: 183.5 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.384e-05/0.2346, allocations: 21.06 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.2349, allocations: 87.67 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.2354, allocations: 95.7 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.2355, allocations: 12 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.2359, allocations: 275.5 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.236, allocations: 55.81 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.2361, allocations: 79.52 kB / 414 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.2367, allocations: 326.9 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2367, allocations: 3.938 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2367, allocations: 0 / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2367, allocations: 0 / 414.3 MB, free: 13.21 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.001147/0.2378, allocations: 0.5605 MB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2379, allocations: 8.031 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.2381, allocations: 32.78 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.2386, allocations: 269 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.2386, allocations: 4.375 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.2387, allocations: 20.12 kB / 415.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.2389, allocations: 104.7 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2389, allocations: 0 / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.2389, allocations: 11.92 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2389, allocations: 0 / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.2391, allocations: 79.94 kB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.24, allocations: 448.5 kB / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.2403, allocations: 122.4 kB / 416 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2404, allocations: 60.83 kB / 416 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.2404, allocations: 0 / 416 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.2406, allocations: 123.3 kB / 416.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.2406, allocations: 0 / 416.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.00049/0.2411, allocations: 237.6 kB / 416.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.2412, allocations: 63.38 kB / 416.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.2416, allocations: 243.8 kB / 416.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.2416, allocations: 45.7 kB / 416.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.2417, allocations: 108.1 kB / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.2418, allocations: 47.78 kB / 416.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.2418, allocations: 45.69 kB / 416.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.242, allocations: 334.8 kB / 417.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.2421, allocations: 79.95 kB / 417.3 MB, free: 9.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2423, allocations: 109.6 kB / 417.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.2426, allocations: 181.6 kB / 417.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2426, allocations: 0 / 417.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004414/0.2431, allocations: 257.4 kB / 417.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2431, allocations: 4 kB / 417.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2431, allocations: 0 / 417.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2431, allocations: 11.88 kB / 417.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.2433, allocations: 23.98 kB / 417.9 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2433, allocations: 12.02 kB / 417.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.2436, allocations: 27.88 kB / 417.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.2436, allocations: 4 kB / 417.9 MB, free: 9.355 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.0001209/0.2437, allocations: 137.8 kB / 418.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.2437, allocations: 19.89 kB / 418.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.2438, allocations: 21.47 kB / 418.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2438, allocations: 3.938 kB / 418.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2438, allocations: 8 kB / 418.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.2439, allocations: 108.9 kB / 418.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.244, allocations: 8 kB / 418.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.2442, allocations: 15.97 kB / 418.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.2442, allocations: 7.984 kB / 418.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004998/0.2447, allocations: 292.3 kB / 418.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005176/0.2452, allocations: 430.7 kB / 419 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001222/0.2454, allocations: 64.02 kB / 419 MB, free: 8.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003174/0.2457, allocations: 197.4 kB / 419.2 MB, free: 8.016 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.2457, allocations: 4.062 kB / 419.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.2468, allocations: 356.4 kB / 419.6 MB, free: 7.688 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007104/0.2475, allocations: 0.7557 MB / 420.3 MB, free: 6.883 MB / 334.1 MB Notification: Performance of Templates: time 0.007174/0.2547, allocations: 3.477 MB / 423.8 MB, free: 3.414 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