Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 118.3 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001586, allocations: 201.2 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 358.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2779, allocations: 50.55 MB / 408.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003423/0.2814, allocations: 1.873 MB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.2838, allocations: 1.298 MB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2839, allocations: 0 / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.2841, allocations: 23.73 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.2843, allocations: 27.73 kB / 412.1 MB, free: 14.2 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.0009327/0.2852, allocations: 311.1 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.2855, allocations: 223.4 kB / 412.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.2857, allocations: 64.27 kB / 412.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.2858, allocations: 99.61 kB / 412.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005753/0.2864, allocations: 117.8 kB / 412.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.2864, allocations: 24 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.287, allocations: 279.5 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.287, allocations: 63.81 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2872, allocations: 95.47 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.2878, allocations: 397.7 kB / 413.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2878, allocations: 3.938 kB / 413.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.2878, allocations: 3.984 kB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.2878, allocations: 0 / 413.7 MB, free: 12.55 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001143/0.2889, allocations: 0.5773 MB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.289, allocations: 12.03 kB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.417e-05/0.2891, allocations: 50.69 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.2893, allocations: 40.72 kB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.2896, allocations: 244.9 kB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.2896, allocations: 16.38 kB / 414.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.2897, allocations: 19.94 kB / 414.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.2902, allocations: 206.4 kB / 414.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2903, allocations: 3.984 kB / 414.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.2903, allocations: 11.98 kB / 414.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2903, allocations: 4 kB / 414.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.2908, allocations: 160 kB / 415 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.2919, allocations: 0.5788 MB / 415.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.293, allocations: 302.7 kB / 415.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.2933, allocations: 116.8 kB / 416 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2934, allocations: 0 / 416 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004317/0.2938, allocations: 170.8 kB / 416.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.552e-06/0.2938, allocations: 0 / 416.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001116/0.2949, allocations: 361.2 kB / 416.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.295, allocations: 59.39 kB / 416.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.2953, allocations: 226.7 kB / 416.8 MB, free: 9.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.2953, allocations: 41.69 kB / 416.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.2954, allocations: 128.6 kB / 417 MB, free: 9.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.2955, allocations: 75.38 kB / 417.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.2956, allocations: 65.67 kB / 417.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2958, allocations: 350.7 kB / 417.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.2962, allocations: 127.9 kB / 417.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.2966, allocations: 161.6 kB / 417.8 MB, free: 8.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.2973, allocations: 271.2 kB / 418 MB, free: 7.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2973, allocations: 0 / 418 MB, free: 7.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009198/0.2982, allocations: 370 kB / 418.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2982, allocations: 11.98 kB / 418.4 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2983, allocations: 0 / 418.4 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2983, allocations: 3.938 kB / 418.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.2986, allocations: 71.98 kB / 418.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2986, allocations: 3.938 kB / 418.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.2988, allocations: 39.81 kB / 418.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.2989, allocations: 12 kB / 418.5 MB, free: 7.488 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.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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.000171/0.299, allocations: 145.7 kB / 418.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.2991, allocations: 23.86 kB / 418.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.39e-05/0.2992, allocations: 29.86 kB / 418.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2992, allocations: 0 / 418.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2992, allocations: 0 / 418.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2992, allocations: 0 / 418.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.3004, allocations: 0.6269 MB / 419.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3004, allocations: 0 / 419.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.3006, allocations: 43.89 kB / 419.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3006, allocations: 0 / 419.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3007, allocations: 8 kB / 419.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3007, allocations: 0 / 419.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3007, allocations: 0 / 419.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.3018, allocations: 494.4 kB / 419.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.3019, allocations: 100.8 kB / 420 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.302, allocations: 12 kB / 420 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.3022, allocations: 19.97 kB / 420 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.3022, allocations: 23.95 kB / 420 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3023, allocations: 4 kB / 420 MB, free: 5.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.3024, allocations: 156.7 kB / 420.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3024, allocations: 7.875 kB / 420.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000441/0.3029, allocations: 95.8 kB / 420.3 MB, free: 5.621 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.001974/0.3049, allocations: 1.174 MB / 421.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008288/0.3057, allocations: 291.5 kB / 421.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3057, allocations: 0 / 421.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.3061, allocations: 114.2 kB / 421.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.3064, allocations: 34.16 kB / 421.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.3109, allocations: 2.81 MB / 424.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.3113, allocations: 0.7436 MB / 425.4 MB, free: 360 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.3114, allocations: 29.94 kB / 425.5 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3116, allocations: 83.33 kB / 425.6 MB, free: 244 kB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3116, allocations: 0 / 425.6 MB, free: 244 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.343, allocations: 6.041 MB / 431.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.239/9.582, allocations: 3.625 kB / 431.6 MB, free: 10.3 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches