Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 111.6 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 43.94 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3602, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00278/0.363, allocations: 1.652 MB / 402.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.365, allocations: 1.191 MB / 403.6 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.3651, allocations: 3.938 kB / 403.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.3654, allocations: 35.77 kB / 403.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.3655, allocations: 43.72 kB / 403.6 MB, free: 5.945 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.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.0006392/0.3662, allocations: 279.2 kB / 403.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.3664, allocations: 187.5 kB / 404.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.3665, allocations: 17.11 kB / 404.1 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.3667, allocations: 79.73 kB / 404.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.3672, allocations: 119.1 kB / 404.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.3673, allocations: 12 kB / 404.3 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.3676, allocations: 271.5 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.3677, allocations: 47.83 kB / 404.6 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.3678, allocations: 75.52 kB / 404.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.3683, allocations: 316.7 kB / 405 MB, free: 4.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3683, allocations: 0 / 405 MB, free: 4.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3683, allocations: 0 / 405 MB, free: 4.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3683, allocations: 0 / 405 MB, free: 4.574 MB / 318.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.001134/0.3694, allocations: 0.5645 MB / 405.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3695, allocations: 15.89 kB / 405.6 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.3697, allocations: 28.73 kB / 405.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.3701, allocations: 268.6 kB / 405.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3702, allocations: 7.938 kB / 405.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.3702, allocations: 19.97 kB / 405.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3704, allocations: 97.64 kB / 406 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3704, allocations: 0 / 406 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3705, allocations: 3.938 kB / 406 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3705, allocations: 4 kB / 406 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.3707, allocations: 79.92 kB / 406.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.3715, allocations: 448.5 kB / 406.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.3718, allocations: 126.4 kB / 406.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.3719, allocations: 56.83 kB / 406.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.3719, allocations: 4 kB / 406.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.3721, allocations: 118.3 kB / 406.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.796e-06/0.3721, allocations: 3.984 kB / 406.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004637/0.3726, allocations: 233.4 kB / 407.1 MB, free: 2.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3727, allocations: 63.34 kB / 407.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.3731, allocations: 244.7 kB / 407.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.3732, allocations: 41.69 kB / 407.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.3732, allocations: 112.1 kB / 407.5 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.3733, allocations: 47.58 kB / 407.6 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.3734, allocations: 41.7 kB / 407.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3735, allocations: 334.8 kB / 407.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3737, allocations: 87.94 kB / 408 MB, free: 1.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.3738, allocations: 105.7 kB / 408.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.3741, allocations: 181.7 kB / 408.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3741, allocations: 0 / 408.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004178/0.3746, allocations: 261.2 kB / 408.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3746, allocations: 4 kB / 408.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3746, allocations: 3.938 kB / 408.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3746, allocations: 0 / 408.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.3748, allocations: 31.97 kB / 408.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3748, allocations: 0 / 408.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.375, allocations: 35.81 kB / 408.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.3751, allocations: 8 kB / 408.6 MB, free: 0.7227 MB / 318.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.0001329/0.3752, allocations: 141.8 kB / 408.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3752, allocations: 19.75 kB / 408.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.3753, allocations: 17.53 kB / 408.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3753, allocations: 0 / 408.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3753, allocations: 7.984 kB / 408.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3753, allocations: 0 / 408.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.3756, allocations: 241.6 kB / 409.1 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3756, allocations: 7.938 kB / 409.1 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3757, allocations: 15.98 kB / 409.1 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3757, allocations: 0 / 409.1 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3758, allocations: 7.984 kB / 409.1 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3758, allocations: 0 / 409.1 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3758, allocations: 0 / 409.1 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.3763, allocations: 276.7 kB / 409.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3764, allocations: 112.9 kB / 409.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.3764, allocations: 11.94 kB / 409.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.3766, allocations: 20.03 kB / 409.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.3767, allocations: 7.984 kB / 409.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.3767, allocations: 8 kB / 409.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003177/0.377, allocations: 184.4 kB / 409.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.377, allocations: 0 / 409.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003771/0.3774, allocations: 84.17 kB / 409.8 MB, free: 15.48 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.0005816/0.378, allocations: 264.3 kB / 410 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.3784, allocations: 177.5 kB / 410.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.3784, allocations: 4 kB / 410.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3786, allocations: 63.97 kB / 410.3 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.3788, allocations: 22.73 kB / 410.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.3795, allocations: 346.3 kB / 410.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3798, allocations: 0.7358 MB / 411.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.238e-05/0.3799, allocations: 33.39 kB / 411.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.38, allocations: 15.44 kB / 411.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.38, allocations: 0 / 411.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Templates: time 0.006308/0.3863, allocations: 3.008 MB / 414.4 MB, free: 10.81 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches