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: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 50.54 MB / 410 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00288/0.2824, allocations: 1.863 MB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.2844, allocations: 1.298 MB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.2845, allocations: 0 / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.2847, allocations: 23.73 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2848, allocations: 31.67 kB / 413.2 MB, free: 14.32 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.0007963/0.2856, allocations: 315.1 kB / 413.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.2859, allocations: 215.5 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.286, allocations: 68.25 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.2861, allocations: 95.62 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005101/0.2866, allocations: 126.5 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.2867, allocations: 23.94 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.2871, allocations: 279.6 kB / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.2872, allocations: 55.81 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.141e-05/0.2873, allocations: 99.41 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.2878, allocations: 386.6 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2878, allocations: 8 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2878, allocations: 3.938 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2878, allocations: 0 / 414.8 MB, free: 12.68 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.001051/0.2889, allocations: 0.5676 MB / 415.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2889, allocations: 8.031 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.2891, allocations: 40.64 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.2894, allocations: 244.7 kB / 415.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.2894, allocations: 16.66 kB / 415.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.2895, allocations: 24.12 kB / 415.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.2899, allocations: 194.9 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.29, allocations: 0 / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.29, allocations: 8 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.29, allocations: 4 kB / 415.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.2905, allocations: 156.4 kB / 416.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.2915, allocations: 0.5749 MB / 416.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2926, allocations: 309.8 kB / 416.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.2929, allocations: 116.8 kB / 417 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2929, allocations: 4 kB / 417 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003785/0.2933, allocations: 159.3 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.2933, allocations: 0 / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.00101/0.2943, allocations: 364.4 kB / 417.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.2944, allocations: 59.41 kB / 417.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.2946, allocations: 218.7 kB / 417.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.2946, allocations: 45.69 kB / 417.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.2947, allocations: 128.5 kB / 418 MB, free: 9.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.2948, allocations: 67.09 kB / 418.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.83e-05/0.2949, allocations: 65.69 kB / 418.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.295, allocations: 334.8 kB / 418.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.2954, allocations: 131.9 kB / 418.6 MB, free: 8.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.2957, allocations: 169.6 kB / 418.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.2964, allocations: 275.1 kB / 419 MB, free: 8.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2964, allocations: 0 / 419 MB, free: 8.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007845/0.2972, allocations: 379.8 kB / 419.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2972, allocations: 7.938 kB / 419.4 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2972, allocations: 0 / 419.4 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2972, allocations: 4 kB / 419.4 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.2976, allocations: 67.89 kB / 419.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.2976, allocations: 4 kB / 419.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.2978, allocations: 43.72 kB / 419.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.2978, allocations: 11.98 kB / 419.5 MB, free: 7.719 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.0001467/0.2979, allocations: 153.5 kB / 419.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.298, allocations: 19.72 kB / 419.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.2981, allocations: 25.86 kB / 419.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2981, allocations: 0 / 419.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2981, allocations: 0 / 419.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.2981, allocations: 100.9 kB / 419.8 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.2982, allocations: 8 kB / 419.8 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.2983, allocations: 15.97 kB / 419.8 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.2984, allocations: 23.83 kB / 419.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001287/0.2997, allocations: 432.6 kB / 420.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001041/0.3008, allocations: 0.5712 MB / 420.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002945/0.3011, allocations: 104 kB / 421 MB, free: 6.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.3012, allocations: 156.7 kB / 421.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.3012, allocations: 0 / 421.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.3025, allocations: 424.9 kB / 421.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008276/0.3033, allocations: 0.844 MB / 422.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of Templates: time 0.008188/0.3115, allocations: 4.209 MB / 426.6 MB, free: 0.6016 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (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 & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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:globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.seed,globalSeed.useAutomaticSeed,mean.actualStartTime,mean.mu,mean.startTime,mean.t_0,mean.t_eps,meanError.u2,meanError_y,mu,noise.actualGlobalSeed,noise.enableNoise,noise.fixedLocalSeed,noise.generateNoise,noise.localSeed,noise.mu,noise.samplePeriod,noise.sigma,noise.startTime,noise.useAutomaticLocalSeed,noise.useGlobalSeed,noise.y_off,pMean,sigma,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