Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008524/0.0008525, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 223.3 MB / 241 MB, free: 10.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007922/0.0007923, allocations: 95.95 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002332, allocations: 7.938 kB / 351.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1854, allocations: 50.41 MB / 402.2 MB, free: 32.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001197/0.1867, allocations: 1.271 MB / 403.5 MB, free: 31.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.1872, allocations: 498.5 kB / 404 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.1872, allocations: 4 kB / 404 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.1873, allocations: 3.938 kB / 404 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.1873, allocations: 3.938 kB / 404 MB, free: 30.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.1875, allocations: 29.09 kB / 404 MB, free: 30.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.369e-05/0.1876, allocations: 51.84 kB / 404 MB, free: 30.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.1877, allocations: 26.5 kB / 404.1 MB, free: 30.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.1877, allocations: 7.938 kB / 404.1 MB, free: 30.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.1878, allocations: 23.86 kB / 404.1 MB, free: 30.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1878, allocations: 0 / 404.1 MB, free: 30.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1879, allocations: 35.97 kB / 404.1 MB, free: 30.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.1879, allocations: 20.41 kB / 404.2 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.188, allocations: 30.55 kB / 404.2 MB, free: 30.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.22e-05/0.188, allocations: 51.91 kB / 404.2 MB, free: 30.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.188, allocations: 3.938 kB / 404.2 MB, free: 30.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1881, allocations: 2.719 kB / 404.2 MB, free: 30.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1881, allocations: 4 kB / 404.3 MB, free: 30.48 MB / 298.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.0002967/0.1884, allocations: 372.6 kB / 404.6 MB, free: 30.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.1884, allocations: 8.031 kB / 404.6 MB, free: 30.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003346/0.1887, allocations: 55.34 kB / 404.7 MB, free: 30.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.085e-05/0.1888, allocations: 167 kB / 404.8 MB, free: 29.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.1889, allocations: 8 kB / 404.8 MB, free: 29.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1889, allocations: 4 kB / 404.9 MB, free: 29.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.1891, allocations: 91.52 kB / 404.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1891, allocations: 0 / 404.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1891, allocations: 0 / 404.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1891, allocations: 7.938 kB / 404.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.1893, allocations: 88.73 kB / 405 MB, free: 29.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.1898, allocations: 360.5 kB / 405.4 MB, free: 29.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1899, allocations: 82.52 kB / 405.5 MB, free: 29.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/0.19, allocations: 44.97 kB / 405.5 MB, free: 29.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.1901, allocations: 0 / 405.5 MB, free: 29.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.037e-05/0.1901, allocations: 30.56 kB / 405.5 MB, free: 29.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.1901, allocations: 0 / 405.5 MB, free: 29.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000355/0.1904, allocations: 141.6 kB / 405.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.694e-05/0.1905, allocations: 51.41 kB / 405.7 MB, free: 28.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.1905, allocations: 122.1 kB / 405.9 MB, free: 28.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.1906, allocations: 33.7 kB / 405.9 MB, free: 28.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.1906, allocations: 92.05 kB / 406 MB, free: 28.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.1906, allocations: 27.62 kB / 406 MB, free: 28.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.1906, allocations: 4 kB / 406 MB, free: 28.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.624e-05/0.1907, allocations: 314.8 kB / 406.3 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.1908, allocations: 31.97 kB / 406.3 MB, free: 28.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.042e-05/0.1908, allocations: 31.98 kB / 406.4 MB, free: 28.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.719e-05/0.1909, allocations: 31.97 kB / 406.4 MB, free: 28.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1909, allocations: 0 / 406.4 MB, free: 28.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002067/0.1912, allocations: 113.6 kB / 406.5 MB, free: 28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1912, allocations: 7.938 kB / 406.5 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1912, allocations: 0 / 406.5 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.1912, allocations: 3.938 kB / 406.5 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1913, allocations: 19.98 kB / 406.5 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1913, allocations: 4 kB / 406.6 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.926e-05/0.1914, allocations: 19.89 kB / 406.6 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1914, allocations: 0 / 406.6 MB, free: 27.95 MB / 298.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 4.742e-05/0.1915, allocations: 117.8 kB / 406.7 MB, free: 27.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.1915, allocations: 11.94 kB / 406.7 MB, free: 27.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.1918, allocations: 117.6 kB / 406.8 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1918, allocations: 3.938 kB / 406.8 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1918, allocations: 0 / 406.8 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1918, allocations: 0 / 406.8 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.192, allocations: 194 kB / 407 MB, free: 27.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.192, allocations: 4 kB / 407 MB, free: 27.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1921, allocations: 19.98 kB / 407 MB, free: 27.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1921, allocations: 3.953 kB / 407 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1921, allocations: 7.984 kB / 407 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1921, allocations: 0 / 407 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1921, allocations: 4 kB / 407 MB, free: 27.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.1923, allocations: 203.5 kB / 407.2 MB, free: 27.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.1924, allocations: 84.95 kB / 407.3 MB, free: 27.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.1924, allocations: 11.94 kB / 407.3 MB, free: 27.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1925, allocations: 8 kB / 407.3 MB, free: 27.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.1925, allocations: 11.92 kB / 407.4 MB, free: 27.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1925, allocations: 4 kB / 407.4 MB, free: 27.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.04e-05/0.1926, allocations: 96.14 kB / 407.5 MB, free: 26.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1926, allocations: 0 / 407.5 MB, free: 26.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.1928, allocations: 12 kB / 407.5 MB, free: 26.95 MB / 298.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 6.565e-05/0.1929, allocations: 91.25 kB / 407.6 MB, free: 26.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1931, allocations: 75.95 kB / 407.6 MB, free: 26.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1931, allocations: 0 / 407.6 MB, free: 26.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.1932, allocations: 47.91 kB / 407.7 MB, free: 26.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.1934, allocations: 12 kB / 407.7 MB, free: 26.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.1938, allocations: 250.1 kB / 407.9 MB, free: 26.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.527e-05/0.1939, allocations: 0.6887 MB / 408.6 MB, free: 25.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.194, allocations: 11.44 kB / 408.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.194, allocations: 0 / 408.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of Templates: time 0.001686/0.1957, allocations: 0.9751 MB / 409.6 MB, free: 24.75 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches