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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001722/0.001722, allocations: 200.5 kB / 17.38 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.5 MB / 244.7 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007909/0.0007906, allocations: 94.17 kB / 296.7 MB, free: 6.711 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002607, allocations: 11.98 kB / 356.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2129, allocations: 51.29 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001418/0.2143, allocations: 1.29 MB / 409.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006505/0.215, allocations: 0.5047 MB / 409.9 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.2151, allocations: 5.875 kB / 409.9 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.2151, allocations: 3.938 kB / 409.9 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.2152, allocations: 3.938 kB / 409.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.2154, allocations: 44.45 kB / 410 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.2154, allocations: 48.53 kB / 410 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2155, allocations: 22.08 kB / 410 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.086e-05/0.2156, allocations: 23.86 kB / 410.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.2157, allocations: 23.84 kB / 410.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2157, allocations: 0 / 410.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.2158, allocations: 48.81 kB / 410.1 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.2159, allocations: 11.92 kB / 410.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.2159, allocations: 46.86 kB / 410.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.197e-05/0.216, allocations: 51.89 kB / 410.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.216, allocations: 4 kB / 410.3 MB, free: 25.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.216, allocations: 0 / 410.3 MB, free: 25.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.216, allocations: 0.625 kB / 410.3 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.0003292/0.2164, allocations: 366.4 kB / 410.6 MB, free: 25.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2164, allocations: 8.031 kB / 410.6 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.2165, allocations: 55.83 kB / 410.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.2169, allocations: 58.88 kB / 410.7 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.55e-05/0.2169, allocations: 180.2 kB / 410.9 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.217, allocations: 8.375 kB / 410.9 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.217, allocations: 8.969 kB / 410.9 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.2172, allocations: 99.2 kB / 411 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2172, allocations: 4 kB / 411 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2172, allocations: 4 kB / 411 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2173, allocations: 4 kB / 411 MB, free: 24.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.2175, allocations: 79.88 kB / 411.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.2179, allocations: 368.5 kB / 411.5 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.2182, allocations: 82.53 kB / 411.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.627e-05/0.2183, allocations: 36.97 kB / 411.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.2183, allocations: 0 / 411.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.2183, allocations: 38.56 kB / 411.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.2184, allocations: 3.938 kB / 411.6 MB, free: 24.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003751/0.2187, allocations: 149.6 kB / 411.8 MB, free: 23.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.2188, allocations: 51.41 kB / 411.8 MB, free: 23.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.2188, allocations: 122.1 kB / 411.9 MB, free: 23.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.2189, allocations: 29.7 kB / 412 MB, free: 23.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.2189, allocations: 99.97 kB / 412.1 MB, free: 23.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.2189, allocations: 15.81 kB / 412.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.2189, allocations: 0 / 412.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.219, allocations: 318.8 kB / 412.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.2191, allocations: 31.97 kB / 412.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.2191, allocations: 31.98 kB / 412.5 MB, free: 23.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.2193, allocations: 72.81 kB / 412.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2193, allocations: 0 / 412.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000205/0.2195, allocations: 113.4 kB / 412.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2196, allocations: 4 kB / 412.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2196, allocations: 0 / 412.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2196, allocations: 11.92 kB / 412.7 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2197, allocations: 19.98 kB / 412.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2197, allocations: 0 / 412.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.2198, allocations: 19.92 kB / 412.7 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.2198, allocations: 4 kB / 412.7 MB, free: 22.89 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.702e-05/0.2199, allocations: 109.8 kB / 412.8 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.2199, allocations: 7.906 kB / 412.8 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.2202, allocations: 133.9 kB / 412.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2202, allocations: 0 / 412.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2202, allocations: 4.062 kB / 413 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2202, allocations: 0 / 413 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.2204, allocations: 197.6 kB / 413.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2204, allocations: 0 / 413.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.923e-05/0.2205, allocations: 23.98 kB / 413.2 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2205, allocations: 0 / 413.2 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2205, allocations: 3.938 kB / 413.2 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2205, allocations: 4 kB / 413.2 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2205, allocations: 0 / 413.2 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.2208, allocations: 215.3 kB / 413.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.2208, allocations: 81.02 kB / 413.5 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2208, allocations: 15.88 kB / 413.5 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.2209, allocations: 11.98 kB / 413.5 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.2209, allocations: 0 / 413.5 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.221, allocations: 11.98 kB / 413.5 MB, free: 21.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.221, allocations: 91.27 kB / 413.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.221, allocations: 0 / 413.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.2212, allocations: 19.94 kB / 413.6 MB, free: 21.88 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 0.0004945/0.2217, allocations: 0.771 MB / 414.4 MB, free: 21.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.222, allocations: 83.88 kB / 414.5 MB, free: 21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.222, allocations: 0 / 414.5 MB, free: 21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.2221, allocations: 43.97 kB / 414.5 MB, free: 20.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.2224, allocations: 12 kB / 414.5 MB, free: 20.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/0.2233, allocations: 0.6522 MB / 415.2 MB, free: 20.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2234, allocations: 0.6926 MB / 415.9 MB, free: 19.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.2235, allocations: 23.5 kB / 415.9 MB, free: 19.49 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2235, allocations: 0 / 415.9 MB, free: 19.49 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.466/2.69, allocations: 1.205 MB / 417.1 MB, free: 18.29 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Blocks_Examples_Noise_Densities.fmu > 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