Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 215.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.389/1.389, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2172, allocations: 50.54 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002788/0.22, allocations: 1.667 MB / 411.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.2221, allocations: 1.243 MB / 413.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.2221, allocations: 0 / 413.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.2224, allocations: 39.72 kB / 413.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.2225, allocations: 43.75 kB / 413.2 MB, free: 14.44 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0006912/0.2232, allocations: 283.2 kB / 413.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.2235, allocations: 187.5 kB / 413.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.2236, allocations: 17.08 kB / 413.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.2238, allocations: 83.67 kB / 413.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006422/0.2244, allocations: 111.1 kB / 413.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.2245, allocations: 12 kB / 413.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.225, allocations: 275.5 kB / 414.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2251, allocations: 59.77 kB / 414.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.2252, allocations: 71.58 kB / 414.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.2257, allocations: 326.8 kB / 414.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2258, allocations: 0 / 414.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2258, allocations: 0 / 414.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2258, allocations: 0 / 414.6 MB, free: 13.04 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.001291/0.2271, allocations: 0.5605 MB / 415.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2271, allocations: 8.031 kB / 415.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.2273, allocations: 32.78 kB / 415.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.228, allocations: 276.9 kB / 415.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.228, allocations: 8.375 kB / 415.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.228, allocations: 8.125 kB / 415.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.2283, allocations: 109.5 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2283, allocations: 0 / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.2283, allocations: 7.969 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2283, allocations: 0 / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.2285, allocations: 83.94 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000992/0.2295, allocations: 452.4 kB / 416.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.2298, allocations: 118.5 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.2299, allocations: 63.83 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.23, allocations: 0 / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.2302, allocations: 115.3 kB / 416.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.2302, allocations: 0 / 416.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005584/0.2308, allocations: 233.6 kB / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.2308, allocations: 63.41 kB / 416.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.2313, allocations: 243.8 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.2313, allocations: 41.69 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.2314, allocations: 112.1 kB / 417.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.2315, allocations: 47.77 kB / 417.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.829e-05/0.2316, allocations: 49.7 kB / 417.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2317, allocations: 334.8 kB / 417.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.2319, allocations: 79.95 kB / 417.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.2321, allocations: 109.6 kB / 417.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.2324, allocations: 182.5 kB / 417.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2324, allocations: 0 / 417.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004496/0.2328, allocations: 257.3 kB / 418.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2328, allocations: 8.031 kB / 418.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.2328, allocations: 7.938 kB / 418.1 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2329, allocations: 0 / 418.1 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.2331, allocations: 31.98 kB / 418.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2331, allocations: 0 / 418.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.2332, allocations: 31.8 kB / 418.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2333, allocations: 8 kB / 418.2 MB, free: 9.188 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.0001295/0.2334, allocations: 141.8 kB / 418.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.2334, allocations: 15.91 kB / 418.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.973e-05/0.2335, allocations: 29.45 kB / 418.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2335, allocations: 0 / 418.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2335, allocations: 0 / 418.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2335, allocations: 96 / 418.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.2338, allocations: 245.4 kB / 418.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2338, allocations: 4 kB / 418.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.2339, allocations: 19.92 kB / 418.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2339, allocations: 0 / 418.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2339, allocations: 15.94 kB / 418.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2339, allocations: 0 / 418.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2339, allocations: 0 / 418.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.2344, allocations: 272.9 kB / 418.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.2345, allocations: 108.9 kB / 419 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.2345, allocations: 7.938 kB / 419.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2347, allocations: 28.03 kB / 419.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.2348, allocations: 11.92 kB / 419.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2348, allocations: 0 / 419.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003324/0.2351, allocations: 184.2 kB / 419.3 MB, free: 8.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2351, allocations: 0 / 419.3 MB, free: 8.023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.2355, allocations: 87.8 kB / 419.4 MB, free: 7.938 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.0006133/0.2361, allocations: 268.7 kB / 419.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.2365, allocations: 159.8 kB / 419.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2365, allocations: 4.062 kB / 419.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.2366, allocations: 59.91 kB / 419.8 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2368, allocations: 19.98 kB / 419.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.2375, allocations: 353.4 kB / 420.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.2378, allocations: 0.728 MB / 420.9 MB, free: 6.336 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.995e-05/0.2379, allocations: 29.41 kB / 421 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.238, allocations: 15.44 kB / 421 MB, free: 6.293 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.238, allocations: 0 / 421 MB, free: 6.293 MB / 334.1 MB Notification: Performance of Templates: time 0.007148/0.2451, allocations: 3.052 MB / 424 MB, free: 3.246 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches