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.00123/0.00123, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 55.41 kB / 307 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.08864, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002838/0.09152, allocations: 1.661 MB / 359.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.09356, allocations: 1.257 MB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.09367, allocations: 0 / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.094, allocations: 27.8 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.09414, allocations: 47.69 kB / 360.6 MB, free: 10.97 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.0007513/0.0949, allocations: 287.1 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.09513, allocations: 179.6 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.09523, allocations: 25.05 kB / 361 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.09544, allocations: 87.67 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.09596, allocations: 98.23 kB / 361.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.09602, allocations: 12 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.09643, allocations: 271.5 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.09653, allocations: 55.83 kB / 361.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.134e-05/0.09661, allocations: 67.58 kB / 361.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.09711, allocations: 327.4 kB / 361.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.09713, allocations: 0 / 361.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09713, allocations: 0 / 361.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.09714, allocations: 0 / 361.9 MB, free: 9.594 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.001174/0.09832, allocations: 0.5571 MB / 362.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.09836, allocations: 8.031 kB / 362.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.09841, allocations: 34.75 kB / 362.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.09862, allocations: 32.64 kB / 362.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.09906, allocations: 276.7 kB / 362.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.09909, allocations: 12.38 kB / 362.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.09913, allocations: 19.92 kB / 362.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.09934, allocations: 97.62 kB / 363 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.09936, allocations: 0 / 363 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.09938, allocations: 3.938 kB / 363 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.09939, allocations: 4 kB / 363 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.09958, allocations: 87.86 kB / 363.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.1004, allocations: 448.5 kB / 363.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1006, allocations: 118.5 kB / 363.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1007, allocations: 56.83 kB / 363.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1008, allocations: 8.094 kB / 363.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.101, allocations: 119.3 kB / 363.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.794e-06/0.101, allocations: 0 / 363.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004589/0.1015, allocations: 233.2 kB / 364 MB, free: 7.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1015, allocations: 55.41 kB / 364.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.1019, allocations: 251.7 kB / 364.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.102, allocations: 37.69 kB / 364.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.102, allocations: 120.1 kB / 364.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.1021, allocations: 47.44 kB / 364.5 MB, free: 6.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.1022, allocations: 45.7 kB / 364.6 MB, free: 6.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1023, allocations: 334.8 kB / 364.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.1025, allocations: 87.94 kB / 365 MB, free: 6.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.1026, allocations: 110 kB / 365.1 MB, free: 6.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.1029, allocations: 186.4 kB / 365.3 MB, free: 6.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1029, allocations: 0 / 365.3 MB, free: 6.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004082/0.1033, allocations: 249.4 kB / 365.5 MB, free: 5.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1034, allocations: 7.938 kB / 365.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1034, allocations: 0 / 365.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1034, allocations: 8.031 kB / 365.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1036, allocations: 31.91 kB / 365.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1036, allocations: 0 / 365.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.1038, allocations: 31.81 kB / 365.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1038, allocations: 8 kB / 365.6 MB, free: 5.691 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.0001228/0.104, allocations: 137.8 kB / 365.7 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.104, allocations: 23.66 kB / 365.8 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.104, allocations: 21.53 kB / 365.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1041, allocations: 4 kB / 365.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1041, allocations: 3.984 kB / 365.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1041, allocations: 0 / 365.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.1043, allocations: 233.6 kB / 366 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1043, allocations: 4.031 kB / 366 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.1045, allocations: 23.92 kB / 366 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1045, allocations: 3.938 kB / 366 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1045, allocations: 3.984 kB / 366.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1045, allocations: 0 / 366.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.1045, allocations: 8 kB / 366.1 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.105, allocations: 268.9 kB / 366.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.1051, allocations: 120.8 kB / 366.4 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.1051, allocations: 11.94 kB / 366.5 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1053, allocations: 15.97 kB / 366.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.1054, allocations: 7.984 kB / 366.5 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1054, allocations: 8.062 kB / 366.5 MB, free: 4.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003174/0.1057, allocations: 184.2 kB / 366.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1057, allocations: 0 / 366.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.1061, allocations: 83.98 kB / 366.7 MB, free: 4.457 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.001192/0.1073, allocations: 0.9697 MB / 367.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.1077, allocations: 182.8 kB / 367.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1077, allocations: 4 kB / 367.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1078, allocations: 63.91 kB / 368 MB, free: 3.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1081, allocations: 12 kB / 368 MB, free: 3.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.1112, allocations: 2.363 MB / 370.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1115, allocations: 0.7357 MB / 371.1 MB, free: 16 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.1438/0.2553, allocations: 27.44 kB / 371.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2555, allocations: 50.72 kB / 371.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2555, allocations: 0 / 371.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.2816, allocations: 5.02 MB / 376.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.988/9.27, allocations: 8.906 kB / 376.2 MB, free: 19.12 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