Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 92.42 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 12 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.4314, allocations: 76.18 MB / 450.7 MB, free: 4.609 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4317, allocations: 75.97 kB / 450.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007141/0.4389, allocations: 1.688 MB / 452.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4389, allocations: 0 / 452.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.439, allocations: 0 / 452.5 MB, free: 2.844 MB / 330.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.000424/0.4394, allocations: 379 kB / 452.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4394, allocations: 8.031 kB / 452.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/0.4399, allocations: 55.86 kB / 452.9 MB, free: 2.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.4401, allocations: 167 kB / 453.1 MB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.4401, allocations: 4 kB / 453.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.4401, allocations: 4 kB / 453.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.4405, allocations: 97.72 kB / 453.2 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4405, allocations: 8 kB / 453.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4405, allocations: 0 / 453.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4406, allocations: 0 / 453.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.4409, allocations: 83.94 kB / 453.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008254/0.4418, allocations: 376.4 kB / 453.6 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.4421, allocations: 86.53 kB / 453.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.4422, allocations: 3.938 kB / 453.7 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.4422, allocations: 30.56 kB / 453.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.492e-06/0.4422, allocations: 3.938 kB / 453.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006732/0.4429, allocations: 145.7 kB / 453.9 MB, free: 1.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.443, allocations: 55.41 kB / 453.9 MB, free: 1.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.4431, allocations: 107.3 kB / 454.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.4431, allocations: 33.7 kB / 454.1 MB, free: 1.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.4432, allocations: 158.5 kB / 454.2 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.4432, allocations: 19.73 kB / 454.3 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.4433, allocations: 0 / 454.3 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4434, allocations: 318.8 kB / 454.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.4436, allocations: 31.98 kB / 454.6 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.4437, allocations: 31.97 kB / 454.6 MB, free: 488 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.4439, allocations: 31.98 kB / 454.7 MB, free: 456 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4439, allocations: 4 kB / 454.7 MB, free: 452 kB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004146/0.4444, allocations: 109.5 kB / 454.8 MB, free: 336 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4444, allocations: 4 kB / 454.8 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4444, allocations: 4 kB / 454.8 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.4444, allocations: 0 / 454.8 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.4447, allocations: 23.98 kB / 454.8 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4447, allocations: 0 / 454.8 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.4448, allocations: 15.98 kB / 454.8 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.4449, allocations: 0 / 454.8 MB, free: 288 kB / 330.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.647e-05/0.445, allocations: 117.8 kB / 454.9 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.445, allocations: 15.89 kB / 455 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.4455, allocations: 121.5 kB / 455.1 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4455, allocations: 0 / 455.1 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4456, allocations: 0 / 455.1 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4456, allocations: 8 kB / 455.1 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.4459, allocations: 189.6 kB / 455.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4459, allocations: 0 / 455.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.4461, allocations: 20.48 kB / 455.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.4461, allocations: 7.984 kB / 455.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4461, allocations: 0 / 455.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4461, allocations: 4 kB / 455.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4461, allocations: 0 / 455.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.4466, allocations: 215.3 kB / 455.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.4467, allocations: 89.03 kB / 455.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.4467, allocations: 3.938 kB / 455.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.4469, allocations: 15.98 kB / 455.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.447, allocations: 4 kB / 455.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.447, allocations: 0 / 455.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.4471, allocations: 103.2 kB / 455.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4471, allocations: 0 / 455.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.4474, allocations: 11.91 kB / 455.7 MB, free: 15.28 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 () * 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.0001176/0.4475, allocations: 103.2 kB / 455.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004049/0.4479, allocations: 71.95 kB / 455.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.448, allocations: 0 / 455.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.4482, allocations: 51.91 kB / 456 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.4484, allocations: 4.828 kB / 456 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.4491, allocations: 250.8 kB / 456.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.4494, allocations: 0.6887 MB / 456.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.4495, allocations: 15.42 kB / 456.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4495, allocations: 0 / 456.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of Templates: time 0.002965/0.4525, allocations: 0.9442 MB / 457.9 MB, free: 13.09 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches