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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 209.5 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3002, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003391/0.3036, allocations: 1.646 MB / 433.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.3059, allocations: 1.188 MB / 434.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-05/0.306, allocations: 4 kB / 434.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.3064, allocations: 31.72 kB / 434.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.3065, allocations: 43.77 kB / 434.8 MB, free: 3.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0008136/0.3073, allocations: 303.2 kB / 435.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.3077, allocations: 203.5 kB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.3078, allocations: 9.312 kB / 435.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.308, allocations: 99.64 kB / 435.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006353/0.3086, allocations: 112.2 kB / 435.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.3087, allocations: 19.94 kB / 435.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.3092, allocations: 319.4 kB / 435.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.3093, allocations: 55.81 kB / 435.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.388e-05/0.3094, allocations: 55.66 kB / 436 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.3099, allocations: 333.2 kB / 436.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3099, allocations: 4 kB / 436.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3099, allocations: 0 / 436.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3099, allocations: 0 / 436.3 MB, free: 2.066 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.001294/0.3112, allocations: 496.8 kB / 436.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.3113, allocations: 12.03 kB / 436.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.35e-05/0.3113, allocations: 192 / 436.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.3113, allocations: 34.75 kB / 436.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.3116, allocations: 36.78 kB / 436.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.312, allocations: 223.1 kB / 437.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3121, allocations: 384 / 437.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.3121, allocations: 12.38 kB / 437.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.3124, allocations: 105.5 kB / 437.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3124, allocations: 0 / 437.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.3124, allocations: 8 kB / 437.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3124, allocations: 0 / 437.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.3126, allocations: 75.94 kB / 437.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.3135, allocations: 407.5 kB / 437.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.3137, allocations: 118.5 kB / 437.8 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3139, allocations: 56.83 kB / 437.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3139, allocations: 0 / 437.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.3141, allocations: 115.3 kB / 438 MB, free: 268 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.3141, allocations: 4 kB / 438 MB, free: 264 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005296/0.3146, allocations: 237.6 kB / 438.2 MB, free: 20 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/0.3147, allocations: 59.39 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.3152, allocations: 243.8 kB / 438.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3153, allocations: 33.7 kB / 438.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.3154, allocations: 116.1 kB / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.3154, allocations: 39.78 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.747e-05/0.3155, allocations: 57.67 kB / 438.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.3157, allocations: 334.8 kB / 439.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.3159, allocations: 83.95 kB / 439.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.3161, allocations: 105.4 kB / 439.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.3164, allocations: 185.7 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3164, allocations: 0 / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004833/0.3169, allocations: 261.3 kB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3169, allocations: 4 kB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3169, allocations: 4.031 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.317, allocations: 3.938 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.3171, allocations: 31.98 kB / 439.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3171, allocations: 3.984 kB / 439.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.3173, allocations: 31.81 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.3174, allocations: 11.98 kB / 439.8 MB, free: 14.38 MB / 350.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.0001587/0.3175, allocations: 133.8 kB / 439.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.3176, allocations: 15.91 kB / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.434e-05/0.3176, allocations: 33.39 kB / 440 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3176, allocations: 4 kB / 440 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3176, allocations: 0 / 440 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3176, allocations: 0 / 440 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.3179, allocations: 196.6 kB / 440.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3179, allocations: 0 / 440.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.318, allocations: 15.98 kB / 440.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.318, allocations: 0 / 440.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.318, allocations: 8.031 kB / 440.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.318, allocations: 11.94 kB / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.318, allocations: 3.938 kB / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.3186, allocations: 272.9 kB / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.3187, allocations: 31.86 kB / 440.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.3187, allocations: 11.94 kB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3189, allocations: 19.97 kB / 440.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.3189, allocations: 7.984 kB / 440.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3189, allocations: 4 kB / 440.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003345/0.3193, allocations: 193.5 kB / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3193, allocations: 0 / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004067/0.3197, allocations: 87.8 kB / 440.8 MB, free: 13.28 MB / 350.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.001381/0.3211, allocations: 0.9688 MB / 441.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003795/0.3214, allocations: 175.1 kB / 441.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3214, allocations: 0 / 441.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3216, allocations: 51.97 kB / 442 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.3218, allocations: 26.67 kB / 442 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.3253, allocations: 2.375 MB / 444.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.3255, allocations: 115.3 kB / 444.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.3256, allocations: 29.41 kB / 444.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3257, allocations: 47.42 kB / 444.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3257, allocations: 0 / 444.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.3549, allocations: 5.46 MB / 450 MB, free: 4.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.51, allocations: 7.922 kB / 450 MB, free: 4.043 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.069283358985558]