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.001231/0.001231, allocations: 200.4 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 226.5 MB / 245.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000787/0.0007871, allocations: 102.8 kB / 297.5 MB, free: 6.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.0003181, allocations: 4 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2534, allocations: 51.3 MB / 409.4 MB, free: 27.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.3582, allocations: 79.83 MB / 489.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.3586, allocations: 76.53 kB / 489.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02305/0.3816, allocations: 7.762 MB / 497 MB, free: 3.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3817, allocations: 7.938 kB / 497.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.3817, allocations: 0 / 497.1 MB, free: 3.762 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.0009595/0.3827, allocations: 0.5223 MB / 497.6 MB, free: 3.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3827, allocations: 12.03 kB / 497.6 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.383, allocations: 28.73 kB / 497.6 MB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.3832, allocations: 201.8 kB / 497.8 MB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.3832, allocations: 12.36 kB / 497.8 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.3833, allocations: 8.375 kB / 497.8 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.3836, allocations: 140.7 kB / 498 MB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3836, allocations: 192 / 498 MB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3836, allocations: 7.938 kB / 498 MB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.3836, allocations: 0 / 498 MB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.3839, allocations: 75.89 kB / 498.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.3847, allocations: 0.5595 MB / 498.6 MB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.385, allocations: 167.7 kB / 498.8 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.3852, allocations: 74.48 kB / 498.9 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.3852, allocations: 8 kB / 498.9 MB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.3855, allocations: 149.9 kB / 499 MB, free: 1.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.3855, allocations: 4 kB / 499 MB, free: 1.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005986/0.3861, allocations: 265.3 kB / 499.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.3862, allocations: 122.9 kB / 499.4 MB, free: 1.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.3864, allocations: 199.7 kB / 499.6 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.3864, allocations: 45.69 kB / 499.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.3865, allocations: 108.6 kB / 499.7 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.3866, allocations: 47.39 kB / 499.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.3866, allocations: 7.984 kB / 499.8 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3867, allocations: 330.8 kB / 0.4884 GB, free: 436 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.3869, allocations: 91.95 kB / 0.4885 GB, free: 344 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.3872, allocations: 139.2 kB / 0.4886 GB, free: 192 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.3876, allocations: 216.2 kB / 0.4888 GB, free: 15.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3876, allocations: 4 kB / 0.4888 GB, free: 15.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005741/0.3882, allocations: 297.3 kB / 0.4891 GB, free: 15.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3882, allocations: 4 kB / 0.4891 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.3882, allocations: 4 kB / 0.4891 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3882, allocations: 0 / 0.4891 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3884, allocations: 27.98 kB / 0.4891 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3884, allocations: 3.938 kB / 0.4891 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3885, allocations: 27.73 kB / 0.4892 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.3886, allocations: 16 kB / 0.4892 GB, free: 15.58 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.000172/0.3887, allocations: 154 kB / 0.4893 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.3888, allocations: 15.81 kB / 0.4893 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.3888, allocations: 25.33 kB / 0.4894 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3888, allocations: 0 / 0.4894 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3889, allocations: 4 kB / 0.4894 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3889, allocations: 0 / 0.4894 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.3891, allocations: 221.5 kB / 0.4896 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3891, allocations: 4 kB / 0.4896 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.3892, allocations: 19.92 kB / 0.4896 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3892, allocations: 0 / 0.4896 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3892, allocations: 7.984 kB / 0.4896 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3892, allocations: 0 / 0.4896 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3892, allocations: 4 kB / 0.4896 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.3897, allocations: 253.1 kB / 0.4899 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.3897, allocations: 96.91 kB / 0.49 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.3898, allocations: 11.98 kB / 0.49 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.3899, allocations: 8 kB / 0.49 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.3899, allocations: 19.97 kB / 0.49 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.39, allocations: 4 kB / 0.49 GB, free: 14.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.3901, allocations: 141.2 kB / 0.4901 GB, free: 14.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3901, allocations: 0 / 0.4901 GB, free: 14.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007023/0.3908, allocations: 163.7 kB / 0.4903 GB, free: 14.36 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.00119/0.392, allocations: 399.3 kB / 0.4907 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.3925, allocations: 271 kB / 0.4909 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3925, allocations: 0 / 0.4909 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.3927, allocations: 72.16 kB / 0.491 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.3929, allocations: 11.75 kB / 0.491 GB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.3935, allocations: 304 kB / 0.4913 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3938, allocations: 0.7123 MB / 0.492 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.3939, allocations: 25.41 kB / 0.492 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.3939, allocations: 15.44 kB / 0.492 GB, free: 12.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3939, allocations: 0 / 0.492 GB, free: 12.53 MB / 378.7 MB Notification: Performance of Templates: time 0.008993/0.4029, allocations: 3.77 MB / 0.4957 GB, free: 8.773 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/jenkins1/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