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.001428/0.001428, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001444, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 56.81 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1142, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003499/0.1178, allocations: 1.872 MB / 360.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1197, allocations: 1.017 MB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/0.1198, allocations: 0 / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.1199, allocations: 19.73 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.1201, allocations: 31.67 kB / 361.8 MB, free: 10.41 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.0005209/0.1206, allocations: 187.5 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1208, allocations: 223.4 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.121, allocations: 68.25 kB / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1211, allocations: 99.62 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.1216, allocations: 118.9 kB / 362.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.1217, allocations: 24 kB / 362.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.1219, allocations: 123.8 kB / 362.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.122, allocations: 51.84 kB / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.1221, allocations: 107.4 kB / 362.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.1225, allocations: 295 kB / 363.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1225, allocations: 4 kB / 363.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1225, allocations: 0 / 363.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1225, allocations: 4 kB / 363.1 MB, free: 9.137 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.00124/0.1238, allocations: 0.5583 MB / 363.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1238, allocations: 8.031 kB / 363.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.1241, allocations: 36.64 kB / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.1244, allocations: 252.6 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.1244, allocations: 12.66 kB / 364 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.1244, allocations: 24.12 kB / 364 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.1249, allocations: 194.7 kB / 364.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1249, allocations: 0 / 364.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.125, allocations: 7.984 kB / 364.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.125, allocations: 4 kB / 364.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.1254, allocations: 152.4 kB / 364.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1265, allocations: 0.5749 MB / 364.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1275, allocations: 310.5 kB / 365.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.1278, allocations: 112.7 kB / 365.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1279, allocations: 12 kB / 365.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.1282, allocations: 165.7 kB / 365.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.1283, allocations: 0 / 365.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009575/0.1292, allocations: 349.2 kB / 365.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.1293, allocations: 71.31 kB / 365.9 MB, free: 6.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1296, allocations: 218.7 kB / 366.1 MB, free: 5.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.1296, allocations: 45.7 kB / 366.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.1298, allocations: 128.5 kB / 366.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.1299, allocations: 71 kB / 366.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.13, allocations: 69.69 kB / 366.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1301, allocations: 330.8 kB / 366.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.1305, allocations: 127.9 kB / 366.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.1308, allocations: 165.6 kB / 367 MB, free: 4.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.1315, allocations: 271.2 kB / 367.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1315, allocations: 4 kB / 367.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009186/0.1324, allocations: 391.7 kB / 367.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1324, allocations: 4 kB / 367.7 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1324, allocations: 0 / 367.7 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1325, allocations: 4 kB / 367.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.1328, allocations: 67.88 kB / 367.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1328, allocations: 7.984 kB / 367.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.133, allocations: 47.61 kB / 367.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.133, allocations: 11.98 kB / 367.8 MB, free: 4.164 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.0001527/0.1332, allocations: 149.6 kB / 368 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.1332, allocations: 15.81 kB / 368 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.1333, allocations: 21.86 kB / 368 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1333, allocations: 4 kB / 368 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1333, allocations: 0 / 368 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1333, allocations: 0 / 368 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.1344, allocations: 0.6268 MB / 368.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1344, allocations: 0 / 368.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.1347, allocations: 43.95 kB / 368.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.1347, allocations: 4 kB / 368.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1347, allocations: 4 kB / 368.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1347, allocations: 0 / 368.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1347, allocations: 0 / 368.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009861/0.1357, allocations: 487 kB / 369.2 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.1358, allocations: 96.91 kB / 369.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.1358, allocations: 12 kB / 369.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.136, allocations: 23.97 kB / 369.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.1361, allocations: 15.92 kB / 369.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1361, allocations: 4 kB / 369.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.1363, allocations: 160.7 kB / 369.5 MB, free: 2.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1363, allocations: 0 / 369.5 MB, free: 2.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.1367, allocations: 71.84 kB / 369.6 MB, free: 2.344 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.0004678/0.1371, allocations: 206.8 kB / 369.8 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007717/0.1379, allocations: 271.8 kB / 370 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1379, allocations: 0 / 370 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.1383, allocations: 115.8 kB / 370.1 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1386, allocations: 31.95 kB / 370.2 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1396, allocations: 454.7 kB / 370.6 MB, free: 1.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.14, allocations: 0.7398 MB / 371.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.1402, allocations: 29.94 kB / 371.4 MB, free: 500 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.1402, allocations: 27.42 kB / 371.4 MB, free: 472 kB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1402, allocations: 0 / 371.4 MB, free: 472 kB / 302.1 MB Notification: Performance of Templates: time 0.1846/0.3249, allocations: 2.88 MB / 374.3 MB, free: 19.62 MB / 302.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 -s gbode -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