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.000843/0.0008431, allocations: 96.89 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 202 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002068/0.0002068, allocations: 8.234 kB / 307.8 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08575, allocations: 51.52 MB / 359.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001876/0.08766, allocations: 1.59 MB / 360.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.0893, allocations: 0.994 MB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.08942, allocations: 4 kB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.08953, allocations: 15.8 kB / 362 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.08971, allocations: 23.84 kB / 362 MB, free: 10.57 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.0004718/0.09019, allocations: 147.7 kB / 362.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.09041, allocations: 207.4 kB / 362.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.09057, allocations: 68.25 kB / 362.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.09069, allocations: 79.62 kB / 362.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.09119, allocations: 103.5 kB / 362.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.09123, allocations: 12 kB / 362.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.09145, allocations: 115.8 kB / 362.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.09152, allocations: 39.83 kB / 362.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.47e-05/0.09162, allocations: 117.1 kB / 362.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.09194, allocations: 263.4 kB / 363.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09195, allocations: 7.922 kB / 363.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09196, allocations: 8 kB / 363.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.09197, allocations: 0 / 363.1 MB, free: 9.418 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000995/0.09297, allocations: 0.539 MB / 363.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.09301, allocations: 8.031 kB / 363.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.124e-05/0.0931, allocations: 58.64 kB / 363.7 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.0933, allocations: 40.64 kB / 363.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.09354, allocations: 243.8 kB / 364 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.09358, allocations: 12.38 kB / 364 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.09362, allocations: 23.94 kB / 364 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.09412, allocations: 222.5 kB / 364.3 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.09413, allocations: 3.938 kB / 364.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.09416, allocations: 4 kB / 364.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.09417, allocations: 4 kB / 364.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.09467, allocations: 184.2 kB / 364.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.0957, allocations: 0.6136 MB / 365.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.09678, allocations: 369.5 kB / 365.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.09711, allocations: 131.4 kB / 365.6 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.09714, allocations: 11.98 kB / 365.6 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.09754, allocations: 182.5 kB / 365.7 MB, free: 6.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.164e-06/0.09755, allocations: 7.938 kB / 365.8 MB, free: 6.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001004/0.09856, allocations: 405.1 kB / 366.1 MB, free: 6.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.09862, allocations: 67.39 kB / 366.2 MB, free: 6.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.09884, allocations: 222.6 kB / 366.4 MB, free: 5.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.09889, allocations: 45.69 kB / 366.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.09898, allocations: 124.5 kB / 366.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.09904, allocations: 74.98 kB / 366.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.0991, allocations: 41.7 kB / 366.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.0992, allocations: 338.8 kB / 367 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.09956, allocations: 147.9 kB / 367.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.09993, allocations: 185.3 kB / 367.4 MB, free: 4.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006538/0.1006, allocations: 311.2 kB / 367.7 MB, free: 4.625 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1006, allocations: 3.938 kB / 367.7 MB, free: 4.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008193/0.1014, allocations: 410.1 kB / 368.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1015, allocations: 11.94 kB / 368.1 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1015, allocations: 0 / 368.1 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1015, allocations: 0 / 368.1 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.1018, allocations: 87.88 kB / 368.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1018, allocations: 0 / 368.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.102, allocations: 51.72 kB / 368.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.102, allocations: 12 kB / 368.2 MB, free: 4.055 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.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.000138/0.1022, allocations: 150.7 kB / 368.4 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.1022, allocations: 15.81 kB / 368.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.1023, allocations: 21.88 kB / 368.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1023, allocations: 3.984 kB / 368.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1023, allocations: 0 / 368.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1023, allocations: 4 kB / 368.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.1034, allocations: 0.6572 MB / 369.1 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1034, allocations: 3.984 kB / 369.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.1037, allocations: 55.91 kB / 369.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1037, allocations: 0 / 369.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.1037, allocations: 7.984 kB / 369.2 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1037, allocations: 4 kB / 369.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1037, allocations: 4 kB / 369.2 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1048, allocations: 0.5336 MB / 369.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.1049, allocations: 104.9 kB / 369.8 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.1049, allocations: 7.984 kB / 369.8 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.1051, allocations: 31.92 kB / 369.8 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.1052, allocations: 15.97 kB / 369.8 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1052, allocations: 4 kB / 369.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1054, allocations: 168.7 kB / 370 MB, free: 2.172 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1054, allocations: 0 / 370 MB, free: 2.172 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.1057, allocations: 59.91 kB / 370.1 MB, free: 2.113 MB / 302.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.00159/0.1073, allocations: 1.158 MB / 371.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007717/0.1081, allocations: 318.2 kB / 371.5 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1081, allocations: 4.062 kB / 371.5 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.1084, allocations: 135.9 kB / 371.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1088, allocations: 27.06 kB / 371.7 MB, free: 492 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1376/0.2463, allocations: 2.986 MB / 374.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.2465, allocations: 0.7416 MB / 375.4 MB, free: 17.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.2467, allocations: 30.77 kB / 375.5 MB, free: 17.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.2468, allocations: 67.64 kB / 375.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2468, allocations: 0.5938 kB / 375.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.2614, allocations: 4.816 MB / 380.3 MB, free: 16.78 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/0.2615, allocations: 248.2 kB / 380.6 MB, free: 16.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/1.993, allocations: 3.938 kB / 380.6 MB, free: 16.52 MB / 302.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.0.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) "" Variables in the reference:time,mean.mu,standardDeviation.variance.mu,standardDeviation.variance.var,variance.mu,variance.var,meanError_y,sigmaError_y Variables in the result:der(mean.mu),der(standardDeviation.variance.mu),der(standardDeviation.variance.var),der(variance.mu),der(variance.var),globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.id_impure,globalSeed.seed,globalSeed.useAutomaticSeed,mean.mu,mean.startTime,mean.t_eps,mean.u,mean.y,meanError.u1,meanError.u2,meanError.y,meanError_y,noise.enableNoise,noise.fixedLocalSeed,noise.localSeed,noise.samplePeriod,noise.startTime,noise.useAutomaticLocalSeed,noise.useGlobalSeed,noise.y,noise.y_max,noise.y_min,noise.y_off,pMean,sigmaError.u1,sigmaError.u2,sigmaError.y,sigmaError_y,standardDeviation.sqrt1.u,standardDeviation.sqrt1.y,standardDeviation.t_eps,standardDeviation.u,standardDeviation.variance.mu,standardDeviation.variance.t_eps,standardDeviation.variance.u,standardDeviation.variance.var,standardDeviation.variance.y,standardDeviation.y,std,theoreticalMean.k,theoreticalMean.y,theoreticalSigma.k,theoreticalSigma.y,theoreticalVariance.nu,theoreticalVariance.significantDigits,theoreticalVariance.u[1],theoreticalVariance.u[2],theoreticalVariance.y,time,var,variance.mu,variance.t_eps,variance.u,variance.var,variance.y,varianceError.u1,varianceError.u2,varianceError.y,y_max,y_min