Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.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.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002353/0.002353, allocations: 200 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007864/0.0007864, allocations: 98.98 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002412/0.0002414, allocations: 12 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2515, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09864/0.3502, allocations: 77.74 MB / 487.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.3505, allocations: 71.97 kB / 487.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005494/0.356, allocations: 1.808 MB / 489 MB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.05e-06/0.356, allocations: 0 / 489 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.3561, allocations: 3.938 kB / 489 MB, free: 11.89 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004489/0.3565, allocations: 375.2 kB / 489.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3566, allocations: 8.031 kB / 489.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004138/0.357, allocations: 64.78 kB / 489.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3572, allocations: 176.4 kB / 489.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.3572, allocations: 4.375 kB / 489.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.3572, allocations: 4.375 kB / 489.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.3575, allocations: 102.2 kB / 489.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3575, allocations: 192 / 489.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.3575, allocations: 3.938 kB / 489.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3575, allocations: 0 / 489.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.3578, allocations: 79.94 kB / 489.8 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.3585, allocations: 364.6 kB / 490.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3587, allocations: 82.53 kB / 490.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3588, allocations: 48.91 kB / 490.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3588, allocations: 0 / 490.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.3589, allocations: 30.56 kB / 490.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3589, allocations: 0 / 490.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004052/0.3593, allocations: 137.5 kB / 490.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3593, allocations: 55.41 kB / 490.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3594, allocations: 122.1 kB / 490.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3595, allocations: 29.7 kB / 490.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.3595, allocations: 99.97 kB / 490.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3596, allocations: 23.73 kB / 490.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.3596, allocations: 0 / 490.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3597, allocations: 326.7 kB / 491.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/0.3598, allocations: 35.91 kB / 491.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.3599, allocations: 35.92 kB / 491.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3601, allocations: 68.81 kB / 491.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3601, allocations: 0 / 491.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002376/0.3604, allocations: 109.6 kB / 491.3 MB, free: 9.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3604, allocations: 7.984 kB / 491.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3604, allocations: 448 / 491.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3604, allocations: 0 / 491.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.3606, allocations: 23.98 kB / 491.4 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3606, allocations: 7.938 kB / 491.4 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.3607, allocations: 19.92 kB / 491.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3607, allocations: 4 kB / 491.4 MB, free: 9.266 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.48e-05/0.3608, allocations: 109.8 kB / 491.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3608, allocations: 7.906 kB / 491.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.3612, allocations: 125.6 kB / 491.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3612, allocations: 0 / 491.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3612, allocations: 0 / 491.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3612, allocations: 3.938 kB / 491.6 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.3614, allocations: 189.6 kB / 491.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3614, allocations: 8 kB / 491.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.3616, allocations: 27.91 kB / 491.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.3616, allocations: 0 / 491.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3616, allocations: 3.984 kB / 491.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-06/0.3616, allocations: 3.984 kB / 491.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3616, allocations: 4 kB / 491.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.3619, allocations: 207.4 kB / 492.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.362, allocations: 81.09 kB / 492.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.362, allocations: 0 / 492.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3621, allocations: 20 kB / 492.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.3622, allocations: 7.984 kB / 492.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.3622, allocations: 3.938 kB / 492.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.018e-05/0.3623, allocations: 92.27 kB / 492.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3623, allocations: 4 kB / 492.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.3625, allocations: 19.84 kB / 492.3 MB, free: 8.258 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001484/0.3627, allocations: 99.12 kB / 492.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.3629, allocations: 83.94 kB / 492.5 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3629, allocations: 0 / 492.5 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.363, allocations: 40.22 kB / 492.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3633, allocations: 8 kB / 492.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.3639, allocations: 224.5 kB / 492.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3642, allocations: 0.6926 MB / 493.4 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.202e-05/0.3643, allocations: 8 kB / 493.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.3643, allocations: 7.438 kB / 493.5 MB, free: 7.043 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3644, allocations: 0 / 493.5 MB, free: 7.043 MB / 362.7 MB Notification: Performance of Templates: time 0.003025/0.3674, allocations: 0.681 MB / 494.1 MB, free: 6.371 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches