Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002062/0.002062, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.406/1.406, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 64.61 kB / 307.9 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1042, allocations: 50.54 MB / 358.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003338/0.1076, allocations: 1.859 MB / 360.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1094, allocations: 1.017 MB / 361.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.1095, allocations: 4 kB / 361.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.1097, allocations: 23.67 kB / 361.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.1099, allocations: 31.72 kB / 361.4 MB, free: 11.04 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.0005875/0.1105, allocations: 187.5 kB / 361.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.1107, allocations: 215.5 kB / 361.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1109, allocations: 64.25 kB / 361.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.111, allocations: 103.5 kB / 361.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.1117, allocations: 117.5 kB / 362 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.257e-05/0.1117, allocations: 24 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.112, allocations: 127.8 kB / 362.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.1121, allocations: 59.81 kB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1122, allocations: 99.45 kB / 362.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.1126, allocations: 287.3 kB / 362.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1126, allocations: 4 kB / 362.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1127, allocations: 0 / 362.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.892e-06/0.1127, allocations: 0 / 362.6 MB, free: 9.777 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.001181/0.1139, allocations: 0.5545 MB / 363.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1139, allocations: 12.03 kB / 363.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.1141, allocations: 36.64 kB / 363.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1144, allocations: 244.5 kB / 363.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.1145, allocations: 16.66 kB / 363.5 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.1145, allocations: 24.12 kB / 363.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.115, allocations: 207.1 kB / 363.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.115, allocations: 0 / 363.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.1151, allocations: 8 kB / 363.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1151, allocations: 0 / 363.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.1156, allocations: 160.4 kB / 363.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1167, allocations: 0.575 MB / 364.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.1178, allocations: 305.4 kB / 364.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.1181, allocations: 120.7 kB / 364.9 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1181, allocations: 0 / 364.9 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004431/0.1186, allocations: 167.2 kB / 365 MB, free: 7.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.943e-06/0.1186, allocations: 0 / 365 MB, free: 7.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001084/0.1197, allocations: 359.4 kB / 365.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.1198, allocations: 63.39 kB / 365.4 MB, free: 6.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.12, allocations: 222.7 kB / 365.7 MB, free: 6.551 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.1201, allocations: 41.69 kB / 365.7 MB, free: 6.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1202, allocations: 128.5 kB / 365.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.1203, allocations: 74.98 kB / 365.9 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.1204, allocations: 65.69 kB / 366 MB, free: 6.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1205, allocations: 334.8 kB / 366.3 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.1209, allocations: 135.8 kB / 366.4 MB, free: 5.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.1213, allocations: 157.6 kB / 366.6 MB, free: 5.598 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.122, allocations: 275.2 kB / 366.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.122, allocations: 0 / 366.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008752/0.1229, allocations: 387.4 kB / 367.2 MB, free: 4.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1229, allocations: 4 kB / 367.2 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1229, allocations: 0 / 367.2 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.123, allocations: 4 kB / 367.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.1233, allocations: 67.88 kB / 367.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1233, allocations: 0 / 367.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.1235, allocations: 47.69 kB / 367.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.1235, allocations: 12 kB / 367.4 MB, free: 4.809 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.0001603/0.1237, allocations: 149.6 kB / 367.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.1237, allocations: 15.81 kB / 367.5 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.1238, allocations: 21.88 kB / 367.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1238, allocations: 0 / 367.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1238, allocations: 4 kB / 367.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1239, allocations: 7.984 kB / 367.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.125, allocations: 0.619 MB / 368.2 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.125, allocations: 0 / 368.2 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.1253, allocations: 43.95 kB / 368.2 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1253, allocations: 0 / 368.2 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.1253, allocations: 4 kB / 368.2 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.1253, allocations: 7.922 kB / 368.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1254, allocations: 0 / 368.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1264, allocations: 480.3 kB / 368.7 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.1265, allocations: 96.97 kB / 368.8 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.1266, allocations: 15.94 kB / 368.8 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.1268, allocations: 23.91 kB / 368.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.1268, allocations: 15.92 kB / 368.8 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1268, allocations: 11.98 kB / 368.9 MB, free: 3.203 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.127, allocations: 152.7 kB / 369 MB, free: 3.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.127, allocations: 0 / 369 MB, free: 3.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.1274, allocations: 67.83 kB / 369.1 MB, free: 2.988 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.0004949/0.1279, allocations: 197.2 kB / 369.3 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008151/0.1287, allocations: 291.8 kB / 369.5 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1287, allocations: 0 / 369.5 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.1291, allocations: 111.9 kB / 369.7 MB, free: 2.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1294, allocations: 31.88 kB / 369.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1305, allocations: 0.4886 MB / 370.2 MB, free: 1.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1309, allocations: 0.7398 MB / 370.9 MB, free: 1.109 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.131, allocations: 19.44 kB / 370.9 MB, free: 1.09 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.131, allocations: 0 / 370.9 MB, free: 1.09 MB / 302.1 MB Notification: Performance of Templates: time 0.1437/0.2747, allocations: 3.363 MB / 374.3 MB, free: 19.25 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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