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.0008489/0.0008489, allocations: 97.12 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.0009455/0.0009455, allocations: 206.3 kB / 18.29 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.156/1.156, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000201/0.000201, allocations: 4 kB / 307.7 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07726/0.07748, allocations: 51.53 MB / 359.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001867/0.07939, allocations: 1.586 MB / 360.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.08093, allocations: 1.002 MB / 361.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.587e-05/0.08102, allocations: 0 / 361.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.08114, allocations: 19.86 kB / 361.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.08131, allocations: 19.8 kB / 361.9 MB, free: 10.66 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.0004137/0.08173, allocations: 151.7 kB / 362 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.08195, allocations: 207.4 kB / 362.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.08212, allocations: 64.25 kB / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.097e-05/0.08222, allocations: 79.62 kB / 362.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000567/0.0828, allocations: 103.5 kB / 362.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.08283, allocations: 8 kB / 362.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.08303, allocations: 115.8 kB / 362.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.0831, allocations: 43.81 kB / 362.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.08321, allocations: 109.2 kB / 362.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.08351, allocations: 275.3 kB / 363 MB, free: 9.527 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.08352, allocations: 0 / 363 MB, free: 9.527 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.08353, allocations: 3.938 kB / 363 MB, free: 9.523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.08354, allocations: 0 / 363 MB, free: 9.523 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.001012/0.08455, allocations: 0.5468 MB / 363.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.0846, allocations: 8.031 kB / 363.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.08479, allocations: 36.64 kB / 363.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.08503, allocations: 243.8 kB / 363.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.08507, allocations: 16.66 kB / 363.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.08512, allocations: 24.03 kB / 363.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.0856, allocations: 218.7 kB / 364.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.08562, allocations: 0 / 364.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.08565, allocations: 4 kB / 364.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.08566, allocations: 8 kB / 364.1 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.08614, allocations: 189.2 kB / 364.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009845/0.08713, allocations: 0.5906 MB / 364.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.08819, allocations: 382.5 kB / 365.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.08851, allocations: 132.8 kB / 365.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.08854, allocations: 0 / 365.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.08893, allocations: 183.9 kB / 365.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.522e-06/0.08894, allocations: 0 / 365.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001032/0.08998, allocations: 415.4 kB / 366 MB, free: 6.395 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.09003, allocations: 63.41 kB / 366 MB, free: 6.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.09023, allocations: 222.7 kB / 366.2 MB, free: 6.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.09027, allocations: 37.7 kB / 366.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.09036, allocations: 132.5 kB / 366.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.09043, allocations: 67 kB / 366.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.09049, allocations: 41.69 kB / 366.5 MB, free: 5.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.09062, allocations: 342.8 kB / 366.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.09096, allocations: 147.9 kB / 367 MB, free: 5.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.09132, allocations: 181.6 kB / 367.2 MB, free: 5.125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.09196, allocations: 311.2 kB / 367.5 MB, free: 4.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.09197, allocations: 0 / 367.5 MB, free: 4.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007749/0.09275, allocations: 423.7 kB / 367.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.09278, allocations: 8.031 kB / 367.9 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.09279, allocations: 4 kB / 367.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.0928, allocations: 0 / 367.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.09309, allocations: 79.88 kB / 368 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.09311, allocations: 0 / 368 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.09328, allocations: 51.67 kB / 368 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.09331, allocations: 15.98 kB / 368 MB, free: 4.238 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.0001197/0.09344, allocations: 141.6 kB / 368.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.09347, allocations: 15.81 kB / 368.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.09353, allocations: 29.86 kB / 368.2 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.09354, allocations: 4 kB / 368.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.09355, allocations: 0 / 368.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.09355, allocations: 0 / 368.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009765/0.09453, allocations: 0.6646 MB / 368.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.09455, allocations: 0 / 368.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.09478, allocations: 55.95 kB / 369 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.09479, allocations: 4 kB / 369 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.09481, allocations: 0 / 369 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.09482, allocations: 3.938 kB / 369 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.09482, allocations: 0 / 369 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009906/0.09582, allocations: 0.5381 MB / 369.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.09587, allocations: 97.03 kB / 369.6 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.09592, allocations: 16 kB / 369.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.09611, allocations: 35.91 kB / 369.6 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.09616, allocations: 7.984 kB / 369.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.09618, allocations: 11.98 kB / 369.7 MB, free: 2.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.0963, allocations: 152.7 kB / 369.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.283e-06/0.09631, allocations: 0 / 369.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.09662, allocations: 75.78 kB / 369.9 MB, free: 2.297 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.0003417/0.09697, allocations: 193.1 kB / 370.1 MB, free: 2.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.09768, allocations: 315.8 kB / 370.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.09769, allocations: 0 / 370.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.098, allocations: 135.9 kB / 370.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.09831, allocations: 30.11 kB / 370.5 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/0.09912, allocations: 0.5465 MB / 371.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.09938, allocations: 0.7398 MB / 371.8 MB, free: 328 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.09949, allocations: 29.94 kB / 371.9 MB, free: 296 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.09956, allocations: 23.42 kB / 371.9 MB, free: 272 kB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09956, allocations: 0 / 371.9 MB, free: 272 kB / 302.1 MB Notification: Performance of Templates: time 0.1337/0.2332, allocations: 2.71 MB / 374.6 MB, free: 18.71 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