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.001615/0.001615, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001671/0.001671, allocations: 191.7 kB / 24.5 MB, free: 4.02 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.455/1.455, allocations: 225.6 MB / 253.3 MB, free: 13.06 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 43.92 kB / 371.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.34, allocations: 52.19 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003592/0.3436, allocations: 1.665 MB / 425.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.3464, allocations: 1.22 MB / 426.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.3465, allocations: 0 / 426.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004381/0.347, allocations: 43.7 kB / 426.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.3472, allocations: 39.77 kB / 426.4 MB, free: 11.62 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.001117/0.3483, allocations: 303.2 kB / 426.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.3487, allocations: 207.4 kB / 426.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3488, allocations: 9.312 kB / 426.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.3491, allocations: 91.72 kB / 427 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007265/0.3498, allocations: 114.2 kB / 427.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.3499, allocations: 12 kB / 427.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006236/0.3505, allocations: 319.4 kB / 427.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3506, allocations: 51.83 kB / 427.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3507, allocations: 75.58 kB / 427.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006689/0.3514, allocations: 331.7 kB / 427.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3514, allocations: 0 / 427.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3514, allocations: 0 / 427.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3514, allocations: 0 / 427.9 MB, free: 10.14 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.001404/0.3528, allocations: 0.4891 MB / 428.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3529, allocations: 12.03 kB / 428.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.808e-05/0.3529, allocations: 192 / 428.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.3529, allocations: 46.67 kB / 428.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.3532, allocations: 20.84 kB / 428.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.3537, allocations: 214.5 kB / 428.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.3538, allocations: 15.98 kB / 428.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.3538, allocations: 11.98 kB / 428.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.354, allocations: 97.64 kB / 428.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.354, allocations: 0 / 428.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3541, allocations: 0 / 428.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3541, allocations: 7.938 kB / 428.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.3543, allocations: 83.86 kB / 428.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.3552, allocations: 427.5 kB / 429.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.3555, allocations: 118.5 kB / 429.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.3556, allocations: 56.81 kB / 429.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3556, allocations: 8 kB / 429.5 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.3559, allocations: 115.3 kB / 429.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3559, allocations: 0 / 429.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005377/0.3564, allocations: 225.5 kB / 429.8 MB, free: 8.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.3565, allocations: 63.39 kB / 429.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.3569, allocations: 251.7 kB / 430.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.3569, allocations: 33.7 kB / 430.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.357, allocations: 116.1 kB / 430.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.3571, allocations: 51.77 kB / 430.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.3572, allocations: 45.7 kB / 430.3 MB, free: 7.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3573, allocations: 326.8 kB / 430.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.3575, allocations: 87.88 kB / 430.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.3577, allocations: 109.7 kB / 430.8 MB, free: 6.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.358, allocations: 181.6 kB / 431 MB, free: 6.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.358, allocations: 0 / 431 MB, free: 6.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004571/0.3585, allocations: 255.4 kB / 431.3 MB, free: 6.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3585, allocations: 4 kB / 431.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3585, allocations: 0 / 431.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3585, allocations: 3.938 kB / 431.3 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3587, allocations: 43.98 kB / 431.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3587, allocations: 0 / 431.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.3589, allocations: 23.88 kB / 431.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.3589, allocations: 19.92 kB / 431.4 MB, free: 6.434 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.0001497/0.3591, allocations: 141.5 kB / 431.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.3591, allocations: 19.86 kB / 431.5 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.3592, allocations: 25.47 kB / 431.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3592, allocations: 0 / 431.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3592, allocations: 4 kB / 431.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3592, allocations: 3.984 kB / 431.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.3595, allocations: 208.7 kB / 431.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3595, allocations: 0 / 431.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.3596, allocations: 15.98 kB / 431.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3596, allocations: 96 / 431.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3596, allocations: 11.92 kB / 431.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3596, allocations: 0 / 431.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3596, allocations: 4 kB / 431.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.3601, allocations: 280.8 kB / 432.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.3602, allocations: 35.84 kB / 432.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.3602, allocations: 4 kB / 432.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.3604, allocations: 19.97 kB / 432.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.3605, allocations: 11.98 kB / 432.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3605, allocations: 4.062 kB / 432.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003302/0.3608, allocations: 189.4 kB / 432.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3608, allocations: 0 / 432.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.3612, allocations: 87.8 kB / 432.4 MB, free: 5.316 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.001405/0.3626, allocations: 0.972 MB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.363, allocations: 167.8 kB / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.363, allocations: 0 / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3631, allocations: 63.91 kB / 433.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.3634, allocations: 12 kB / 433.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.367, allocations: 2.36 MB / 436 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3674, allocations: 0.7318 MB / 436.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.3675, allocations: 37.38 kB / 436.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3676, allocations: 47.42 kB / 436.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3676, allocations: 0 / 436.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3955, allocations: 5.327 MB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.78, allocations: 11.38 kB / 442.1 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.405285309010651]