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.001032/0.001032, allocations: 194 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 226.6 MB / 244.3 MB, free: 8.285 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007493/0.0007493, allocations: 97.27 kB / 296.4 MB, free: 6.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002148/0.0002148, allocations: 4 kB / 356.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2015, allocations: 51.29 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001299/0.2029, allocations: 1.286 MB / 408.8 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006394/0.2035, allocations: 0.5085 MB / 409.3 MB, free: 26.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.2036, allocations: 9.688 kB / 409.3 MB, free: 26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.2036, allocations: 3.938 kB / 409.3 MB, free: 26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.347e-05/0.2037, allocations: 3.938 kB / 409.3 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.2039, allocations: 40.52 kB / 409.3 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.841e-05/0.204, allocations: 44.7 kB / 409.4 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2041, allocations: 16.61 kB / 409.4 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.2041, allocations: 18.27 kB / 409.4 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.2042, allocations: 27.84 kB / 409.4 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2042, allocations: 0 / 409.4 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.2044, allocations: 43.97 kB / 409.5 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.2044, allocations: 15.86 kB / 409.5 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.2044, allocations: 33.7 kB / 409.5 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.178e-05/0.2045, allocations: 57.14 kB / 409.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2046, allocations: 0 / 409.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2046, allocations: 0 / 409.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.2046, allocations: 3.219 kB / 409.6 MB, free: 25.7 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.0003446/0.2049, allocations: 364.1 kB / 410 MB, free: 25.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.205, allocations: 12.03 kB / 410 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00044/0.2054, allocations: 58.03 kB / 410 MB, free: 25.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.2055, allocations: 174.9 kB / 410.2 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.2055, allocations: 4 kB / 410.2 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.2056, allocations: 4 kB / 410.2 MB, free: 25.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.2058, allocations: 104.9 kB / 410.3 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2058, allocations: 0 / 410.3 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2058, allocations: 0 / 410.3 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.2058, allocations: 0 / 410.3 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.206, allocations: 79.89 kB / 410.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.2065, allocations: 364.5 kB / 410.7 MB, free: 24.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.2067, allocations: 78.48 kB / 410.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.2068, allocations: 48.94 kB / 410.9 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2068, allocations: 0 / 410.9 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.2069, allocations: 30.56 kB / 410.9 MB, free: 24.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.2069, allocations: 0 / 410.9 MB, free: 24.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003854/0.2073, allocations: 141.6 kB / 411 MB, free: 24.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.2073, allocations: 55.41 kB / 411.1 MB, free: 24.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.2074, allocations: 133.2 kB / 411.2 MB, free: 23.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.2074, allocations: 25.7 kB / 411.2 MB, free: 23.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.2074, allocations: 100 kB / 411.3 MB, free: 23.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.2075, allocations: 15.66 kB / 411.4 MB, free: 23.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.2075, allocations: 0 / 411.4 MB, free: 23.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.2075, allocations: 326.8 kB / 411.7 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.419e-05/0.2076, allocations: 31.97 kB / 411.7 MB, free: 23.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.2077, allocations: 39.92 kB / 411.7 MB, free: 23.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.332e-05/0.2078, allocations: 27.98 kB / 411.8 MB, free: 23.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2078, allocations: 0 / 411.8 MB, free: 23.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002143/0.208, allocations: 105.6 kB / 411.9 MB, free: 23.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2081, allocations: 8 kB / 411.9 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2081, allocations: 0 / 411.9 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2081, allocations: 0 / 411.9 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.2082, allocations: 23.98 kB / 411.9 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2082, allocations: 3.938 kB / 411.9 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.2083, allocations: 23.89 kB / 411.9 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.2083, allocations: 0 / 411.9 MB, free: 23.15 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 5.832e-05/0.2084, allocations: 113.8 kB / 412 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.2084, allocations: 0 / 412 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.2087, allocations: 125.6 kB / 412.2 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2087, allocations: 0 / 412.2 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2087, allocations: 0 / 412.2 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2087, allocations: 0 / 412.2 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.2089, allocations: 205.5 kB / 412.4 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2089, allocations: 4 kB / 412.4 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.209, allocations: 23.92 kB / 412.4 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.209, allocations: 0 / 412.4 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.209, allocations: 0 / 412.4 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.209, allocations: 0.5 kB / 412.4 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2091, allocations: 0 / 412.4 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.2093, allocations: 215.5 kB / 412.6 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.2094, allocations: 84.95 kB / 412.7 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2094, allocations: 0 / 412.7 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2095, allocations: 23.98 kB / 412.7 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.2095, allocations: 0 / 412.7 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.2095, allocations: 11.92 kB / 412.7 MB, free: 22.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.346e-05/0.2096, allocations: 91.27 kB / 412.8 MB, free: 22.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2096, allocations: 0 / 412.8 MB, free: 22.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.2098, allocations: 16 kB / 412.8 MB, free: 22.15 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 8.998e-05/0.2099, allocations: 95.19 kB / 412.9 MB, free: 22.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.2101, allocations: 75.95 kB / 413 MB, free: 21.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2101, allocations: 0 / 413 MB, free: 21.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.2102, allocations: 39.97 kB / 413 MB, free: 21.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.2105, allocations: 11.95 kB / 413 MB, free: 21.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.2109, allocations: 250.1 kB / 413.3 MB, free: 21.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.211, allocations: 0.6935 MB / 414 MB, free: 20.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.2111, allocations: 11.44 kB / 414 MB, free: 20.92 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2111, allocations: 0 / 414 MB, free: 20.92 MB / 298.7 MB Notification: Performance of Templates: time 0.001949/0.213, allocations: 0.9568 MB / 415 MB, free: 19.97 MB / 298.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/jenkins/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