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.001368/0.001368, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001767/0.001767, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 61.22 kB / 306.4 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1097, allocations: 50.53 MB / 357 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003121/0.1129, allocations: 1.933 MB / 358.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.115, allocations: 1.29 MB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.1151, allocations: 4 kB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.1153, allocations: 19.8 kB / 360.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.1154, allocations: 23.84 kB / 360.2 MB, free: 11.14 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.0007481/0.1162, allocations: 271.5 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1164, allocations: 219.4 kB / 360.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.1166, allocations: 68.23 kB / 360.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1167, allocations: 91.64 kB / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.1172, allocations: 122 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.1173, allocations: 28 kB / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.1177, allocations: 299.4 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.1178, allocations: 51.83 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.1179, allocations: 103.5 kB / 361.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.1184, allocations: 395.1 kB / 361.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1184, allocations: 0 / 361.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1184, allocations: 0 / 361.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1184, allocations: 0 / 361.9 MB, free: 9.535 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.001112/0.1195, allocations: 0.5739 MB / 362.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1195, allocations: 8.031 kB / 362.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.1198, allocations: 40.64 kB / 362.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.12, allocations: 247.7 kB / 362.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.1201, allocations: 16.66 kB / 362.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.1201, allocations: 20.12 kB / 362.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.1206, allocations: 202.7 kB / 363 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1206, allocations: 0 / 363 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1207, allocations: 7.938 kB / 363 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1207, allocations: 4 kB / 363 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.1212, allocations: 160.4 kB / 363.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.1222, allocations: 0.5788 MB / 363.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1233, allocations: 302.6 kB / 364 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.1236, allocations: 116.8 kB / 364.1 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1236, allocations: 7.984 kB / 364.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003941/0.124, allocations: 163.2 kB / 364.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.124, allocations: 0 / 364.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00101/0.125, allocations: 363.4 kB / 364.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1251, allocations: 63.41 kB / 364.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1253, allocations: 218.7 kB / 364.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.1254, allocations: 45.69 kB / 365 MB, free: 6.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.1255, allocations: 124.5 kB / 365.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.1255, allocations: 74.98 kB / 365.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.1256, allocations: 65.69 kB / 365.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1258, allocations: 334.8 kB / 365.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.1261, allocations: 131.9 kB / 365.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.1265, allocations: 161.6 kB / 365.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.1271, allocations: 275.1 kB / 366.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1271, allocations: 0 / 366.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008249/0.128, allocations: 383.5 kB / 366.5 MB, free: 4.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.128, allocations: 6.812 kB / 366.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.128, allocations: 0 / 366.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.128, allocations: 4 kB / 366.5 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.1284, allocations: 67.89 kB / 366.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1284, allocations: 0 / 366.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.1286, allocations: 51.59 kB / 366.6 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.1286, allocations: 19.92 kB / 366.6 MB, free: 4.535 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.0001571/0.1288, allocations: 141.6 kB / 366.8 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1288, allocations: 19.75 kB / 366.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.062e-05/0.1289, allocations: 25.86 kB / 366.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1289, allocations: 0 / 366.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1289, allocations: 0 / 366.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1289, allocations: 4 kB / 366.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.13, allocations: 0.6184 MB / 367.4 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.13, allocations: 4 kB / 367.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.1303, allocations: 47.89 kB / 367.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1303, allocations: 0 / 367.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.1303, allocations: 8 kB / 367.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.1304, allocations: 4 kB / 367.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1304, allocations: 3.938 kB / 367.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.1314, allocations: 484 kB / 368 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.1315, allocations: 88.92 kB / 368 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.1315, allocations: 12 kB / 368.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1317, allocations: 23.97 kB / 368.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.1318, allocations: 15.98 kB / 368.1 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1318, allocations: 7.984 kB / 368.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.132, allocations: 152.7 kB / 368.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.132, allocations: 0 / 368.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.1324, allocations: 107.8 kB / 368.4 MB, free: 2.688 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.0006396/0.1331, allocations: 264.4 kB / 368.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.1338, allocations: 291.7 kB / 368.9 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1338, allocations: 0 / 368.9 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.1342, allocations: 123.9 kB / 369 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1345, allocations: 23.89 kB / 369 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000912/0.1354, allocations: 0.5104 MB / 369.6 MB, free: 1.484 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1357, allocations: 0.7398 MB / 370.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.1359, allocations: 29.94 kB / 370.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.1359, allocations: 27.42 kB / 370.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1359, allocations: 0 / 370.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of Templates: time 0.1879/0.3238, allocations: 3.513 MB / 373.9 MB, free: 19.63 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/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