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.001544/0.001544, allocations: 115.8 kB / 17.74 MB, free: 5.34 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.0019/0.001901, allocations: 185.5 kB / 18.67 MB, free: 4.418 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.98/1.98, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001858, allocations: 51.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.7165, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00773/0.7244, allocations: 1.645 MB / 403.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003958/0.7284, allocations: 1.191 MB / 404.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.7287, allocations: 8 kB / 404.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.7293, allocations: 35.78 kB / 404.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.7297, allocations: 39.7 kB / 404.3 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.001819/0.7316, allocations: 283.2 kB / 404.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.7321, allocations: 179.5 kB / 404.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.7323, allocations: 29.08 kB / 404.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.7327, allocations: 79.73 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.7338, allocations: 102.5 kB / 405 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.734, allocations: 16 kB / 405 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008684/0.7348, allocations: 267.6 kB / 405.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.735, allocations: 55.8 kB / 405.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.7352, allocations: 67.59 kB / 405.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.7366, allocations: 324.6 kB / 405.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.7366, allocations: 0 / 405.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.7367, allocations: 0 / 405.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.7367, allocations: 0 / 405.7 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.002271/0.739, allocations: 0.5568 MB / 406.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.004181/0.7432, allocations: 15.89 kB / 406.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006708/0.7439, allocations: 24.73 kB / 406.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.7452, allocations: 280.5 kB / 406.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/0.7453, allocations: 8 kB / 406.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.7454, allocations: 12 kB / 406.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.7458, allocations: 97.62 kB / 406.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.7459, allocations: 4 kB / 406.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.7459, allocations: 0 / 406.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.746, allocations: 4 kB / 406.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.7463, allocations: 75.94 kB / 406.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.748, allocations: 464.4 kB / 407.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.7485, allocations: 122.5 kB / 407.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.7487, allocations: 56.83 kB / 407.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.7488, allocations: 4 kB / 407.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.7492, allocations: 115.4 kB / 407.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 5.129e-06/0.7492, allocations: 4 kB / 407.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008618/0.7501, allocations: 227.8 kB / 407.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.7502, allocations: 71.27 kB / 407.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006433/0.7508, allocations: 244.7 kB / 408 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.7509, allocations: 37.64 kB / 408.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.751, allocations: 112.1 kB / 408.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.7553, allocations: 47.59 kB / 408.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.7555, allocations: 53.67 kB / 408.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.7557, allocations: 326.8 kB / 408.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.7561, allocations: 79.95 kB / 408.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.7564, allocations: 105.7 kB / 408.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.7569, allocations: 185.8 kB / 409 MB, free: 1.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.7569, allocations: 0 / 409 MB, free: 1.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007814/0.7577, allocations: 257.1 kB / 409.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.7578, allocations: 8 kB / 409.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.7578, allocations: 0 / 409.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.7578, allocations: 0 / 409.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.7581, allocations: 35.92 kB / 409.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.7582, allocations: 0 / 409.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.7585, allocations: 35.84 kB / 409.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.7586, allocations: 8 kB / 409.3 MB, free: 0.7266 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.0002367/0.7588, allocations: 137.8 kB / 409.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.7589, allocations: 23.75 kB / 409.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.626e-05/0.759, allocations: 25.52 kB / 409.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.7591, allocations: 0 / 409.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-05/0.7591, allocations: 0 / 409.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.7591, allocations: 4 kB / 409.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.7595, allocations: 237.6 kB / 409.7 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7595, allocations: 3.938 kB / 409.7 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.7597, allocations: 15.98 kB / 409.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.7598, allocations: 4 kB / 409.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.7598, allocations: 4 kB / 409.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.7598, allocations: 4.031 kB / 409.8 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7598, allocations: 3.938 kB / 409.8 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.7606, allocations: 284.7 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.7608, allocations: 104.9 kB / 410.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.7609, allocations: 11.98 kB / 410.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.7611, allocations: 15.98 kB / 410.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.7612, allocations: 7.984 kB / 410.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.7612, allocations: 4 kB / 410.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004731/0.7617, allocations: 188.4 kB / 410.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7617, allocations: 4.062 kB / 410.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006544/0.7624, allocations: 87.98 kB / 410.5 MB, free: 15.47 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.005326/0.7677, allocations: 269.6 kB / 410.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009224/0.7687, allocations: 169.4 kB / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.7688, allocations: 0 / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.769, allocations: 75.89 kB / 411 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.7696, allocations: 15.94 kB / 411 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.7711, allocations: 392.1 kB / 411.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.7717, allocations: 0.724 MB / 412.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.7718, allocations: 19.42 kB / 412.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.234e-06/0.7718, allocations: 0 / 412.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of Templates: time 0.01724/0.7891, allocations: 3.49 MB / 415.6 MB, free: 10.3 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/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_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches