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.002638/0.002639, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007595/0.0007595, allocations: 92.16 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.644e-05, allocations: 4 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08873/0.08877, allocations: 51.5 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3102/0.399, allocations: 77.74 MB / 479.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.3992, allocations: 73.48 kB / 479.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004438/0.4037, allocations: 1.806 MB / 481.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4037, allocations: 0 / 481.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.4037, allocations: 4 kB / 481.6 MB, free: 10.1 MB / 346.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.0002495/0.404, allocations: 365.6 kB / 482 MB, free: 9.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.404, allocations: 12.03 kB / 482 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.4044, allocations: 55.23 kB / 482.1 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.732e-05/0.4045, allocations: 167.1 kB / 482.2 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.4045, allocations: 8.734 kB / 482.2 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.4045, allocations: 7.688 kB / 482.3 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.4047, allocations: 77.41 kB / 482.3 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4047, allocations: 0 / 482.3 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4047, allocations: 3.312 kB / 482.3 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4047, allocations: 4 kB / 482.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.145e-05/0.4048, allocations: 40.94 kB / 482.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.4053, allocations: 368 kB / 482.7 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.4054, allocations: 54 kB / 482.8 MB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.4054, allocations: 24.48 kB / 482.8 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.4054, allocations: 0 / 482.8 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.4055, allocations: 30.56 kB / 482.8 MB, free: 8.844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.4055, allocations: 0 / 482.8 MB, free: 8.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001506/0.4056, allocations: 65.69 kB / 482.9 MB, free: 8.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.4056, allocations: 55.41 kB / 483 MB, free: 8.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.471e-05/0.4057, allocations: 120.4 kB / 483.1 MB, free: 8.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.4057, allocations: 25.7 kB / 483.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.4057, allocations: 104.6 kB / 483.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.4058, allocations: 18.7 kB / 483.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.4058, allocations: 0 / 483.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.4058, allocations: 326.7 kB / 483.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.4059, allocations: 11.88 kB / 483.6 MB, free: 8.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.4059, allocations: 15.56 kB / 483.6 MB, free: 8.117 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.4059, allocations: 12.69 kB / 483.6 MB, free: 8.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4059, allocations: 0 / 483.6 MB, free: 8.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.009e-05/0.406, allocations: 70.72 kB / 483.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.406, allocations: 4 kB / 483.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4061, allocations: 7.984 kB / 483.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4061, allocations: 0.6562 kB / 483.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4062, allocations: 19.98 kB / 483.7 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4062, allocations: 0 / 483.7 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.4063, allocations: 24.58 kB / 483.7 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.4063, allocations: 0 / 483.7 MB, free: 7.992 MB / 346.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 () * 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 4.082e-05/0.4064, allocations: 112.7 kB / 483.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.4064, allocations: 0 / 483.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.4065, allocations: 85.5 kB / 483.9 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4066, allocations: 4 kB / 483.9 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.4066, allocations: 0 / 483.9 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4066, allocations: 7.891 kB / 483.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.4067, allocations: 200.8 kB / 484.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4067, allocations: 1.688 kB / 484.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.4068, allocations: 23.98 kB / 484.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4068, allocations: 1.594 kB / 484.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4068, allocations: 0 / 484.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4069, allocations: 0 / 484.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4069, allocations: 0 / 484.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.407, allocations: 179 kB / 484.3 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.407, allocations: 84.95 kB / 484.4 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.407, allocations: 4 kB / 484.4 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4071, allocations: 16.67 kB / 484.4 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.4072, allocations: 4 kB / 484.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.4072, allocations: 0 / 484.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.004e-05/0.4072, allocations: 95.08 kB / 484.5 MB, free: 7.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4072, allocations: 4 kB / 484.5 MB, free: 7.156 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.4074, allocations: 15.94 kB / 484.5 MB, free: 7.145 MB / 346.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 () * 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 8.597e-05/0.4075, allocations: 91.25 kB / 484.6 MB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.4076, allocations: 39.42 kB / 484.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.4076, allocations: 0 / 484.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.4077, allocations: 26.78 kB / 484.7 MB, free: 7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.4078, allocations: 7.953 kB / 484.7 MB, free: 6.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.4081, allocations: 135.9 kB / 484.8 MB, free: 6.852 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.239e-05/0.4082, allocations: 0.6926 MB / 485.5 MB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.799e-05/0.4083, allocations: 11.91 kB / 485.5 MB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.4083, allocations: 11.42 kB / 485.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4083, allocations: 0 / 485.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of Templates: time 0.002128/0.4104, allocations: 0.6834 MB / 486.2 MB, free: 5.473 MB / 346.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/jenkins/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