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.001147/0.001147, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.4 MB, free: 9.156 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.64 kB / 306.6 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1312, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003484/0.1347, allocations: 1.933 MB / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1371, allocations: 1.29 MB / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1372, allocations: 0 / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.1374, allocations: 11.86 kB / 360.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.1376, allocations: 31.78 kB / 360.4 MB, free: 10.82 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.0009494/0.1385, allocations: 267.5 kB / 360.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.1388, allocations: 215.5 kB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.139, allocations: 80.17 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1392, allocations: 87.64 kB / 361 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.1398, allocations: 126 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/0.1399, allocations: 20 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.1404, allocations: 299.5 kB / 361.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.1405, allocations: 59.83 kB / 361.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1406, allocations: 99.39 kB / 361.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.1411, allocations: 395.2 kB / 362 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1412, allocations: 3.984 kB / 362 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1412, allocations: 0 / 362 MB, free: 9.207 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.1412, allocations: 0 / 362 MB, free: 9.207 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.001162/0.1424, allocations: 0.5739 MB / 362.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1424, allocations: 15.97 kB / 362.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.175e-05/0.1425, allocations: 54.5 kB / 362.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.1427, allocations: 36.64 kB / 362.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.143, allocations: 239.9 kB / 362.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.143, allocations: 16.38 kB / 362.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.1431, allocations: 19.94 kB / 362.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.1436, allocations: 206.5 kB / 363.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1436, allocations: 4 kB / 363.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.1436, allocations: 7.984 kB / 363.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1436, allocations: 4 kB / 363.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.1441, allocations: 160 kB / 363.3 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.1453, allocations: 0.59 MB / 363.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.1463, allocations: 306.7 kB / 364.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1466, allocations: 112.8 kB / 364.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1467, allocations: 7.984 kB / 364.3 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004034/0.1471, allocations: 165.7 kB / 364.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/0.1471, allocations: 0 / 364.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001014/0.1481, allocations: 353.1 kB / 364.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.1482, allocations: 67.33 kB / 364.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1484, allocations: 222.6 kB / 365.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.1485, allocations: 45.69 kB / 365.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.1486, allocations: 124.5 kB / 365.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.1487, allocations: 78.98 kB / 365.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.1488, allocations: 65.69 kB / 365.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.149, allocations: 338.8 kB / 365.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.1493, allocations: 131.9 kB / 365.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.1497, allocations: 165.3 kB / 366 MB, free: 4.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.1504, allocations: 271.2 kB / 366.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1504, allocations: 0 / 366.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008554/0.1513, allocations: 373.8 kB / 366.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1513, allocations: 6.812 kB / 366.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1513, allocations: 8.031 kB / 366.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1513, allocations: 4 kB / 366.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.1517, allocations: 67.89 kB / 366.7 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.1517, allocations: 4 kB / 366.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.1519, allocations: 43.66 kB / 366.8 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.1519, allocations: 11.98 kB / 366.8 MB, free: 4.133 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.0001886/0.1521, allocations: 146.8 kB / 366.9 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.1522, allocations: 15.81 kB / 367 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.925e-05/0.1523, allocations: 25.86 kB / 367 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1523, allocations: 4 kB / 367 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1523, allocations: 0 / 367 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1523, allocations: 0 / 367 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.1534, allocations: 0.6262 MB / 367.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1534, allocations: 0 / 367.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.1537, allocations: 43.95 kB / 367.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1537, allocations: 0 / 367.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.1537, allocations: 8 kB / 367.7 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1537, allocations: 4 kB / 367.7 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.1537, allocations: 11.91 kB / 367.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1548, allocations: 475 kB / 368.1 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.1548, allocations: 100.8 kB / 368.2 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.1549, allocations: 8.062 kB / 368.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.1551, allocations: 19.97 kB / 368.3 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/0.1552, allocations: 15.97 kB / 368.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1552, allocations: 8 kB / 368.3 MB, free: 2.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.1554, allocations: 156.7 kB / 368.4 MB, free: 2.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1554, allocations: 0 / 368.4 MB, free: 2.383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005345/0.1559, allocations: 103.9 kB / 368.5 MB, free: 2.281 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.002072/0.158, allocations: 1.174 MB / 369.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008199/0.1588, allocations: 303.5 kB / 370 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1588, allocations: 0 / 370 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.1592, allocations: 107.9 kB / 370.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1595, allocations: 32 kB / 370.1 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1902/0.3497, allocations: 2.863 MB / 373 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.35, allocations: 0.7416 MB / 373.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.3502, allocations: 31.81 kB / 373.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3503, allocations: 74.34 kB / 373.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3503, allocations: 1.312 kB / 373.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3871/0.7374, allocations: 5.833 MB / 379.7 MB, free: 17.78 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.7377, allocations: 251.2 kB / 379.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.921, allocations: 0 / 379.9 MB, free: 17.52 MB / 302.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.0.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) "" 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,mu,noise.enableNoise,noise.fixedLocalSeed,noise.localSeed,noise.mu,noise.samplePeriod,noise.sigma,noise.startTime,noise.useAutomaticLocalSeed,noise.useGlobalSeed,noise.y,noise.y_off,pMean,sigma,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