Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.317/2.317, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004024, allocations: 12 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3378, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.4751, allocations: 71.93 MB / 380.5 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.4754, allocations: 75.97 kB / 380.6 MB, free: 4.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00751/0.4829, allocations: 1.669 MB / 382.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.483, allocations: 0 / 382.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.483, allocations: 4 kB / 382.2 MB, free: 2.984 MB / 314.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.0005277/0.4836, allocations: 387 kB / 382.6 MB, free: 2.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4836, allocations: 8.031 kB / 382.6 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.202e-05/0.4837, allocations: 42.55 kB / 382.7 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/0.4842, allocations: 51.77 kB / 382.7 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.4844, allocations: 179.1 kB / 382.9 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.4844, allocations: 8 kB / 382.9 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.4845, allocations: 4 kB / 382.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.4848, allocations: 100.4 kB / 383 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4849, allocations: 3.984 kB / 383 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.4849, allocations: 4 kB / 383 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4849, allocations: 4 kB / 383 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.4853, allocations: 75.95 kB / 383.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.4862, allocations: 388.4 kB / 383.5 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.4866, allocations: 86.47 kB / 383.6 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.4866, allocations: 0 / 383.6 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4867, allocations: 38.52 kB / 383.6 MB, free: 1.465 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.4867, allocations: 0 / 383.6 MB, free: 1.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006675/0.4874, allocations: 141.8 kB / 383.7 MB, free: 1.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4874, allocations: 55.34 kB / 383.8 MB, free: 1.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4875, allocations: 113.2 kB / 383.9 MB, free: 1.133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.4876, allocations: 33.64 kB / 383.9 MB, free: 1.094 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.4877, allocations: 103.6 kB / 384 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.4877, allocations: 15.72 kB / 384 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.4877, allocations: 0 / 384 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4879, allocations: 322.8 kB / 384.4 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.4881, allocations: 27.98 kB / 384.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.4883, allocations: 35.97 kB / 384.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.4884, allocations: 36.3 kB / 384.5 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4885, allocations: 0 / 384.5 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004218/0.4889, allocations: 113.6 kB / 384.6 MB, free: 448 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4889, allocations: 4 kB / 384.6 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4889, allocations: 3.953 kB / 384.6 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.489, allocations: 0 / 384.6 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.4892, allocations: 23.92 kB / 384.6 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.4892, allocations: 4 kB / 384.6 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.4894, allocations: 19.89 kB / 384.6 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.4894, allocations: 4 kB / 384.6 MB, free: 388 kB / 314.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 0.0001065/0.4895, allocations: 109.8 kB / 384.7 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.4896, allocations: 4 kB / 384.7 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.4901, allocations: 129.5 kB / 384.9 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4901, allocations: 3.953 kB / 384.9 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4901, allocations: 0 / 384.9 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4901, allocations: 0 / 384.9 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.4905, allocations: 197.5 kB / 385.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4905, allocations: 4 kB / 385.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.4907, allocations: 27.91 kB / 385.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4907, allocations: 0 / 385.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4907, allocations: 4 kB / 385.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.4907, allocations: 0 / 385.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4908, allocations: 3.953 kB / 385.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.4912, allocations: 203.5 kB / 385.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.4913, allocations: 85.02 kB / 385.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.4914, allocations: 0 / 385.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.4915, allocations: 15.98 kB / 385.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.4916, allocations: 11.95 kB / 385.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4916, allocations: 192 / 385.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.657e-05/0.4917, allocations: 99.2 kB / 385.5 MB, free: 15.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4917, allocations: 0 / 385.5 MB, free: 15.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.492, allocations: 16 kB / 385.5 MB, free: 15.38 MB / 330.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.0009948/0.493, allocations: 0.7849 MB / 386.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.4935, allocations: 80 kB / 386.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4935, allocations: 3.938 kB / 386.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.4937, allocations: 43.97 kB / 386.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.494, allocations: 7.938 kB / 386.4 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.4958, allocations: 0.628 MB / 387.1 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.4961, allocations: 0.6965 MB / 387.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.727e-05/0.4962, allocations: 8 kB / 387.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.4963, allocations: 23.48 kB / 387.8 MB, free: 13 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4964, allocations: 0 / 387.8 MB, free: 13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.5214, allocations: 1.643 MB / 389.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/0.5217, allocations: 186.3 kB / 389.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.025, allocations: 0 / 389.6 MB, free: 11.16 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat