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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 113.8 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002275/0.002275, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.965/2.965, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7732, allocations: 49.43 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00704/0.7804, allocations: 1.642 MB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004062/0.7845, allocations: 1.196 MB / 403.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.7848, allocations: 3.938 kB / 403.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.7855, allocations: 39.77 kB / 403.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.7859, allocations: 31.78 kB / 403.1 MB, free: 5.898 MB / 318.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.001863/0.7878, allocations: 291.1 kB / 403.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.7885, allocations: 179.5 kB / 403.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.7887, allocations: 25.09 kB / 403.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.7891, allocations: 79.73 kB / 403.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.7902, allocations: 103.6 kB / 403.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.7905, allocations: 16 kB / 403.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.7918, allocations: 267.5 kB / 404.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.792, allocations: 47.83 kB / 404.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.7922, allocations: 75.58 kB / 404.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.7939, allocations: 320.9 kB / 404.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.794, allocations: 0 / 404.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.468e-06/0.794, allocations: 0 / 404.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.492e-05/0.794, allocations: 0 / 404.5 MB, free: 4.523 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.002565/0.7966, allocations: 0.5571 MB / 405.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.462e-05/0.7967, allocations: 12.03 kB / 405.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.76e-05/0.7968, allocations: 38.73 kB / 405.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.7972, allocations: 28.73 kB / 405.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.7981, allocations: 280.3 kB / 405.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.7982, allocations: 8 kB / 405.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.7982, allocations: 4 kB / 405.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.7986, allocations: 105.6 kB / 405.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.7986, allocations: 0 / 405.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.7986, allocations: 0 / 405.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.7986, allocations: 3.984 kB / 405.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.7993, allocations: 83.88 kB / 405.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.8024, allocations: 452.5 kB / 406.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.8029, allocations: 118.5 kB / 406.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.8031, allocations: 56.83 kB / 406.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.8032, allocations: 4 kB / 406.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003588/0.8035, allocations: 123.3 kB / 406.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 4.448e-06/0.8035, allocations: 0 / 406.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008203/0.8044, allocations: 229.5 kB / 406.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.8045, allocations: 63.33 kB / 406.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006766/0.8052, allocations: 252.7 kB / 406.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.8053, allocations: 41.64 kB / 406.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.8054, allocations: 112.1 kB / 407.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/0.8055, allocations: 47.52 kB / 407.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.8057, allocations: 53.62 kB / 407.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.8059, allocations: 326.8 kB / 407.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.8061, allocations: 83.94 kB / 407.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.8064, allocations: 109.3 kB / 407.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.8069, allocations: 177.8 kB / 407.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8069, allocations: 0 / 407.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007963/0.8077, allocations: 269.1 kB / 408.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.8078, allocations: 4 kB / 408.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.8078, allocations: 4 kB / 408.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/0.8079, allocations: 4.031 kB / 408.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.8082, allocations: 35.91 kB / 408.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.8082, allocations: 0 / 408.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.8088, allocations: 27.89 kB / 408.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.8089, allocations: 4 kB / 408.2 MB, free: 0.625 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.0002835/0.8091, allocations: 141.8 kB / 408.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.8092, allocations: 19.75 kB / 408.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.8094, allocations: 21.53 kB / 408.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.8094, allocations: 0 / 408.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.8094, allocations: 0 / 408.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.8094, allocations: 0 / 408.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.8101, allocations: 253.3 kB / 408.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.8101, allocations: 0 / 408.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.8103, allocations: 19.92 kB / 408.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.8103, allocations: 0 / 408.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.8104, allocations: 4 kB / 408.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.8104, allocations: 3.938 kB / 408.6 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.8104, allocations: 7.984 kB / 408.6 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008176/0.8112, allocations: 279.4 kB / 408.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.8114, allocations: 100.9 kB / 409 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.8115, allocations: 11.98 kB / 409 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.8117, allocations: 19.97 kB / 409 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.8118, allocations: 4 kB / 409 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.8119, allocations: 12.23 kB / 409.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005098/0.8124, allocations: 188.4 kB / 409.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8124, allocations: 3.938 kB / 409.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002035/0.8145, allocations: 87.98 kB / 409.3 MB, free: 15.37 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.002757/0.8172, allocations: 0.9688 MB / 410.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008535/0.8181, allocations: 169.3 kB / 410.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8181, allocations: 0 / 410.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.8184, allocations: 71.91 kB / 410.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.8188, allocations: 15.08 kB / 410.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/0.8253, allocations: 2.362 MB / 412.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/0.8262, allocations: 0.728 MB / 413.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.8265, allocations: 33.39 kB / 413.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.8267, allocations: 47.42 kB / 413.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.996e-06/0.8267, allocations: 0 / 413.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1823/1.009, allocations: 5.138 MB / 418.9 MB, free: 5.848 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.38/20.39, allocations: 4.766 kB / 418.9 MB, free: 5.844 MB / 334.1 MB (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 --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) 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) Reference file matches