Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 226.5 MB / 245.3 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000772/0.000772, allocations: 98.05 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002235/0.0002236, allocations: 8 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2012, allocations: 51.3 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08574/0.287, allocations: 77.74 MB / 486.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.2872, allocations: 75.95 kB / 486.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005048/0.2923, allocations: 1.802 MB / 488.3 MB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2923, allocations: 0 / 488.3 MB, free: 12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.2923, allocations: 0 / 488.3 MB, free: 12 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.0003541/0.2927, allocations: 387.1 kB / 488.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2927, allocations: 12.03 kB / 488.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003744/0.2931, allocations: 52.8 kB / 488.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.2932, allocations: 180.3 kB / 488.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.2933, allocations: 8.375 kB / 488.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.2933, allocations: 8.375 kB / 488.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.2935, allocations: 94.2 kB / 489 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2935, allocations: 4.125 kB / 489 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2935, allocations: 3.938 kB / 489 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2936, allocations: 4 kB / 489 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.2938, allocations: 79.95 kB / 489.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.2943, allocations: 360.6 kB / 489.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.2946, allocations: 82.53 kB / 489.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.2947, allocations: 40.95 kB / 489.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2947, allocations: 0 / 489.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2947, allocations: 38.5 kB / 489.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.2947, allocations: 0 / 489.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004016/0.2951, allocations: 141.5 kB / 489.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.2952, allocations: 51.41 kB / 489.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.2953, allocations: 125.7 kB / 489.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2953, allocations: 25.7 kB / 489.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.2953, allocations: 104 kB / 490 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.2954, allocations: 19.73 kB / 490.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.2954, allocations: 4 kB / 490.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.2955, allocations: 318.8 kB / 490.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.2956, allocations: 39.92 kB / 490.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.2957, allocations: 31.97 kB / 490.4 MB, free: 9.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.2959, allocations: 76.77 kB / 490.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2959, allocations: 0 / 490.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002352/0.2961, allocations: 105.5 kB / 490.6 MB, free: 9.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2961, allocations: 8 kB / 490.6 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2962, allocations: 0 / 490.6 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2962, allocations: 448 / 490.6 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.2963, allocations: 23.98 kB / 490.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2963, allocations: 0 / 490.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.499e-05/0.2964, allocations: 23.92 kB / 490.7 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.2964, allocations: 0 / 490.7 MB, free: 9.379 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 7.626e-05/0.2965, allocations: 125.8 kB / 490.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.2966, allocations: 3.906 kB / 490.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.2969, allocations: 121.6 kB / 490.9 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2969, allocations: 3.984 kB / 490.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2969, allocations: 0 / 490.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2969, allocations: 3.938 kB / 490.9 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.2971, allocations: 189.6 kB / 491.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2971, allocations: 0 / 491.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.2972, allocations: 23.97 kB / 491.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2972, allocations: 0 / 491.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2973, allocations: 4 kB / 491.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2973, allocations: 7.938 kB / 491.2 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2973, allocations: 3.938 kB / 491.2 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.2976, allocations: 215.3 kB / 491.4 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.2976, allocations: 77.11 kB / 491.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.2976, allocations: 4 kB / 491.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2977, allocations: 11.98 kB / 491.5 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.2978, allocations: 8 kB / 491.5 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.2978, allocations: 7.922 kB / 491.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.2979, allocations: 95.27 kB / 491.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2979, allocations: 0 / 491.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.2981, allocations: 19.84 kB / 491.6 MB, free: 8.363 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.0001153/0.2982, allocations: 99.25 kB / 491.7 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.2984, allocations: 79.83 kB / 491.8 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2985, allocations: 4 kB / 491.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.2986, allocations: 39.97 kB / 491.8 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.2988, allocations: 4 kB / 491.8 MB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.2993, allocations: 250.7 kB / 492.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.2995, allocations: 0.6887 MB / 492.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.2996, allocations: 19.42 kB / 492.8 MB, free: 7.121 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2996, allocations: 0 / 492.8 MB, free: 7.121 MB / 362.7 MB Notification: Performance of Templates: time 0.001986/0.3016, allocations: 0.9569 MB / 493.7 MB, free: 6.172 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Densities --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches