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.001394/0.001394, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.25 kB / 307.1 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09839, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003288/0.1017, allocations: 1.926 MB / 359.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1035, allocations: 1.017 MB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.1036, allocations: 7.938 kB / 360.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.1038, allocations: 11.86 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.1039, allocations: 19.86 kB / 360.7 MB, free: 11.37 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.0005488/0.1045, allocations: 159.7 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.1048, allocations: 219.4 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.105, allocations: 60.27 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1051, allocations: 99.61 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.1057, allocations: 132.4 kB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.1057, allocations: 20 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.106, allocations: 131.8 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.1061, allocations: 51.83 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1062, allocations: 103.4 kB / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.1065, allocations: 211.8 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1065, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1065, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1065, allocations: 4 kB / 361.8 MB, free: 10.21 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.001214/0.1077, allocations: 0.557 MB / 362.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1078, allocations: 8.031 kB / 362.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.108, allocations: 36.64 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1083, allocations: 251.6 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.1084, allocations: 12.66 kB / 362.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.1084, allocations: 24.12 kB / 362.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.1089, allocations: 202.7 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.109, allocations: 0 / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.109, allocations: 4 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.109, allocations: 4 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.1095, allocations: 160.4 kB / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.1106, allocations: 0.5711 MB / 363.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.1117, allocations: 306.6 kB / 363.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.112, allocations: 104.8 kB / 364.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1121, allocations: 15.98 kB / 364.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004319/0.1125, allocations: 163.2 kB / 364.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.1125, allocations: 0 / 364.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001083/0.1136, allocations: 356.2 kB / 364.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.1137, allocations: 59.34 kB / 364.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1139, allocations: 226.7 kB / 364.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.114, allocations: 41.7 kB / 364.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1141, allocations: 128.5 kB / 365 MB, free: 6.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.574e-05/0.1142, allocations: 75 kB / 365.1 MB, free: 6.742 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1143, allocations: 65.69 kB / 365.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1144, allocations: 330.8 kB / 365.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.1148, allocations: 135.9 kB / 365.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.1152, allocations: 161.6 kB / 365.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/0.1159, allocations: 267.3 kB / 366 MB, free: 5.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.1159, allocations: 3.938 kB / 366 MB, free: 5.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008657/0.1168, allocations: 383.4 kB / 366.4 MB, free: 5.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1168, allocations: 4 kB / 366.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1168, allocations: 7.984 kB / 366.4 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1168, allocations: 0 / 366.4 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.1172, allocations: 63.89 kB / 366.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.1172, allocations: 4 kB / 366.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.1174, allocations: 47.66 kB / 366.5 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.1174, allocations: 12 kB / 366.5 MB, free: 5.258 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.0001739/0.1176, allocations: 149.6 kB / 366.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.1177, allocations: 15.81 kB / 366.7 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.1177, allocations: 25.84 kB / 366.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1177, allocations: 4 kB / 366.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1178, allocations: 0 / 366.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1178, allocations: 0 / 366.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.1189, allocations: 0.6229 MB / 367.4 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1189, allocations: 0 / 367.4 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.1192, allocations: 43.95 kB / 367.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1192, allocations: 4 kB / 367.4 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.1192, allocations: 11.98 kB / 367.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1193, allocations: 7.938 kB / 367.4 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1193, allocations: 0 / 367.4 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1203, allocations: 478.9 kB / 367.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.1204, allocations: 92.92 kB / 368 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.1205, allocations: 12 kB / 368 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1207, allocations: 23.97 kB / 368 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.1208, allocations: 15.97 kB / 368 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1208, allocations: 4 kB / 368 MB, free: 3.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.121, allocations: 160.7 kB / 368.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.121, allocations: 0 / 368.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000382/0.1214, allocations: 75.83 kB / 368.3 MB, free: 3.43 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.0005126/0.1219, allocations: 195.2 kB / 368.5 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008452/0.1227, allocations: 287.8 kB / 368.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1227, allocations: 0 / 368.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.1231, allocations: 115.9 kB / 368.9 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1234, allocations: 31.94 kB / 368.9 MB, free: 2.828 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1245, allocations: 0.5421 MB / 369.4 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.1249, allocations: 0.7398 MB / 370.2 MB, free: 1.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.125, allocations: 27.42 kB / 370.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.125, allocations: 0 / 370.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of Templates: time 0.1452/0.2702, allocations: 3.356 MB / 373.6 MB, free: 19.18 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 -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.1.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:mean.mu,meanError_y,sigmaError_y,standardDeviation.variance.mu,standardDeviation.variance.var,time,variance.mu,variance.var