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.001066/0.001066, 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.001378/0.001378, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2172, allocations: 50.55 MB / 410 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00303/0.2203, allocations: 1.858 MB / 411.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.2225, allocations: 1.306 MB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.2227, allocations: 4 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.2228, allocations: 23.67 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.223, allocations: 35.72 kB / 413.2 MB, free: 14.29 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.0009026/0.2239, allocations: 307.1 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.2241, allocations: 211.5 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.2243, allocations: 76.23 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.2244, allocations: 95.61 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.2249, allocations: 123 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.225, allocations: 20 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.2255, allocations: 279.6 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.2255, allocations: 55.77 kB / 414.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.595e-05/0.2256, allocations: 99.44 kB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.2262, allocations: 394.6 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2262, allocations: 7.938 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2262, allocations: 0 / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2262, allocations: 0 / 414.8 MB, free: 12.66 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.001034/0.2273, allocations: 0.5811 MB / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2273, allocations: 8.031 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.2276, allocations: 40.75 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.2278, allocations: 240.9 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.2278, allocations: 12.66 kB / 415.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.2279, allocations: 28.11 kB / 415.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.2284, allocations: 190.9 kB / 415.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2284, allocations: 4 kB / 415.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.2284, allocations: 8 kB / 415.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2284, allocations: 4 kB / 415.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.2289, allocations: 152.4 kB / 416.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.23, allocations: 0.5828 MB / 416.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.231, allocations: 302.6 kB / 417 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.2313, allocations: 116.8 kB / 417.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.2313, allocations: 0 / 417.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.2317, allocations: 167.2 kB / 417.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.034e-06/0.2317, allocations: 0 / 417.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009931/0.2327, allocations: 356.8 kB / 417.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.2328, allocations: 55.41 kB / 417.6 MB, free: 9.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.233, allocations: 230.7 kB / 417.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.233, allocations: 33.7 kB / 417.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.2331, allocations: 136.6 kB / 418 MB, free: 9.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.2332, allocations: 67.44 kB / 418.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.2333, allocations: 73.62 kB / 418.2 MB, free: 9.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.2334, allocations: 330.8 kB / 418.5 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.2338, allocations: 147.8 kB / 418.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.2341, allocations: 157.7 kB / 418.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.2348, allocations: 267.3 kB / 419 MB, free: 8.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2348, allocations: 0 / 419 MB, free: 8.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008253/0.2356, allocations: 383.8 kB / 419.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2356, allocations: 4 kB / 419.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2357, allocations: 4 kB / 419.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2357, allocations: 0 / 419.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.236, allocations: 71.88 kB / 419.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.236, allocations: 4 kB / 419.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2362, allocations: 47.75 kB / 419.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2362, allocations: 8 kB / 419.6 MB, free: 7.684 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.0001382/0.2364, allocations: 149.6 kB / 419.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.2364, allocations: 19.86 kB / 419.7 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.2365, allocations: 21.86 kB / 419.7 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2365, allocations: 0 / 419.7 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2365, allocations: 7.984 kB / 419.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.2366, allocations: 97.02 kB / 419.8 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.2366, allocations: 4 kB / 419.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.2368, allocations: 23.97 kB / 419.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.2368, allocations: 11.92 kB / 419.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00128/0.2381, allocations: 452.4 kB / 420.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001027/0.2392, allocations: 0.553 MB / 420.9 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002953/0.2395, allocations: 110.6 kB / 421 MB, free: 6.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.2396, allocations: 152.7 kB / 421.1 MB, free: 6.051 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.2396, allocations: 0 / 421.1 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.2409, allocations: 443.1 kB / 421.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007698/0.2416, allocations: 0.8549 MB / 422.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of Templates: time 0.007794/0.2494, allocations: 4.194 MB / 426.6 MB, free: 0.5586 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