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.001629/0.001629, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001877/0.001877, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.529/1.529, allocations: 230.5 MB / 257.4 MB, free: 8.012 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3179, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003634/0.3215, allocations: 1.681 MB / 432.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.3243, allocations: 1.278 MB / 434.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3244, allocations: 4 kB / 434.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.3249, allocations: 27.73 kB / 434.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.325, allocations: 43.75 kB / 434.2 MB, free: 3.637 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.001078/0.3261, allocations: 307.1 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.3265, allocations: 203.5 kB / 434.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3266, allocations: 13.27 kB / 434.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.3269, allocations: 99.66 kB / 434.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.3276, allocations: 110.4 kB / 434.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.3277, allocations: 15.94 kB / 435 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.3282, allocations: 319.4 kB / 435.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3284, allocations: 59.75 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.3285, allocations: 75.53 kB / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005655/0.329, allocations: 323.3 kB / 435.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.329, allocations: 0 / 435.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.329, allocations: 0 / 435.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.329, allocations: 0 / 435.7 MB, free: 2.148 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.001392/0.3304, allocations: 0.493 MB / 436.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/0.3305, allocations: 8.031 kB / 436.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.239e-05/0.3306, allocations: 38.73 kB / 436.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.3308, allocations: 28.8 kB / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.3313, allocations: 215.1 kB / 436.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.3314, allocations: 12.36 kB / 436.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.3314, allocations: 12.38 kB / 436.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.3317, allocations: 97.77 kB / 436.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3317, allocations: 3.938 kB / 436.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3317, allocations: 8 kB / 436.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3317, allocations: 8 kB / 436.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.3319, allocations: 79.86 kB / 436.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.3329, allocations: 423.6 kB / 437.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3332, allocations: 122.4 kB / 437.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.3333, allocations: 52.83 kB / 437.3 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.3334, allocations: 4 kB / 437.3 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.3336, allocations: 119 kB / 437.4 MB, free: 320 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.023e-06/0.3336, allocations: 0 / 437.4 MB, free: 320 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005233/0.3341, allocations: 237.6 kB / 437.6 MB, free: 76 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.3342, allocations: 59.39 kB / 437.7 MB, free: 4 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.3347, allocations: 239.8 kB / 437.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.3347, allocations: 37.69 kB / 438 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.3348, allocations: 116.1 kB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.3349, allocations: 43.78 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.335, allocations: 53.69 kB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3352, allocations: 330.8 kB / 438.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.3354, allocations: 87.94 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.3355, allocations: 109.4 kB / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.3359, allocations: 181.7 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3359, allocations: 0 / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005194/0.3364, allocations: 261.4 kB / 439.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3364, allocations: 7.938 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3364, allocations: 0 / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3364, allocations: 3.938 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.3366, allocations: 31.97 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3366, allocations: 3.984 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.3368, allocations: 35.8 kB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.3369, allocations: 8 kB / 439.2 MB, free: 14.44 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.0002135/0.3371, allocations: 141.8 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.3371, allocations: 19.89 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.3372, allocations: 17.47 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3372, allocations: 3.938 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3372, allocations: 4 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3372, allocations: 3.984 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.3375, allocations: 208.5 kB / 439.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3375, allocations: 0 / 439.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.3376, allocations: 23.98 kB / 439.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3376, allocations: 0 / 439.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3376, allocations: 3.984 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3376, allocations: 3.938 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3376, allocations: 4 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.3381, allocations: 268.9 kB / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.3382, allocations: 35.86 kB / 439.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.3382, allocations: 16.06 kB / 440 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.3384, allocations: 19.91 kB / 440 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.3385, allocations: 7.984 kB / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3385, allocations: 4 kB / 440 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003679/0.3389, allocations: 189.4 kB / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3389, allocations: 0 / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.3394, allocations: 87.8 kB / 440.3 MB, free: 13.32 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.001547/0.3409, allocations: 0.9646 MB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004602/0.3414, allocations: 171.1 kB / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3414, allocations: 0 / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3415, allocations: 55.97 kB / 441.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.3418, allocations: 25.94 kB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.3457, allocations: 2.367 MB / 443.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.3461, allocations: 0.7317 MB / 444.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.3463, allocations: 37.38 kB / 444.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.3464, allocations: 51.42 kB / 444.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3464, allocations: 4 kB / 444.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04295/0.3893, allocations: 5.332 MB / 450 MB, free: 3.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.93, allocations: 12.23 kB / 450 MB, free: 3.562 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.748614996206015]