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.0009449/0.0009498, allocations: 94.55 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.7 MB / 247.5 MB, free: 9.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002295/0.0002294, allocations: 8 kB / 308.4 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08838/0.08862, allocations: 51.52 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001984/0.09065, allocations: 1.579 MB / 361.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.09243, allocations: 1.002 MB / 362.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.09257, allocations: 8 kB / 362.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.09269, allocations: 11.86 kB / 362.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.0929, allocations: 31.78 kB / 362.5 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.0005336/0.09344, allocations: 139.7 kB / 362.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.09369, allocations: 207.5 kB / 362.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.09388, allocations: 68.23 kB / 363 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.09402, allocations: 75.64 kB / 363 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000573/0.0946, allocations: 113.2 kB / 363.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.09467, allocations: 12 kB / 363.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.0949, allocations: 103.8 kB / 363.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.09497, allocations: 43.83 kB / 363.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.09508, allocations: 109.2 kB / 363.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.09535, allocations: 207.8 kB / 363.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.09537, allocations: 0 / 363.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09538, allocations: 0 / 363.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.09539, allocations: 0 / 363.6 MB, free: 9.355 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.001062/0.09646, allocations: 0.5389 MB / 364.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.09651, allocations: 12.03 kB / 364.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.09672, allocations: 48.58 kB / 364.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.09698, allocations: 243.8 kB / 364.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.09702, allocations: 16.66 kB / 364.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.09708, allocations: 24.03 kB / 364.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.09759, allocations: 222.6 kB / 364.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.09761, allocations: 0 / 364.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.09763, allocations: 4 kB / 364.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.09765, allocations: 4 kB / 364.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.09816, allocations: 185.3 kB / 364.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.09922, allocations: 0.5906 MB / 365.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.1004, allocations: 382.6 kB / 365.8 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.1007, allocations: 128.8 kB / 366 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1007, allocations: 7.984 kB / 366 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004313/0.1012, allocations: 195.1 kB / 366.2 MB, free: 6.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.844e-06/0.1012, allocations: 0 / 366.2 MB, free: 6.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001091/0.1023, allocations: 409.2 kB / 366.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1023, allocations: 63.39 kB / 366.6 MB, free: 6.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.1026, allocations: 222.7 kB / 366.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.1026, allocations: 41.69 kB / 366.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.1027, allocations: 128.5 kB / 367 MB, free: 5.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.1028, allocations: 74.98 kB / 367.1 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.1029, allocations: 37.7 kB / 367.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.103, allocations: 334.8 kB / 367.5 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.1034, allocations: 151.8 kB / 367.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.1038, allocations: 185.6 kB / 367.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.1045, allocations: 311.2 kB / 368.1 MB, free: 4.625 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1045, allocations: 0 / 368.1 MB, free: 4.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008769/0.1054, allocations: 419.8 kB / 368.5 MB, free: 4.211 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1054, allocations: 4 kB / 368.5 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1054, allocations: 3.938 kB / 368.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1055, allocations: 4 kB / 368.5 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.1058, allocations: 79.88 kB / 368.6 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1058, allocations: 4 kB / 368.6 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.106, allocations: 59.66 kB / 368.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1061, allocations: 8 kB / 368.7 MB, free: 4.051 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.0001538/0.1062, allocations: 150.5 kB / 368.8 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.1063, allocations: 15.81 kB / 368.8 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/0.1063, allocations: 17.88 kB / 368.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1063, allocations: 4 kB / 368.8 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1064, allocations: 7.984 kB / 368.8 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1064, allocations: 0 / 368.8 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1075, allocations: 0.662 MB / 369.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1075, allocations: 0 / 369.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.1078, allocations: 47.95 kB / 369.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1078, allocations: 0 / 369.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.1078, allocations: 11.98 kB / 369.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.1078, allocations: 4 kB / 369.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1078, allocations: 0 / 369.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.1089, allocations: 0.5385 MB / 370.1 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.109, allocations: 88.92 kB / 370.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.109, allocations: 12.12 kB / 370.2 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1092, allocations: 31.97 kB / 370.2 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.1093, allocations: 19.97 kB / 370.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1093, allocations: 4 kB / 370.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1095, allocations: 156.7 kB / 370.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1095, allocations: 3.938 kB / 370.4 MB, free: 2.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.1099, allocations: 71.83 kB / 370.5 MB, free: 2.113 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.0004187/0.1103, allocations: 191.8 kB / 370.7 MB, free: 1.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008099/0.1111, allocations: 319.7 kB / 371 MB, free: 1.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1111, allocations: 0 / 371 MB, free: 1.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.1115, allocations: 135.9 kB / 371.1 MB, free: 1.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1118, allocations: 27.88 kB / 371.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.1128, allocations: 0.5716 MB / 371.7 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1131, allocations: 0.7398 MB / 372.5 MB, free: 104 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.1132, allocations: 27.42 kB / 372.5 MB, free: 76 kB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1132, allocations: 0 / 372.5 MB, free: 76 kB / 302.1 MB Notification: Performance of Templates: time 0.1638/0.277, allocations: 3.339 MB / 375.8 MB, free: 18.37 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.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:mean.mu,meanError_y,sigmaError_y,standardDeviation.variance.mu,standardDeviation.variance.var,time,variance.mu,variance.var