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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009659/0.0009661, allocations: 99.91 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.0002511, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2816, allocations: 51.29 MB / 409.4 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09563/0.3773, allocations: 79.91 MB / 489.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.3775, allocations: 71.95 kB / 489.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.393, allocations: 5.258 MB / 494.6 MB, free: 6.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3931, allocations: 0 / 494.6 MB, free: 6.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.3931, allocations: 8 kB / 494.6 MB, free: 6.297 MB / 362.7 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.000962/0.3941, allocations: 0.5404 MB / 495.2 MB, free: 5.699 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3941, allocations: 8.031 kB / 495.2 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.3943, allocations: 32.73 kB / 495.2 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.3947, allocations: 253.4 kB / 495.4 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.3947, allocations: 16.66 kB / 495.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.3948, allocations: 20.38 kB / 495.5 MB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.3953, allocations: 215.2 kB / 495.7 MB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3953, allocations: 192 / 495.7 MB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.3953, allocations: 7.938 kB / 495.7 MB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.3953, allocations: 11.98 kB / 495.7 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.3958, allocations: 181 kB / 495.9 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3969, allocations: 0.5825 MB / 496.5 MB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3979, allocations: 386.5 kB / 496.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.3982, allocations: 132.8 kB / 497 MB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.3983, allocations: 0 / 497 MB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003857/0.3986, allocations: 186.4 kB / 497.2 MB, free: 3.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.3987, allocations: 0 / 497.2 MB, free: 3.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009991/0.3997, allocations: 421.1 kB / 497.6 MB, free: 3.168 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.3997, allocations: 55.41 kB / 497.6 MB, free: 3.102 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.4, allocations: 219.7 kB / 497.8 MB, free: 2.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.4, allocations: 33.7 kB / 497.9 MB, free: 2.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.4001, allocations: 124.6 kB / 498 MB, free: 2.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.4002, allocations: 75.08 kB / 498.1 MB, free: 2.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.4002, allocations: 4 kB / 498.1 MB, free: 2.633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4003, allocations: 338.8 kB / 498.4 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.4007, allocations: 143.9 kB / 498.5 MB, free: 2.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.4011, allocations: 175 kB / 498.7 MB, free: 1.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.4018, allocations: 300.5 kB / 499 MB, free: 1.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4018, allocations: 0 / 499 MB, free: 1.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008637/0.4027, allocations: 406.8 kB / 499.4 MB, free: 1.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4027, allocations: 4 kB / 499.4 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4027, allocations: 0 / 499.4 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.4028, allocations: 4 kB / 499.4 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.4031, allocations: 71.89 kB / 499.5 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4031, allocations: 0 / 499.5 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.4033, allocations: 59.66 kB / 499.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.4033, allocations: 12 kB / 499.6 MB, free: 1.129 MB / 362.7 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.4035, allocations: 149.7 kB / 499.7 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.4036, allocations: 27.66 kB / 499.7 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.389e-05/0.4036, allocations: 25.8 kB / 499.8 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4036, allocations: 4 kB / 499.8 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4037, allocations: 0 / 499.8 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4037, allocations: 0 / 499.8 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.4049, allocations: 0.6777 MB / 0.4887 GB, free: 188 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4049, allocations: 0 / 0.4887 GB, free: 188 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.4052, allocations: 59.89 kB / 0.4888 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4052, allocations: 0 / 0.4888 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.4052, allocations: 8 kB / 0.4888 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4052, allocations: 0 / 0.4888 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4052, allocations: 3.984 kB / 0.4888 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.4063, allocations: 0.5331 MB / 0.4893 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.4064, allocations: 96.77 kB / 0.4894 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.4064, allocations: 12.05 kB / 0.4894 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.4066, allocations: 35.91 kB / 0.4894 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.4067, allocations: 15.98 kB / 0.4894 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.4067, allocations: 7.938 kB / 0.4895 GB, free: 15.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.4069, allocations: 151.2 kB / 0.4896 GB, free: 15.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4069, allocations: 0 / 0.4896 GB, free: 15.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004027/0.4073, allocations: 79.94 kB / 0.4897 GB, free: 15.15 MB / 378.7 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005372/0.4078, allocations: 246.1 kB / 0.4899 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000824/0.4087, allocations: 345.7 kB / 0.4902 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4087, allocations: 4.062 kB / 0.4902 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.409, allocations: 131.8 kB / 0.4904 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.4093, allocations: 27.94 kB / 0.4904 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008575/0.4102, allocations: 0.5186 MB / 0.4909 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.4105, allocations: 0.7437 MB / 0.4916 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.4107, allocations: 25.94 kB / 0.4917 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.4107, allocations: 23.42 kB / 0.4917 GB, free: 13.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4107, allocations: 4 kB / 0.4917 GB, free: 13.07 MB / 378.7 MB Notification: Performance of Templates: time 0.006581/0.4173, allocations: 3.071 MB / 0.4947 GB, free: 10.01 MB / 378.7 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","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches