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.001288/0.001289, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3688, allocations: 50.53 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003091/0.372, allocations: 1.873 MB / 411.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3739, allocations: 1.017 MB / 412.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.3741, allocations: 0 / 412.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.3743, allocations: 23.67 kB / 412.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.3746, allocations: 31.67 kB / 412.2 MB, free: 14.62 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.0007214/0.3753, allocations: 179.5 kB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.3756, allocations: 223.4 kB / 412.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.3758, allocations: 72.25 kB / 412.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.376, allocations: 95.62 kB / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.3767, allocations: 119.5 kB / 412.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-05/0.3768, allocations: 24 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.3771, allocations: 123.8 kB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.3771, allocations: 55.78 kB / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.3773, allocations: 103.4 kB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.3778, allocations: 294.7 kB / 413.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3778, allocations: 4 kB / 413.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3778, allocations: 0 / 413.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3779, allocations: 0 / 413.5 MB, free: 13.35 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.001229/0.3791, allocations: 0.5636 MB / 414 MB, free: 12.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3792, allocations: 8.031 kB / 414 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.3794, allocations: 36.64 kB / 414.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.3797, allocations: 240.8 kB / 414.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.3798, allocations: 16.66 kB / 414.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.3798, allocations: 24.06 kB / 414.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.3804, allocations: 195 kB / 414.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3804, allocations: 0 / 414.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3804, allocations: 7.984 kB / 414.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3804, allocations: 4 kB / 414.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.3809, allocations: 152.4 kB / 414.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.382, allocations: 0.5788 MB / 415.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3831, allocations: 314 kB / 415.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.3834, allocations: 108.8 kB / 415.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.3834, allocations: 4 kB / 415.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.3838, allocations: 169.5 kB / 415.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.454e-06/0.3839, allocations: 0 / 415.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001026/0.3849, allocations: 361.1 kB / 416.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.385, allocations: 67.38 kB / 416.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3852, allocations: 218.7 kB / 416.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.3853, allocations: 37.7 kB / 416.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.59e-05/0.3854, allocations: 132.5 kB / 416.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.3854, allocations: 67.09 kB / 416.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.3856, allocations: 69.69 kB / 416.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3857, allocations: 338.8 kB / 417.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.3861, allocations: 127.9 kB / 417.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.3865, allocations: 161.7 kB / 417.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.3872, allocations: 279.1 kB / 417.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3873, allocations: 0 / 417.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001037/0.3883, allocations: 379.7 kB / 418 MB, free: 8.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.3883, allocations: 4 kB / 418 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.3884, allocations: 0 / 418 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.3884, allocations: 4 kB / 418.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.3887, allocations: 71.92 kB / 418.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.3888, allocations: 7.984 kB / 418.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.389, allocations: 47.61 kB / 418.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.389, allocations: 15.97 kB / 418.2 MB, free: 8.383 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.0001848/0.3892, allocations: 145.6 kB / 418.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.3893, allocations: 23.72 kB / 418.4 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.19e-05/0.3894, allocations: 25.86 kB / 418.4 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3894, allocations: 4 kB / 418.4 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3894, allocations: 0 / 418.4 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3894, allocations: 0 / 418.4 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.3906, allocations: 0.6152 MB / 419 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3906, allocations: 0 / 419 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.3909, allocations: 43.95 kB / 419 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.3909, allocations: 7.938 kB / 419.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.391, allocations: 3.938 kB / 419.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.391, allocations: 0 / 419.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.391, allocations: 0 / 419.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.392, allocations: 488 kB / 419.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.3921, allocations: 104.8 kB / 419.6 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.3922, allocations: 11.94 kB / 419.6 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.3924, allocations: 23.97 kB / 419.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.3924, allocations: 7.984 kB / 419.7 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3925, allocations: 8 kB / 419.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.3926, allocations: 156.7 kB / 419.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3926, allocations: 0 / 419.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.393, allocations: 71.94 kB / 419.9 MB, free: 6.562 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.0005164/0.3935, allocations: 198.3 kB / 420.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.3944, allocations: 279.6 kB / 420.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3944, allocations: 0 / 420.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.3947, allocations: 119.9 kB / 420.5 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3951, allocations: 31.88 kB / 420.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.3962, allocations: 450.6 kB / 421 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3966, allocations: 0.7398 MB / 421.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.3967, allocations: 29.94 kB / 421.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/0.3968, allocations: 23.42 kB / 421.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3968, allocations: 0 / 421.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of Templates: time 0.008113/0.4049, allocations: 2.936 MB / 424.7 MB, free: 1.758 MB / 334.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