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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001765/0.001765, allocations: 115.3 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.002061, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.33 kB / 306.6 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09712, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.004196/0.1014, allocations: 1.739 MB / 358.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.1038, allocations: 1.251 MB / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.104, allocations: 0 / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.1046, allocations: 23.86 kB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1048, allocations: 35.83 kB / 360.1 MB, free: 11.03 MB / 302.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.0008817/0.1057, allocations: 255.4 kB / 360.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.106, allocations: 179.6 kB / 360.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1061, allocations: 25.06 kB / 360.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.1063, allocations: 95.59 kB / 360.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006917/0.107, allocations: 98.38 kB / 360.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.1071, allocations: 12 kB / 360.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.1076, allocations: 299.3 kB / 361.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.1077, allocations: 51.88 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1078, allocations: 63.59 kB / 361.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.1084, allocations: 343.2 kB / 361.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1084, allocations: 0 / 361.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1084, allocations: 0 / 361.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1084, allocations: 0 / 361.5 MB, free: 9.641 MB / 302.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.001311/0.1098, allocations: 0.5557 MB / 362.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.1098, allocations: 12.03 kB / 362.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.1099, allocations: 30.75 kB / 362.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000254/0.1101, allocations: 36.64 kB / 362.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.1107, allocations: 268.8 kB / 362.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1107, allocations: 12.36 kB / 362.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.1107, allocations: 15.88 kB / 362.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.111, allocations: 97.64 kB / 362.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.111, allocations: 4 kB / 362.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.111, allocations: 0 / 362.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.111, allocations: 0 / 362.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.1112, allocations: 83.92 kB / 362.6 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008858/0.1121, allocations: 448.5 kB / 363.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.1124, allocations: 130.4 kB / 363.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1125, allocations: 56.95 kB / 363.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1126, allocations: 0 / 363.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.1128, allocations: 127.4 kB / 363.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.1128, allocations: 0 / 363.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004955/0.1133, allocations: 229.2 kB / 363.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.1133, allocations: 55.41 kB / 363.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.1138, allocations: 243.8 kB / 363.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.1138, allocations: 41.69 kB / 363.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.1139, allocations: 124.1 kB / 364 MB, free: 6.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.114, allocations: 39.45 kB / 364.1 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.114, allocations: 53.78 kB / 364.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1142, allocations: 334.7 kB / 364.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1143, allocations: 83.94 kB / 364.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.1145, allocations: 106.7 kB / 364.7 MB, free: 6.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.1148, allocations: 186.5 kB / 364.8 MB, free: 6.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1148, allocations: 0 / 364.8 MB, free: 6.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004177/0.1152, allocations: 253.3 kB / 365.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1153, allocations: 7.938 kB / 365.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1153, allocations: 0 / 365.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1153, allocations: 7.984 kB / 365.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.1155, allocations: 31.97 kB / 365.1 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1155, allocations: 11.92 kB / 365.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1157, allocations: 35.84 kB / 365.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1158, allocations: 4 kB / 365.2 MB, free: 5.738 MB / 302.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.0001355/0.1159, allocations: 141.8 kB / 365.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.1159, allocations: 19.66 kB / 365.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.116, allocations: 21.53 kB / 365.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.116, allocations: 0 / 365.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.116, allocations: 7.984 kB / 365.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.116, allocations: 0 / 365.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.1163, allocations: 229.6 kB / 365.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1163, allocations: 3.984 kB / 365.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.1164, allocations: 19.94 kB / 365.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1164, allocations: 3.938 kB / 365.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1164, allocations: 7.984 kB / 365.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1165, allocations: 0 / 365.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1165, allocations: 0 / 365.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.1169, allocations: 272.8 kB / 365.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.117, allocations: 112.8 kB / 366 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.1171, allocations: 11.94 kB / 366 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.1173, allocations: 19.91 kB / 366 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.1173, allocations: 11.98 kB / 366 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1174, allocations: 0 / 366 MB, free: 4.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000325/0.1177, allocations: 192.2 kB / 366.2 MB, free: 4.594 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1177, allocations: 0 / 366.2 MB, free: 4.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000372/0.1181, allocations: 83.98 kB / 366.3 MB, free: 4.512 MB / 302.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.001277/0.1194, allocations: 0.9712 MB / 367.3 MB, free: 3.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003709/0.1197, allocations: 180.5 kB / 367.5 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1198, allocations: 4.062 kB / 367.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.1199, allocations: 63.91 kB / 367.5 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.1202, allocations: 18.81 kB / 367.5 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.1235, allocations: 2.387 MB / 369.9 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.1238, allocations: 0.7279 MB / 370.7 MB, free: 44 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1239, allocations: 33.41 kB / 370.7 MB, free: 12 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1537/0.2776, allocations: 47.62 kB / 370.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.064e-06/0.2777, allocations: 0.5 kB / 370.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.2977, allocations: 4.932 MB / 375.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/0.298, allocations: 256.4 kB / 375.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.262, allocations: 4 kB / 375.9 MB, free: 18.95 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches