Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 51.92 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.283, allocations: 49.17 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002682/0.2857, allocations: 1.659 MB / 398 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.2878, allocations: 1.262 MB / 399.3 MB, free: 7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.2879, allocations: 1.062 kB / 399.3 MB, free: 7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.2883, allocations: 43.34 kB / 399.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.2884, allocations: 41.81 kB / 399.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007618/0.2892, allocations: 310 kB / 399.7 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.2894, allocations: 201.3 kB / 399.9 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.165e-05/0.2895, allocations: 13.25 kB / 399.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.2897, allocations: 91.3 kB / 400 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.2899, allocations: 111.4 kB / 400.1 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.2899, allocations: 13.56 kB / 400.1 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.2904, allocations: 330.1 kB / 400.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.2905, allocations: 57.06 kB / 400.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.285e-05/0.2906, allocations: 74.33 kB / 400.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.2912, allocations: 329.1 kB / 400.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2912, allocations: 1.125 kB / 400.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2912, allocations: 0 / 400.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2912, allocations: 0 / 400.9 MB, free: 6.363 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.001162/0.2923, allocations: 0.4942 MB / 401.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2924, allocations: 13.39 kB / 401.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.2924, allocations: 39.61 kB / 401.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.2926, allocations: 26.47 kB / 401.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.2931, allocations: 216.8 kB / 401.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2931, allocations: 6.844 kB / 401.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.2931, allocations: 11.66 kB / 401.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2934, allocations: 109.3 kB / 401.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2934, allocations: 1.188 kB / 401.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2934, allocations: 0 / 401.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2934, allocations: 1.859 kB / 401.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.2936, allocations: 84.69 kB / 401.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/0.2944, allocations: 421.8 kB / 402.3 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.2947, allocations: 121.7 kB / 402.4 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.2948, allocations: 54.98 kB / 402.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.2948, allocations: 1.125 kB / 402.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.295, allocations: 115.8 kB / 402.5 MB, free: 5.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.295, allocations: 0 / 402.5 MB, free: 5.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004969/0.2955, allocations: 236.2 kB / 402.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.2955, allocations: 65.88 kB / 402.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.2959, allocations: 248.4 kB / 403.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.296, allocations: 35.3 kB / 403.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.296, allocations: 113.8 kB / 403.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.2961, allocations: 49.62 kB / 403.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.2961, allocations: 45.89 kB / 403.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.2962, allocations: 339 kB / 403.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.2964, allocations: 85.94 kB / 403.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.2966, allocations: 110.8 kB / 403.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.2969, allocations: 186.9 kB / 404 MB, free: 4.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2969, allocations: 0 / 404 MB, free: 4.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004639/0.2973, allocations: 258.6 kB / 404.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2973, allocations: 10.3 kB / 404.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2973, allocations: 0 / 404.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2974, allocations: 6.859 kB / 404.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.2975, allocations: 27.48 kB / 404.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2976, allocations: 1.625 kB / 404.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.2977, allocations: 30.62 kB / 404.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.2978, allocations: 5.062 kB / 404.4 MB, free: 4.105 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.0001034/0.2979, allocations: 140.9 kB / 404.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.2979, allocations: 19.22 kB / 404.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.298, allocations: 20.08 kB / 404.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.298, allocations: 9.391 kB / 404.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.298, allocations: 1.969 kB / 404.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.298, allocations: 0.5156 kB / 404.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.2982, allocations: 211.1 kB / 404.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2982, allocations: 0 / 404.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.2983, allocations: 19.73 kB / 404.8 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2983, allocations: 1.5 kB / 404.8 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2983, allocations: 6.547 kB / 404.8 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2983, allocations: 9.625 kB / 404.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2983, allocations: 0 / 404.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.2988, allocations: 277.7 kB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.2988, allocations: 31.33 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.2989, allocations: 9.484 kB / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.2991, allocations: 24.69 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.2991, allocations: 7.828 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.2991, allocations: 4.453 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003077/0.2994, allocations: 191.2 kB / 405.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2994, allocations: 3.938 kB / 405.3 MB, free: 3.457 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004222/0.2998, allocations: 91.39 kB / 405.4 MB, free: 3.438 MB / 318.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.001183/0.301, allocations: 0.9771 MB / 406.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.3014, allocations: 170 kB / 406.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3014, allocations: 0 / 406.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3015, allocations: 56.56 kB / 406.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.3018, allocations: 17 kB / 406.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.305, allocations: 2.38 MB / 409 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.3052, allocations: 0.731 MB / 409.7 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.3053, allocations: 34.95 kB / 409.8 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.3054, allocations: 50.67 kB / 409.8 MB, free: 328 kB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3054, allocations: 4 kB / 409.8 MB, free: 324 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04593/0.3513, allocations: 5.471 MB / 415.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.52, allocations: 4.953 kB / 415.3 MB, free: 13.63 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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: 16.335726188961416]