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.001005/0.001004, allocations: 192 kB / 17.37 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.6 MB / 244.7 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007467/0.0007468, allocations: 94.5 kB / 296.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000211/0.000211, allocations: 4 kB / 356.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2134, allocations: 51.3 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001479/0.2149, allocations: 1.286 MB / 409.3 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006617/0.2156, allocations: 0.5131 MB / 409.8 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.2156, allocations: 0 / 409.8 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.2157, allocations: 3.938 kB / 409.9 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.933e-05/0.2158, allocations: 4.719 kB / 409.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.2159, allocations: 45.64 kB / 409.9 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.048e-05/0.216, allocations: 39.86 kB / 409.9 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2161, allocations: 24.42 kB / 410 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.922e-05/0.2162, allocations: 26.41 kB / 410 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.2162, allocations: 19.86 kB / 410 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2163, allocations: 4 kB / 410 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.2165, allocations: 43.97 kB / 410.1 MB, free: 25.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.2165, allocations: 11.92 kB / 410.1 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.2165, allocations: 45.56 kB / 410.1 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.2166, allocations: 63.83 kB / 410.2 MB, free: 25.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2166, allocations: 0.5 kB / 410.2 MB, free: 25.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2167, allocations: 0.75 kB / 410.2 MB, free: 25.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.2167, allocations: 0 / 410.2 MB, free: 25.56 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.0003809/0.2171, allocations: 363 kB / 410.5 MB, free: 25.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2171, allocations: 8.031 kB / 410.5 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.2175, allocations: 58.5 kB / 410.6 MB, free: 25.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.952e-05/0.2176, allocations: 176.2 kB / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.2177, allocations: 11.91 kB / 410.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.2177, allocations: 4.375 kB / 410.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.2179, allocations: 97.95 kB / 410.9 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.2179, allocations: 0 / 410.9 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2179, allocations: 4 kB / 410.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.218, allocations: 0 / 410.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.2182, allocations: 83.94 kB / 411 MB, free: 24.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.2187, allocations: 356.5 kB / 411.3 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.2189, allocations: 82.53 kB / 411.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.219, allocations: 36.91 kB / 411.4 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2191, allocations: 8 kB / 411.4 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2191, allocations: 30.56 kB / 411.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.2191, allocations: 0 / 411.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004493/0.2195, allocations: 137.5 kB / 411.6 MB, free: 23.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.2196, allocations: 55.41 kB / 411.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2197, allocations: 126 kB / 411.8 MB, free: 23.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2197, allocations: 33.7 kB / 411.8 MB, free: 23.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.2198, allocations: 92.03 kB / 411.9 MB, free: 23.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.2198, allocations: 23.73 kB / 411.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.2198, allocations: 3.938 kB / 411.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.401e-05/0.2199, allocations: 314.8 kB / 412.2 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.22, allocations: 43.91 kB / 412.3 MB, free: 23.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.2201, allocations: 27.98 kB / 412.3 MB, free: 23.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.2202, allocations: 72.81 kB / 412.4 MB, free: 23.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2203, allocations: 0 / 412.4 MB, free: 23.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002045/0.2205, allocations: 101.6 kB / 412.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.2205, allocations: 12 kB / 412.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2205, allocations: 3.938 kB / 412.5 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2205, allocations: 448 / 412.5 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.2207, allocations: 23.97 kB / 412.5 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2207, allocations: 7.875 kB / 412.5 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.67e-05/0.2208, allocations: 16 kB / 412.5 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2208, allocations: 3.984 kB / 412.5 MB, free: 22.98 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 8.345e-05/0.2209, allocations: 117.8 kB / 412.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.2209, allocations: 7.891 kB / 412.7 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.2212, allocations: 121.6 kB / 412.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2212, allocations: 3.984 kB / 412.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2212, allocations: 3.938 kB / 412.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2213, allocations: 0 / 412.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.2214, allocations: 189.6 kB / 413 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2214, allocations: 0 / 413 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.2215, allocations: 27.91 kB / 413 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2215, allocations: 0 / 413 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2215, allocations: 0 / 413 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2216, allocations: 4 kB / 413 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2216, allocations: 3.938 kB / 413 MB, free: 22.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.2218, allocations: 207.4 kB / 413.2 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.2218, allocations: 88.94 kB / 413.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2219, allocations: 0 / 413.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.222, allocations: 19.98 kB / 413.3 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.222, allocations: 3.938 kB / 413.3 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.222, allocations: 4 kB / 413.3 MB, free: 22.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.576e-05/0.2221, allocations: 92.64 kB / 413.4 MB, free: 22 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2221, allocations: 0 / 413.4 MB, free: 22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.2223, allocations: 16 kB / 413.4 MB, free: 21.98 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 9.524e-05/0.2224, allocations: 103.1 kB / 413.5 MB, free: 21.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.2226, allocations: 75.94 kB / 413.6 MB, free: 21.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2226, allocations: 4 kB / 413.6 MB, free: 21.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.2227, allocations: 35.98 kB / 413.6 MB, free: 21.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.223, allocations: 7.984 kB / 413.7 MB, free: 21.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.2234, allocations: 238.7 kB / 413.9 MB, free: 21.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.2235, allocations: 0.6926 MB / 414.6 MB, free: 20.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.2236, allocations: 19.42 kB / 414.6 MB, free: 20.75 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2236, allocations: 0 / 414.6 MB, free: 20.75 MB / 298.7 MB Notification: Performance of Templates: time 0.001873/0.2255, allocations: 0.9582 MB / 415.6 MB, free: 19.8 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