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.001548/0.001548, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2374, allocations: 50.54 MB / 409.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002773/0.2402, allocations: 1.867 MB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2419, allocations: 1.017 MB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.242, allocations: 0 / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.2421, allocations: 23.73 kB / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.2424, allocations: 35.66 kB / 412.9 MB, free: 14.68 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.0005439/0.2429, allocations: 179.5 kB / 413.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.2432, allocations: 219.4 kB / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.2433, allocations: 68.25 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2434, allocations: 99.61 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.2439, allocations: 126 kB / 413.6 MB, free: 14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.244, allocations: 20 kB / 413.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.2442, allocations: 123.8 kB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.2442, allocations: 55.81 kB / 413.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.207e-05/0.2443, allocations: 99.39 kB / 413.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.2447, allocations: 298.7 kB / 414.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2447, allocations: 0 / 414.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2447, allocations: 0 / 414.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2447, allocations: 0 / 414.2 MB, free: 13.42 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.0009983/0.2457, allocations: 0.5597 MB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2457, allocations: 8.031 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.2459, allocations: 36.64 kB / 414.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2462, allocations: 236.8 kB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.2463, allocations: 24.64 kB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.2463, allocations: 20.12 kB / 415 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.2468, allocations: 194.9 kB / 415.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2468, allocations: 0 / 415.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.2468, allocations: 8 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2468, allocations: 4 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.2473, allocations: 160.4 kB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009762/0.2483, allocations: 0.5788 MB / 416 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2493, allocations: 310.6 kB / 416.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.2496, allocations: 108.8 kB / 416.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2497, allocations: 4 kB / 416.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003915/0.2501, allocations: 167.3 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.2501, allocations: 0 / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.000984/0.2511, allocations: 360.4 kB / 416.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.2511, allocations: 59.41 kB / 417 MB, free: 10.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.2513, allocations: 222.6 kB / 417.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.2514, allocations: 41.69 kB / 417.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.2515, allocations: 136.5 kB / 417.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.2515, allocations: 71.09 kB / 417.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.674e-05/0.2516, allocations: 65.69 kB / 417.5 MB, free: 9.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2517, allocations: 334.8 kB / 417.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.2521, allocations: 131.9 kB / 417.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.2525, allocations: 165.7 kB / 418.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.2531, allocations: 271.2 kB / 418.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2531, allocations: 0 / 418.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008195/0.254, allocations: 375.7 kB / 418.7 MB, free: 8.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.254, allocations: 8.031 kB / 418.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.254, allocations: 4 kB / 418.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.254, allocations: 0 / 418.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.2543, allocations: 75.88 kB / 418.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2543, allocations: 4 kB / 418.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.2545, allocations: 47.59 kB / 418.9 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.2546, allocations: 12 kB / 418.9 MB, free: 8.457 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.0001262/0.2547, allocations: 149.6 kB / 419 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.2547, allocations: 19.72 kB / 419 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.2548, allocations: 21.88 kB / 419.1 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2548, allocations: 3.984 kB / 419.1 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2548, allocations: 0 / 419.1 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.2549, allocations: 92.92 kB / 419.2 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.2549, allocations: 8 kB / 419.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.2551, allocations: 23.97 kB / 419.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.2551, allocations: 19.91 kB / 419.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001243/0.2564, allocations: 436.5 kB / 419.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001044/0.2574, allocations: 0.5679 MB / 420.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002952/0.2577, allocations: 104 kB / 420.3 MB, free: 6.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.2579, allocations: 160.7 kB / 420.5 MB, free: 6.82 MB / 334.1 MB Notification: Performance of Backend: time 3.9e-07/0.2579, allocations: 0 / 420.5 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.2589, allocations: 356.5 kB / 420.8 MB, free: 6.488 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007631/0.2597, allocations: 0.8481 MB / 421.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of Templates: time 0.006607/0.2663, allocations: 3.5 MB / 425.2 MB, free: 2.113 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/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