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: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008462/0.0008462, allocations: 99.72 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008662/0.0008665, allocations: 194.8 kB / 17.91 MB, free: 5.926 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.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002151/0.0002152, allocations: 8 kB / 307.1 MB, free: 1.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1027, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.00205/0.1048, allocations: 1.544 MB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1063, allocations: 0.9554 MB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.061e-05/0.1064, allocations: 4 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/0.1065, allocations: 11.86 kB / 361.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1067, allocations: 27.78 kB / 361.2 MB, free: 11.1 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.0004454/0.1071, allocations: 131.7 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.1074, allocations: 195.5 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1075, allocations: 60.23 kB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.1076, allocations: 75.64 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.1078, allocations: 99.56 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.1079, allocations: 12 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.1081, allocations: 103.8 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.1081, allocations: 39.83 kB / 361.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.1082, allocations: 57.58 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1084, allocations: 199.8 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1084, allocations: 8 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1084, allocations: 0 / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1085, allocations: 0 / 362.1 MB, free: 10.14 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.001078/0.1095, allocations: 0.5466 MB / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1096, allocations: 8.031 kB / 362.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.1098, allocations: 39.7 kB / 362.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.11, allocations: 234.6 kB / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.1101, allocations: 12.28 kB / 363 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.1101, allocations: 27.94 kB / 363 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.1106, allocations: 214.7 kB / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1106, allocations: 0 / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1107, allocations: 4 kB / 363.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1107, allocations: 4 kB / 363.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.1112, allocations: 192.4 kB / 363.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1122, allocations: 0.5905 MB / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.1133, allocations: 373.2 kB / 364.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.1136, allocations: 140.7 kB / 364.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1136, allocations: 4 kB / 364.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004136/0.114, allocations: 181 kB / 364.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.734e-06/0.114, allocations: 0 / 364.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001007/0.115, allocations: 413.4 kB / 365.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1151, allocations: 67.34 kB / 365.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.1153, allocations: 222.6 kB / 365.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1154, allocations: 41.7 kB / 365.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.1155, allocations: 132.5 kB / 365.5 MB, free: 6.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.1155, allocations: 71 kB / 365.6 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.1156, allocations: 4 kB / 365.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1157, allocations: 334.8 kB / 365.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.116, allocations: 151.9 kB / 366.1 MB, free: 5.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.1164, allocations: 182.2 kB / 366.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.1168, allocations: 157.2 kB / 366.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1168, allocations: 0 / 366.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008113/0.1176, allocations: 419.9 kB / 366.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1176, allocations: 4 kB / 366.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1176, allocations: 0 / 366.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1177, allocations: 4 kB / 366.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.118, allocations: 79.89 kB / 366.9 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.118, allocations: 4 kB / 366.9 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.1182, allocations: 59.56 kB / 367 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.1182, allocations: 4 kB / 367 MB, free: 5.066 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.1184, allocations: 149.6 kB / 367.1 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1184, allocations: 19.77 kB / 367.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.1185, allocations: 21.86 kB / 367.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1185, allocations: 4 kB / 367.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1185, allocations: 4 kB / 367.2 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1185, allocations: 3.938 kB / 367.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.1196, allocations: 0.6649 MB / 367.8 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1196, allocations: 0 / 367.8 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.1199, allocations: 47.97 kB / 367.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1199, allocations: 0 / 367.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.1199, allocations: 15.98 kB / 367.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1199, allocations: 0 / 367.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1199, allocations: 0 / 367.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1209, allocations: 0.5346 MB / 368.4 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.121, allocations: 100.8 kB / 368.5 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.1211, allocations: 12.05 kB / 368.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.1213, allocations: 23.98 kB / 368.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.1213, allocations: 15.97 kB / 368.6 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1213, allocations: 4 kB / 368.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1215, allocations: 164.7 kB / 368.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1215, allocations: 0 / 368.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.1218, allocations: 67.84 kB / 368.8 MB, free: 3.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000382/0.1222, allocations: 189.3 kB / 369 MB, free: 2.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007446/0.123, allocations: 326.7 kB / 369.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.123, allocations: 0 / 369.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.1233, allocations: 132 kB / 369.4 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.1237, allocations: 23.89 kB / 369.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/0.1246, allocations: 0.5347 MB / 370 MB, free: 1.926 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1249, allocations: 0.7398 MB / 370.7 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.125, allocations: 33.94 kB / 370.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.1251, allocations: 27.42 kB / 370.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1251, allocations: 0 / 370.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of Templates: time 0.1767/0.3018, allocations: 2.633 MB / 373.4 MB, free: 18.65 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (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 & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/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:globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.seed,globalSeed.useAutomaticSeed,mean.actualStartTime,mean.mu,mean.startTime,mean.t_0,mean.t_eps,meanError.u2,meanError_y,noise.actualGlobalSeed,noise.enableNoise,noise.fixedLocalSeed,noise.generateNoise,noise.localSeed,noise.samplePeriod,noise.startTime,noise.useAutomaticLocalSeed,noise.useGlobalSeed,noise.y_max,noise.y_min,noise.y_off,pMean,sigmaError.u2,sigmaError_y,standardDeviation.t_eps,standardDeviation.variance.mu,standardDeviation.variance.t_0,standardDeviation.variance.t_eps,standardDeviation.variance.var,std,theoreticalMean.k,theoreticalMean.y,theoreticalSigma.k,theoreticalSigma.y,theoreticalVariance.significantDigits,theoreticalVariance.u[1],theoreticalVariance.u[2],time,var,variance.mu,variance.t_0,variance.t_eps,variance.var,y_max,y_min