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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00173/0.00173, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007899/0.00079, allocations: 91.84 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.936e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08653/0.08656, allocations: 51.49 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2722/0.3588, allocations: 79.38 MB / 474.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001758/0.359, allocations: 74.39 kB / 474.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.3755, allocations: 6.428 MB / 481 MB, free: 8.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3755, allocations: 0 / 481 MB, free: 8.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.3755, allocations: 4 kB / 481.1 MB, free: 8.289 MB / 346.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.0005955/0.3761, allocations: 492.1 kB / 481.5 MB, free: 7.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.3762, allocations: 8.031 kB / 481.5 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.3763, allocations: 35.7 kB / 481.6 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.3766, allocations: 255.9 kB / 481.8 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3766, allocations: 4 kB / 481.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3766, allocations: 4 kB / 481.8 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001181/0.3767, allocations: 70.12 kB / 481.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3769, allocations: 89.84 kB / 482 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3769, allocations: 0 / 482 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3769, allocations: 3.984 kB / 482 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.3769, allocations: 4 kB / 482 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.3775, allocations: 412.4 kB / 482.4 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.3776, allocations: 106.3 kB / 482.5 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.3777, allocations: 46.91 kB / 482.5 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.3777, allocations: 4 kB / 482.6 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.3779, allocations: 114.7 kB / 482.7 MB, free: 6.703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.3779, allocations: 0 / 482.7 MB, free: 6.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002852/0.3782, allocations: 166.8 kB / 482.8 MB, free: 6.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.3782, allocations: 62.77 kB / 482.9 MB, free: 6.492 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3783, allocations: 201.8 kB / 483.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3784, allocations: 33.69 kB / 483.1 MB, free: 6.281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.3784, allocations: 119.2 kB / 483.2 MB, free: 6.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3784, allocations: 38.22 kB / 483.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.3785, allocations: 1.969 kB / 483.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.3785, allocations: 332.8 kB / 483.6 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.722e-05/0.3786, allocations: 64.67 kB / 483.7 MB, free: 5.785 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.504e-05/0.3787, allocations: 91.55 kB / 483.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3789, allocations: 75.17 kB / 483.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3789, allocations: 4 kB / 483.8 MB, free: 5.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003036/0.3792, allocations: 236.2 kB / 484.1 MB, free: 5.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3792, allocations: 11.98 kB / 484.1 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3792, allocations: 2.734 kB / 484.1 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3793, allocations: 0 / 484.1 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.3794, allocations: 35.05 kB / 484.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3794, allocations: 0 / 484.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.3796, allocations: 31.75 kB / 484.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.3796, allocations: 8.031 kB / 484.1 MB, free: 5.391 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 5.934e-05/0.3797, allocations: 111.5 kB / 484.3 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.3797, allocations: 19.77 kB / 484.3 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.3798, allocations: 22.83 kB / 484.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3798, allocations: 4 kB / 484.3 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3798, allocations: 0 / 484.3 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3798, allocations: 0 / 484.3 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.3799, allocations: 212.8 kB / 484.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3799, allocations: 2.719 kB / 484.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3801, allocations: 23.92 kB / 484.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3801, allocations: 0 / 484.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.3801, allocations: 7.953 kB / 484.5 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3801, allocations: 0 / 484.5 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3801, allocations: 0 / 484.5 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.3804, allocations: 254 kB / 484.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.3805, allocations: 108.6 kB / 484.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.3805, allocations: 10.81 kB / 484.9 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.3807, allocations: 31.98 kB / 484.9 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.3807, allocations: 11.17 kB / 484.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3807, allocations: 4 kB / 485 MB, free: 4.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.043e-05/0.3808, allocations: 158.1 kB / 485.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3808, allocations: 0 / 485.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004121/0.3812, allocations: 107.3 kB / 485.2 MB, free: 4.375 MB / 346.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]) * 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.0006238/0.3819, allocations: 306.1 kB / 485.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.3821, allocations: 186.1 kB / 485.7 MB, free: 3.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3821, allocations: 0 / 485.7 MB, free: 3.969 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.3822, allocations: 60.55 kB / 485.8 MB, free: 3.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.3824, allocations: 11.92 kB / 485.8 MB, free: 3.918 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.3828, allocations: 252.8 kB / 486 MB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3829, allocations: 0.728 MB / 486.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.425e-05/0.383, allocations: 29.19 kB / 486.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.3831, allocations: 19.42 kB / 486.8 MB, free: 2.875 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3831, allocations: 8 kB / 486.8 MB, free: 2.867 MB / 346.7 MB Notification: Performance of Templates: time 0.004983/0.3881, allocations: 2.966 MB / 489.8 MB, free: 15.95 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches