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.001118/0.001118, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 55.97 kB / 306.6 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1292, allocations: 50.53 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003739/0.133, allocations: 1.941 MB / 359 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1349, allocations: 1.009 MB / 360 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1351, allocations: 0 / 360 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1353, allocations: 7.875 kB / 360 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.1355, allocations: 27.8 kB / 360.1 MB, free: 11.3 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.0006777/0.1362, allocations: 155.7 kB / 360.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.1365, allocations: 223.5 kB / 360.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.1367, allocations: 60.27 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1369, allocations: 103.6 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/0.1374, allocations: 125.4 kB / 360.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.1375, allocations: 20 kB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.1377, allocations: 123.8 kB / 360.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.1378, allocations: 51.83 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1379, allocations: 107.4 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.1383, allocations: 287.4 kB / 361.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1383, allocations: 3.938 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1383, allocations: 4 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1383, allocations: 0 / 361.3 MB, free: 10.07 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.001104/0.1394, allocations: 0.5545 MB / 361.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1395, allocations: 8.031 kB / 361.9 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.42e-05/0.1396, allocations: 62.56 kB / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.1398, allocations: 28.66 kB / 362 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.14, allocations: 247.8 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1401, allocations: 20.36 kB / 362.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.1401, allocations: 23.94 kB / 362.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.1406, allocations: 202.5 kB / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1406, allocations: 7.984 kB / 362.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.1407, allocations: 4 kB / 362.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1407, allocations: 4 kB / 362.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.1412, allocations: 160.1 kB / 362.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1422, allocations: 0.5901 MB / 363.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1432, allocations: 310.7 kB / 363.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.1435, allocations: 108.8 kB / 363.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1436, allocations: 4 kB / 363.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/0.144, allocations: 167.8 kB / 363.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.144, allocations: 0 / 363.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001023/0.145, allocations: 359.5 kB / 364.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.1451, allocations: 59.41 kB / 364.2 MB, free: 6.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.1453, allocations: 226.6 kB / 364.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.1454, allocations: 41.69 kB / 364.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.1455, allocations: 132.5 kB / 364.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.1456, allocations: 67.02 kB / 364.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1457, allocations: 73.61 kB / 364.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1458, allocations: 338.8 kB / 365.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.1462, allocations: 135.9 kB / 365.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.1466, allocations: 157.4 kB / 365.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.1472, allocations: 271.2 kB / 365.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1473, allocations: 0 / 365.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008263/0.1481, allocations: 373.8 kB / 366 MB, free: 5.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1481, allocations: 4 kB / 366 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1481, allocations: 0 / 366 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1481, allocations: 4 kB / 366 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.1484, allocations: 71.92 kB / 366.1 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1485, allocations: 4 kB / 366.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1486, allocations: 39.72 kB / 366.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.1487, allocations: 12 kB / 366.1 MB, free: 5.023 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.0001484/0.1488, allocations: 146.8 kB / 366.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.1489, allocations: 19.81 kB / 366.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.845e-05/0.149, allocations: 25.86 kB / 366.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.149, allocations: 4 kB / 366.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.149, allocations: 0 / 366.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.149, allocations: 0 / 366.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.15, allocations: 0.6255 MB / 366.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.15, allocations: 0 / 366.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.1503, allocations: 47.95 kB / 367 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1503, allocations: 3.938 kB / 367 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.1503, allocations: 3.984 kB / 367 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1503, allocations: 4 kB / 367 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1504, allocations: 0 / 367 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1514, allocations: 486.3 kB / 367.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.1514, allocations: 104.8 kB / 367.6 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.1515, allocations: 12.11 kB / 367.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1517, allocations: 23.97 kB / 367.6 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.1518, allocations: 11.98 kB / 367.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1518, allocations: 8 kB / 367.6 MB, free: 3.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.1519, allocations: 156.7 kB / 367.8 MB, free: 3.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1519, allocations: 7.938 kB / 367.8 MB, free: 3.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.1523, allocations: 63.91 kB / 367.8 MB, free: 3.191 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.001674/0.154, allocations: 1.094 MB / 368.9 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008341/0.1548, allocations: 299.5 kB / 369.2 MB, free: 1.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1548, allocations: 0 / 369.2 MB, free: 1.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.1552, allocations: 115.8 kB / 369.3 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1555, allocations: 31.92 kB / 369.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1935/0.349, allocations: 2.848 MB / 372.2 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.3493, allocations: 0.7385 MB / 373 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.3495, allocations: 30.09 kB / 373 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.3497, allocations: 71.94 kB / 373.1 MB, free: 18.72 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3497, allocations: 0 / 373.1 MB, free: 18.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2576/0.6073, allocations: 5.079 MB / 378.1 MB, free: 18.3 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.6075, allocations: 248.7 kB / 378.4 MB, free: 18.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.768, allocations: 4.844 kB / 378.4 MB, free: 18.04 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