Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 227.2 MB / 245 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009132/0.0009132, allocations: 99.5 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002974, allocations: 12 kB / 357.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1868, allocations: 51.49 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09153/0.2784, allocations: 79.9 MB / 489.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.2787, allocations: 71.95 kB / 489.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02253/0.3012, allocations: 7.798 MB / 497.2 MB, free: 2.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3013, allocations: 0 / 497.2 MB, free: 2.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3013, allocations: 3.938 kB / 497.2 MB, free: 2.801 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009541/0.3023, allocations: 0.526 MB / 497.7 MB, free: 2.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3023, allocations: 8.031 kB / 497.7 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.3026, allocations: 31.8 kB / 497.7 MB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.3028, allocations: 200.5 kB / 497.9 MB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.3028, allocations: 11.95 kB / 497.9 MB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.3029, allocations: 8 kB / 498 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.3032, allocations: 136.3 kB / 498.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3032, allocations: 0 / 498.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3032, allocations: 0 / 498.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3032, allocations: 0 / 498.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.3035, allocations: 71.89 kB / 498.2 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/0.3043, allocations: 0.5635 MB / 498.7 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.3047, allocations: 167.8 kB / 498.9 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3047, allocations: 3.938 kB / 498.9 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/0.3051, allocations: 162 kB / 499.1 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.3051, allocations: 3.938 kB / 499.1 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007681/0.3059, allocations: 423.5 kB / 499.5 MB, free: 260 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/0.306, allocations: 122.9 kB / 499.6 MB, free: 112 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.3062, allocations: 174.2 kB / 499.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.982e-05/0.3063, allocations: 49.67 kB / 499.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.3064, allocations: 108.6 kB / 499.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.3064, allocations: 43.45 kB / 500 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.3064, allocations: 4 kB / 500 MB, free: 15.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3066, allocations: 334.8 kB / 0.4886 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.3068, allocations: 99.94 kB / 0.4887 GB, free: 15.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.307, allocations: 135.2 kB / 0.4888 GB, free: 15.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.3072, allocations: 111.8 kB / 0.4889 GB, free: 15.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3072, allocations: 0 / 0.4889 GB, free: 15.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005405/0.3078, allocations: 297.8 kB / 0.4892 GB, free: 14.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3078, allocations: 4 kB / 0.4892 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.3078, allocations: 8.094 kB / 0.4892 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3079, allocations: 0 / 0.4892 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.308, allocations: 35.92 kB / 0.4892 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.308, allocations: 480 / 0.4892 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.762e-05/0.3081, allocations: 23.83 kB / 0.4892 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.3082, allocations: 12 kB / 0.4893 GB, free: 14.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.00014/0.3083, allocations: 157.8 kB / 0.4894 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.3083, allocations: 19.75 kB / 0.4894 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.3084, allocations: 17.39 kB / 0.4894 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3084, allocations: 0 / 0.4894 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3084, allocations: 0 / 0.4894 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3084, allocations: 4 kB / 0.4894 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3086, allocations: 221.4 kB / 0.4897 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3086, allocations: 0 / 0.4897 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.6e-05/0.3087, allocations: 19.98 kB / 0.4897 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3087, allocations: 4 kB / 0.4897 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3087, allocations: 7.984 kB / 0.4897 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3087, allocations: 0 / 0.4897 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3087, allocations: 0 / 0.4897 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.3092, allocations: 285.7 kB / 0.49 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.3092, allocations: 100.8 kB / 0.4901 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.3093, allocations: 11.98 kB / 0.4901 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.3094, allocations: 8 kB / 0.4901 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.3094, allocations: 19.97 kB / 0.4901 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3094, allocations: 4 kB / 0.4901 GB, free: 13.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3096, allocations: 145.1 kB / 0.4902 GB, free: 13.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3096, allocations: 0 / 0.4902 GB, free: 13.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.3101, allocations: 155.8 kB / 0.4904 GB, free: 13.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00093/0.311, allocations: 405 kB / 0.4908 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.3115, allocations: 259.2 kB / 0.491 GB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3115, allocations: 0 / 0.491 GB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.3116, allocations: 72.16 kB / 0.4911 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.3118, allocations: 12.19 kB / 0.4911 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.3122, allocations: 303.9 kB / 0.4914 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3125, allocations: 0.724 MB / 0.4921 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.546e-05/0.3126, allocations: 29.33 kB / 0.4921 GB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.3126, allocations: 19.44 kB / 0.4921 GB, free: 11.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3126, allocations: 0 / 0.4921 GB, free: 11.54 MB / 378.7 MB Notification: Performance of Templates: time 0.00664/0.3193, allocations: 3.587 MB / 0.4956 GB, free: 7.969 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches