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.001317/0.001317, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2643, allocations: 50.53 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002903/0.2673, allocations: 1.886 MB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.269, allocations: 1.005 MB / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.2691, allocations: 0 / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.2692, allocations: 23.73 kB / 411.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.2694, allocations: 31.67 kB / 411.7 MB, free: 14.6 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.0005218/0.2699, allocations: 179.5 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.2702, allocations: 223.4 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2703, allocations: 72.23 kB / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.2705, allocations: 99.62 kB / 412.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.271, allocations: 119.4 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.271, allocations: 24 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.2713, allocations: 119.8 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.2713, allocations: 55.83 kB / 412.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.2714, allocations: 107.4 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.2718, allocations: 292.8 kB / 413 MB, free: 13.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2718, allocations: 0 / 413 MB, free: 13.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2718, allocations: 4 kB / 413 MB, free: 13.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2718, allocations: 0 / 413 MB, free: 13.33 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.001118/0.273, allocations: 0.5622 MB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.273, allocations: 8.031 kB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.28e-05/0.2731, allocations: 54.72 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.2733, allocations: 36.64 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.2736, allocations: 244.7 kB / 413.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2736, allocations: 16.38 kB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.2736, allocations: 23.94 kB / 413.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.2741, allocations: 206.3 kB / 414.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2741, allocations: 0 / 414.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.2742, allocations: 8 kB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2742, allocations: 4 kB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.2747, allocations: 164 kB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2757, allocations: 0.5824 MB / 414.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.2768, allocations: 302.7 kB / 415.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.2771, allocations: 116.8 kB / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2771, allocations: 0 / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.2775, allocations: 162.8 kB / 415.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.2775, allocations: 0 / 415.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001016/0.2786, allocations: 357.1 kB / 415.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.2786, allocations: 67.39 kB / 415.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.2788, allocations: 222.8 kB / 416.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.2789, allocations: 33.7 kB / 416.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.429e-05/0.279, allocations: 140.4 kB / 416.2 MB, free: 9.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.279, allocations: 63.09 kB / 416.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2792, allocations: 69.69 kB / 416.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2793, allocations: 342.8 kB / 416.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.2797, allocations: 131.9 kB / 416.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.2801, allocations: 157.6 kB / 417 MB, free: 9.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.2807, allocations: 271.2 kB / 417.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2807, allocations: 0 / 417.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000827/0.2816, allocations: 377.9 kB / 417.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2816, allocations: 8 kB / 417.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2816, allocations: 3.938 kB / 417.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2816, allocations: 3.938 kB / 417.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.2819, allocations: 67.95 kB / 417.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2819, allocations: 3.938 kB / 417.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.2821, allocations: 51.62 kB / 417.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.2822, allocations: 19.98 kB / 417.8 MB, free: 8.273 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.0001356/0.2823, allocations: 145.7 kB / 417.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.2824, allocations: 19.72 kB / 417.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.277e-05/0.2824, allocations: 25.86 kB / 418 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2824, allocations: 0 / 418 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2824, allocations: 4 kB / 418 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2825, allocations: 0 / 418 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.2835, allocations: 0.618 MB / 418.6 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2835, allocations: 4 kB / 418.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.2838, allocations: 47.89 kB / 418.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2838, allocations: 0 / 418.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.2838, allocations: 4 kB / 418.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.2838, allocations: 0 / 418.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2838, allocations: 0 / 418.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2849, allocations: 486.3 kB / 419.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.2849, allocations: 100.8 kB / 419.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.285, allocations: 12.06 kB / 419.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.2852, allocations: 23.97 kB / 419.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.2852, allocations: 11.98 kB / 419.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.2853, allocations: 8 kB / 419.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.2854, allocations: 156.7 kB / 419.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2854, allocations: 3.938 kB / 419.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003429/0.2858, allocations: 67.94 kB / 419.5 MB, free: 6.461 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.001569/0.2873, allocations: 1.112 MB / 420.6 MB, free: 5.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007602/0.2881, allocations: 287.6 kB / 420.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2881, allocations: 0 / 420.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.2885, allocations: 119.9 kB / 421 MB, free: 4.949 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.2888, allocations: 22.19 kB / 421 MB, free: 4.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.2929, allocations: 2.791 MB / 423.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.2932, allocations: 0.7515 MB / 424.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.2933, allocations: 21.95 kB / 424.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2934, allocations: 71.41 kB / 424.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2934, allocations: 0 / 424.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.3189, allocations: 5.374 MB / 430 MB, free: 11.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.263, allocations: 11.11 kB / 430 MB, free: 11.9 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.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