Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/0.09351, allocations: 44.51 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3931/0.4867, allocations: 71.93 MB / 380.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.487, allocations: 74.39 kB / 380.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007416/0.4945, allocations: 1.667 MB / 382.2 MB, free: 14.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4945, allocations: 1.125 kB / 382.2 MB, free: 14.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4946, allocations: 1.312 kB / 382.2 MB, free: 14.1 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.0004274/0.495, allocations: 389.9 kB / 382.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.495, allocations: 9 kB / 382.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.506e-05/0.4951, allocations: 44.73 kB / 382.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.4956, allocations: 56.34 kB / 382.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.4958, allocations: 176.4 kB / 382.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.4958, allocations: 7.344 kB / 382.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.4958, allocations: 12.44 kB / 382.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.4962, allocations: 96.64 kB / 383 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4962, allocations: 0 / 383 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.4962, allocations: 1.25 kB / 383 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4963, allocations: 1.125 kB / 383 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.4967, allocations: 81.36 kB / 383.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/0.4975, allocations: 382.7 kB / 383.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.4979, allocations: 87.19 kB / 383.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.4979, allocations: 5.172 kB / 383.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.4979, allocations: 34.52 kB / 383.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.284e-06/0.498, allocations: 0 / 383.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006627/0.4986, allocations: 140.1 kB / 383.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.4987, allocations: 58.53 kB / 383.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.4988, allocations: 114.7 kB / 383.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4988, allocations: 29.27 kB / 383.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.4989, allocations: 167.2 kB / 384.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.4989, allocations: 22.42 kB / 384.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.4989, allocations: 0 / 384.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.499, allocations: 314 kB / 384.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.4992, allocations: 33.55 kB / 384.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.4994, allocations: 37.11 kB / 384.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.4996, allocations: 31.97 kB / 384.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4996, allocations: 0 / 384.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004065/0.5, allocations: 102.4 kB / 384.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5, allocations: 5.5 kB / 384.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.5, allocations: 5.312 kB / 384.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5001, allocations: 0 / 384.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.5003, allocations: 26.08 kB / 384.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5003, allocations: 1.547 kB / 384.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.5005, allocations: 21.33 kB / 384.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.5005, allocations: 2.969 kB / 384.6 MB, free: 12.28 MB / 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 9.168e-05/0.5006, allocations: 113.3 kB / 384.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.5007, allocations: 6.656 kB / 384.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.5012, allocations: 121.8 kB / 384.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5012, allocations: 5.328 kB / 384.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5012, allocations: 1.219 kB / 384.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5012, allocations: 0 / 384.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.5015, allocations: 192.1 kB / 385.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.5015, allocations: 1.312 kB / 385.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.5017, allocations: 31.58 kB / 385.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5017, allocations: 0 / 385.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.5017, allocations: 4.906 kB / 385.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5018, allocations: 0.5 kB / 385.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5018, allocations: 3.953 kB / 385.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.5022, allocations: 213.1 kB / 385.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.5023, allocations: 86.62 kB / 385.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.5023, allocations: 2.812 kB / 385.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.5025, allocations: 12.64 kB / 385.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.5026, allocations: 8.328 kB / 385.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.5026, allocations: 11.03 kB / 385.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.553e-05/0.5027, allocations: 96.41 kB / 385.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.193e-06/0.5027, allocations: 0 / 385.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003155/0.503, allocations: 14.06 kB / 385.6 MB, free: 11.59 MB / 314.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.000864/0.5039, allocations: 0.7839 MB / 386.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.5043, allocations: 77.55 kB / 386.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5043, allocations: 1.719 kB / 386.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.5045, allocations: 40.77 kB / 386.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.5048, allocations: 13.81 kB / 386.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.5065, allocations: 0.6524 MB / 387.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.5067, allocations: 0.6951 MB / 387.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.5068, allocations: 21.84 kB / 387.8 MB, free: 9.793 MB / 314.7 MB Notification: Performance of SimCode: time 1.462e-06/0.5068, allocations: 1.375 kB / 387.8 MB, free: 9.793 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.421/2.928, allocations: 1.327 MB / 389.2 MB, free: 9.707 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat