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.0008589/0.0008589, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008148/0.0008148, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8381/0.8381, allocations: 173.4 MB / 200.5 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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 3.106e-06/3.106e-06, allocations: 4 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.534e-05, allocations: 2.281 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003126/0.003151, allocations: 1.611 MB / 320.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.005056, allocations: 1.15 MB / 321.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.005165, allocations: 0 / 321.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.00555, allocations: 39.72 kB / 321.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.005683, allocations: 39.7 kB / 321.3 MB, free: 3.484 MB / 282.7 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.0006451/0.006328, allocations: 322.8 kB / 321.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.006502, allocations: 147.6 kB / 321.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.006588, allocations: 5.312 kB / 321.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.006719, allocations: 103.7 kB / 321.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.007191, allocations: 99.17 kB / 321.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.007222, allocations: 12 kB / 322 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.007572, allocations: 307.2 kB / 322.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-05/0.007643, allocations: 51.83 kB / 322.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.007696, allocations: 43.83 kB / 322.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.008109, allocations: 367 kB / 322.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.008114, allocations: 3.984 kB / 322.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.008116, allocations: 0 / 322.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.008121, allocations: 0 / 322.7 MB, free: 2.051 MB / 282.7 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.0007773/0.008898, allocations: 484.9 kB / 323.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.008936, allocations: 12.92 kB / 323.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.00897, allocations: 38.73 kB / 323.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.009098, allocations: 36.77 kB / 323.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.009387, allocations: 218.3 kB / 323.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.009403, allocations: 8.125 kB / 323.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.009427, allocations: 12 kB / 323.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.009578, allocations: 97.62 kB / 323.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.009587, allocations: 0 / 323.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.009598, allocations: 4 kB / 323.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.009603, allocations: 4 kB / 323.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.009722, allocations: 75.88 kB / 323.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.01026, allocations: 407.6 kB / 324.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.01043, allocations: 114.5 kB / 324.2 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/0.01049, allocations: 52.83 kB / 324.2 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.01051, allocations: 4 kB / 324.2 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.01066, allocations: 119.4 kB / 324.4 MB, free: 264 kB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 6.001e-06/0.01066, allocations: 4 kB / 324.4 MB, free: 260 kB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003243/0.01099, allocations: 236.5 kB / 324.6 MB, free: 20 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.01103, allocations: 63.34 kB / 324.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.01129, allocations: 259.6 kB / 324.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.01131, allocations: 37.7 kB / 324.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.01137, allocations: 116.1 kB / 325.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.0114, allocations: 47.77 kB / 325.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.01145, allocations: 49.7 kB / 325.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.01153, allocations: 334.8 kB / 325.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.01162, allocations: 79.95 kB / 325.6 MB, free: 15.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01173, allocations: 102.3 kB / 325.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.01191, allocations: 181.8 kB / 325.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.01191, allocations: 4 kB / 325.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002512/0.01216, allocations: 253.4 kB / 326.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.01218, allocations: 10.62 kB / 326.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.01218, allocations: 8 kB / 326.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.0122, allocations: 0 / 326.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.0123, allocations: 31.92 kB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.0123, allocations: 0 / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.91e-05/0.01239, allocations: 35.81 kB / 326.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.0124, allocations: 4 kB / 326.2 MB, free: 14.38 MB / 298.7 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 8.716e-05/0.01249, allocations: 141.5 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.01251, allocations: 27.84 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.01254, allocations: 21.45 kB / 326.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01255, allocations: 0 / 326.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01255, allocations: 0 / 326.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01255, allocations: 0 / 326.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.0127, allocations: 196.6 kB / 326.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.0127, allocations: 4 kB / 326.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.719e-05/0.01277, allocations: 19.98 kB / 326.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01277, allocations: 7.875 kB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01278, allocations: 7.984 kB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01279, allocations: 0 / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01279, allocations: 4 kB / 326.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.01315, allocations: 268.9 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.0132, allocations: 31.91 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.01322, allocations: 11.94 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.01329, allocations: 15.97 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.01333, allocations: 7.984 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.01334, allocations: 4 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.0135, allocations: 193.5 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0135, allocations: 0 / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.01375, allocations: 83.98 kB / 327.2 MB, free: 13.28 MB / 298.7 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.0008452/0.0146, allocations: 0.9871 MB / 328.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.01483, allocations: 166.8 kB / 328.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01483, allocations: 0 / 328.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/0.01491, allocations: 63.91 kB / 328.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.01508, allocations: 19.98 kB / 328.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.01727, allocations: 2.361 MB / 330.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.01734, allocations: 119.4 kB / 330.9 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.09e-05/0.01741, allocations: 33.45 kB / 330.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.01748, allocations: 48.48 kB / 331 MB, free: 9.383 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01748, allocations: 0 / 331 MB, free: 9.383 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.03697, allocations: 5.927 MB / 336.9 MB, free: 3.578 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/6.889, allocations: 0 / 336.9 MB, free: 3.578 MB / 298.7 MB " [Timeout remaining time 653] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.015147684141994]