Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007343/0.0007343, allocations: 90.28 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002965, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2078, allocations: 47.58 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001409/0.2092, allocations: 1.347 MB / 375.9 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2108, allocations: 1.144 MB / 377 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.2109, allocations: 1.125 kB / 377 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.2112, allocations: 35.92 kB / 377.1 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/0.2113, allocations: 32.78 kB / 377.1 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.2119, allocations: 236.4 kB / 377.3 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.2121, allocations: 150.1 kB / 377.5 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.2122, allocations: 29.8 kB / 377.5 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.2123, allocations: 74.77 kB / 377.6 MB, free: 43.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.2124, allocations: 93.8 kB / 377.7 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.2125, allocations: 7.5 kB / 377.7 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.2129, allocations: 289.7 kB / 378 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.213, allocations: 51.52 kB / 378 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.213, allocations: 48.92 kB / 378.1 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.2133, allocations: 236.3 kB / 378.3 MB, free: 42.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2133, allocations: 0 / 378.3 MB, free: 42.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2134, allocations: 0 / 378.3 MB, free: 42.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2134, allocations: 1.062 kB / 378.3 MB, free: 42.72 MB / 298.7 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.00103/0.2144, allocations: 0.5396 MB / 378.8 MB, free: 42.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2144, allocations: 8.938 kB / 378.9 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.2146, allocations: 27.94 kB / 378.9 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.215, allocations: 263.6 kB / 379.1 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2151, allocations: 7.391 kB / 379.1 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.2151, allocations: 13.69 kB / 379.2 MB, free: 41.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.2153, allocations: 104.9 kB / 379.3 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2153, allocations: 0 / 379.3 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.2153, allocations: 5.125 kB / 379.3 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2154, allocations: 1.562 kB / 379.3 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.2156, allocations: 82.81 kB / 379.3 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.2163, allocations: 459.8 kB / 379.8 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.2166, allocations: 133.8 kB / 379.9 MB, free: 41.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2167, allocations: 57.8 kB / 380 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.2167, allocations: 1.031 kB / 380 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.2169, allocations: 116.6 kB / 380.1 MB, free: 41.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2169, allocations: 0 / 380.1 MB, free: 41.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004467/0.2174, allocations: 245.7 kB / 380.3 MB, free: 41.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.2174, allocations: 56.91 kB / 380.4 MB, free: 41.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.2178, allocations: 247.4 kB / 380.6 MB, free: 40.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.2178, allocations: 35.92 kB / 380.7 MB, free: 40.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.2179, allocations: 118.8 kB / 380.8 MB, free: 40.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.2179, allocations: 42.12 kB / 380.8 MB, free: 40.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.2179, allocations: 5.125 kB / 380.8 MB, free: 40.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.064e-05/0.218, allocations: 336.1 kB / 381.2 MB, free: 40.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.2182, allocations: 83.14 kB / 381.2 MB, free: 40.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.2183, allocations: 110.9 kB / 381.4 MB, free: 40.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2185, allocations: 110.7 kB / 381.5 MB, free: 40.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2185, allocations: 0 / 381.5 MB, free: 40.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003987/0.2189, allocations: 252.1 kB / 381.7 MB, free: 40.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2189, allocations: 6.219 kB / 381.7 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2189, allocations: 1.062 kB / 381.7 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.219, allocations: 5.203 kB / 381.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.2192, allocations: 39.52 kB / 381.8 MB, free: 40.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2192, allocations: 2.344 kB / 381.8 MB, free: 40.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.2194, allocations: 32.94 kB / 381.8 MB, free: 40.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.2194, allocations: 4.938 kB / 381.8 MB, free: 40.04 MB / 298.7 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,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.2195, allocations: 139.6 kB / 381.9 MB, free: 39.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.2196, allocations: 15.06 kB / 381.9 MB, free: 39.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.2196, allocations: 26.95 kB / 382 MB, free: 39.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2196, allocations: 5.438 kB / 382 MB, free: 39.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2197, allocations: 0 / 382 MB, free: 39.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2197, allocations: 0 / 382 MB, free: 39.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.2198, allocations: 248.8 kB / 382.2 MB, free: 39.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2199, allocations: 0 / 382.2 MB, free: 39.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.22, allocations: 17.02 kB / 382.2 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.22, allocations: 1.156 kB / 382.2 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.22, allocations: 5.156 kB / 382.2 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.22, allocations: 1.281 kB / 382.2 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.22, allocations: 4.078 kB / 382.2 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.2205, allocations: 293.7 kB / 382.5 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.2205, allocations: 105.5 kB / 382.6 MB, free: 39.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.2206, allocations: 4.625 kB / 382.6 MB, free: 39.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.2208, allocations: 27.66 kB / 382.7 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.2208, allocations: 8.359 kB / 382.7 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.2208, allocations: 2.75 kB / 382.7 MB, free: 39.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002772/0.2211, allocations: 186.4 kB / 382.9 MB, free: 39.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2211, allocations: 0 / 382.9 MB, free: 39.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003997/0.2215, allocations: 94.75 kB / 383 MB, free: 39.14 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006561/0.2222, allocations: 287.7 kB / 383.2 MB, free: 38.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.2226, allocations: 178.2 kB / 383.4 MB, free: 38.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2226, allocations: 1.125 kB / 383.4 MB, free: 38.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.2228, allocations: 65.81 kB / 383.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.223, allocations: 18.38 kB / 383.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.2238, allocations: 440.6 kB / 383.9 MB, free: 38.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.224, allocations: 0.726 MB / 384.7 MB, free: 37.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.2241, allocations: 20.66 kB / 384.7 MB, free: 37.78 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2241, allocations: 0 / 384.7 MB, free: 37.78 MB / 298.7 MB Notification: Performance of Templates: time 0.00506/0.2292, allocations: 3.589 MB / 388.3 MB, free: 34.77 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches