Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 68.12 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.279, allocations: 50.55 MB / 408.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003124/0.2821, allocations: 1.882 MB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.284, allocations: 1.005 MB / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.2841, allocations: 3.938 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.2843, allocations: 23.73 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.2845, allocations: 39.64 kB / 411.8 MB, free: 14.49 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.0005996/0.2851, allocations: 179.5 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.2854, allocations: 223.4 kB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.2856, allocations: 68.27 kB / 412.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2857, allocations: 99.61 kB / 412.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.2863, allocations: 117.7 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.2863, allocations: 24 kB / 412.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.2866, allocations: 123.8 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.2866, allocations: 59.77 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.2868, allocations: 103.4 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.2872, allocations: 293.9 kB / 413.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2872, allocations: 0 / 413.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.2872, allocations: 8 kB / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2872, allocations: 0 / 413.1 MB, free: 13.22 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.001137/0.2884, allocations: 0.5619 MB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2884, allocations: 8.031 kB / 413.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.838e-05/0.2885, allocations: 50.69 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.2887, allocations: 40.78 kB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.289, allocations: 240.9 kB / 414 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.2891, allocations: 20.36 kB / 414 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.2891, allocations: 23.94 kB / 414 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.2897, allocations: 202.4 kB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2897, allocations: 0 / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.2897, allocations: 8 kB / 414.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.2897, allocations: 4 kB / 414.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.2902, allocations: 164 kB / 414.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.2914, allocations: 0.5865 MB / 415 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.2925, allocations: 298.7 kB / 415.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.2928, allocations: 116.8 kB / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2928, allocations: 0 / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004436/0.2933, allocations: 164.3 kB / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.773e-06/0.2933, allocations: 0 / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001087/0.2944, allocations: 360.8 kB / 415.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.2945, allocations: 67.39 kB / 415.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.2947, allocations: 226.7 kB / 416.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.2948, allocations: 33.7 kB / 416.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2949, allocations: 140.6 kB / 416.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.2949, allocations: 71.38 kB / 416.4 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.2951, allocations: 73.69 kB / 416.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2952, allocations: 338.8 kB / 416.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.2956, allocations: 131.9 kB / 416.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.296, allocations: 157.6 kB / 417.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.2967, allocations: 275.2 kB / 417.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2967, allocations: 0 / 417.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008919/0.2976, allocations: 378 kB / 417.7 MB, free: 8.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2977, allocations: 4 kB / 417.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2977, allocations: 0 / 417.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2977, allocations: 4 kB / 417.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.298, allocations: 71.88 kB / 417.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.298, allocations: 0 / 417.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2982, allocations: 51.75 kB / 417.9 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.2983, allocations: 12 kB / 417.9 MB, free: 8.168 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.0001786/0.2984, allocations: 145.7 kB / 418 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.2985, allocations: 23.84 kB / 418 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.2986, allocations: 21.88 kB / 418.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2986, allocations: 0 / 418.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2986, allocations: 4 kB / 418.1 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2986, allocations: 3.984 kB / 418.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.2998, allocations: 0.6191 MB / 418.7 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2998, allocations: 4 kB / 418.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.3, allocations: 47.89 kB / 418.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3001, allocations: 0 / 418.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3001, allocations: 4 kB / 418.7 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3001, allocations: 3.984 kB / 418.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3001, allocations: 0 / 418.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3012, allocations: 483 kB / 419.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.3013, allocations: 108.9 kB / 419.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.3013, allocations: 8 kB / 419.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.3015, allocations: 23.97 kB / 419.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.3016, allocations: 11.98 kB / 419.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.3016, allocations: 15.92 kB / 419.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.3018, allocations: 152.7 kB / 419.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3018, allocations: 3.938 kB / 419.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000373/0.3022, allocations: 67.92 kB / 419.6 MB, free: 6.336 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.001808/0.304, allocations: 1.101 MB / 420.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008386/0.3049, allocations: 291.6 kB / 421 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3049, allocations: 0 / 421 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.3052, allocations: 115.9 kB / 421.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3056, allocations: 23.94 kB / 421.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.3102, allocations: 2.812 MB / 423.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.3107, allocations: 0.7475 MB / 424.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.3108, allocations: 25.94 kB / 424.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.311, allocations: 71.41 kB / 424.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.311, allocations: 0 / 424.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.3403, allocations: 5.282 MB / 430.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.277/9.618, allocations: 7.438 kB / 430.1 MB, free: 11.86 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches