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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002486/0.002486, allocations: 183.8 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 55.91 kB / 370.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3105, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00336/0.3138, allocations: 1.661 MB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.3165, allocations: 1.22 MB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3166, allocations: 0 / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.317, allocations: 31.8 kB / 425.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.3171, allocations: 51.69 kB / 425.6 MB, free: 11.6 MB / 334.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.0009191/0.3181, allocations: 299.2 kB / 425.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.3184, allocations: 207.4 kB / 426.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3185, allocations: 13.3 kB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.3187, allocations: 91.67 kB / 426.2 MB, free: 11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006811/0.3194, allocations: 111.2 kB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.3194, allocations: 16 kB / 426.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005986/0.32, allocations: 315.4 kB / 426.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3201, allocations: 63.73 kB / 426.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.3202, allocations: 63.59 kB / 426.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.3207, allocations: 331.3 kB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3208, allocations: 0 / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3208, allocations: 0 / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3208, allocations: 0 / 427.1 MB, free: 10.12 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.00137/0.3221, allocations: 0.4891 MB / 427.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3222, allocations: 8.031 kB / 427.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.489e-05/0.3222, allocations: 38.75 kB / 427.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.3225, allocations: 32.77 kB / 427.6 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.323, allocations: 230.6 kB / 427.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.323, allocations: 4 kB / 427.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.3231, allocations: 8 kB / 427.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3233, allocations: 101.6 kB / 428 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3233, allocations: 0 / 428 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3234, allocations: 4 kB / 428 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3234, allocations: 0 / 428 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.3236, allocations: 79.94 kB / 428.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009292/0.3245, allocations: 431.5 kB / 428.5 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.3248, allocations: 114.5 kB / 428.6 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3249, allocations: 60.83 kB / 428.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.3249, allocations: 0 / 428.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.3252, allocations: 115.4 kB / 428.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3252, allocations: 0 / 428.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005537/0.3257, allocations: 225.5 kB / 429 MB, free: 8.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.3258, allocations: 67.28 kB / 429.1 MB, free: 7.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.3263, allocations: 255.7 kB / 429.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.3263, allocations: 37.7 kB / 429.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3264, allocations: 108.1 kB / 429.4 MB, free: 7.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.3265, allocations: 51.77 kB / 429.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.3266, allocations: 45.73 kB / 429.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.3268, allocations: 338.8 kB / 429.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.327, allocations: 87.89 kB / 430 MB, free: 7.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.3272, allocations: 105.7 kB / 430.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.3275, allocations: 177.6 kB / 430.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3275, allocations: 0 / 430.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004534/0.328, allocations: 261.5 kB / 430.5 MB, free: 6.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.328, allocations: 4 kB / 430.5 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.328, allocations: 4.031 kB / 430.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.328, allocations: 4 kB / 430.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.3282, allocations: 27.92 kB / 430.5 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3282, allocations: 4 kB / 430.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.3284, allocations: 31.86 kB / 430.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.3284, allocations: 4 kB / 430.6 MB, free: 6.422 MB / 334.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.0001718/0.3286, allocations: 141.6 kB / 430.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.3286, allocations: 23.8 kB / 430.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.015e-05/0.3287, allocations: 21.45 kB / 430.8 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3287, allocations: 4 kB / 430.8 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3287, allocations: 0 / 430.8 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3287, allocations: 0 / 430.8 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.329, allocations: 216.5 kB / 431 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.329, allocations: 0 / 431 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.3291, allocations: 19.92 kB / 431 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3291, allocations: 0 / 431 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.3292, allocations: 7.984 kB / 431 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3292, allocations: 4 kB / 431 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3292, allocations: 0 / 431 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.3297, allocations: 284.9 kB / 431.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.3298, allocations: 31.86 kB / 431.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.3298, allocations: 7.984 kB / 431.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.33, allocations: 19.98 kB / 431.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.33, allocations: 16.05 kB / 431.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3301, allocations: 3.984 kB / 431.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003526/0.3304, allocations: 189.4 kB / 431.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3304, allocations: 0 / 431.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.3308, allocations: 87.8 kB / 431.6 MB, free: 5.293 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.001438/0.3323, allocations: 0.9665 MB / 432.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003881/0.3327, allocations: 165.7 kB / 432.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3327, allocations: 0 / 432.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.3328, allocations: 59.84 kB / 432.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3331, allocations: 19.98 kB / 432.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.3367, allocations: 2.368 MB / 435.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3371, allocations: 0.728 MB / 435.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.3373, allocations: 29.41 kB / 436 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3374, allocations: 51.41 kB / 436 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3374, allocations: 0 / 436 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0408/0.3782, allocations: 5.306 MB / 441.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.9, allocations: 0 / 441.3 MB, free: 11.64 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.771099098026752]