Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.251e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3495, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5863/0.9359, allocations: 190.1 MB / 0.5354 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.9362, allocations: 79.08 kB / 0.5355 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1849/1.121, allocations: 44.53 MB / 0.579 GB, free: 9.793 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/1.121, allocations: 0 / 0.579 GB, free: 9.793 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/1.121, allocations: 4 kB / 0.579 GB, free: 9.789 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001602/1.123, allocations: 0.6081 MB / 0.5796 GB, free: 9.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.123, allocations: 12.03 kB / 0.5796 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/1.123, allocations: 46.09 kB / 0.5796 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/1.124, allocations: 218.3 kB / 0.5798 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/1.124, allocations: 4.344 kB / 0.5798 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/1.124, allocations: 11.95 kB / 0.5798 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004661/1.124, allocations: 212.1 kB / 0.58 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/1.125, allocations: 205.1 kB / 0.5802 GB, free: 8.477 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/1.125, allocations: 0 / 0.5802 GB, free: 8.477 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/1.125, allocations: 3.938 kB / 0.5802 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/1.125, allocations: 11.98 kB / 0.5803 GB, free: 8.461 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/1.128, allocations: 2.392 MB / 0.5826 GB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/1.128, allocations: 66.56 kB / 0.5827 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/1.128, allocations: 24.86 kB / 0.5827 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003369/1.128, allocations: 344.4 kB / 0.583 GB, free: 5.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/1.128, allocations: 113.8 kB / 0.5831 GB, free: 5.137 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.945e-06/1.128, allocations: 0 / 0.5831 GB, free: 5.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001221/1.13, allocations: 216.6 kB / 0.5833 GB, free: 4.918 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/1.13, allocations: 106.8 kB / 0.5834 GB, free: 4.789 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/1.13, allocations: 154.3 kB / 0.5836 GB, free: 4.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/1.13, allocations: 25.7 kB / 0.5836 GB, free: 4.602 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/1.13, allocations: 233.9 kB / 0.5838 GB, free: 4.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/1.13, allocations: 47.45 kB / 0.5839 GB, free: 4.324 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/1.13, allocations: 0 / 0.5839 GB, free: 4.324 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/1.13, allocations: 326.8 kB / 0.5842 GB, free: 3.996 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/1.13, allocations: 32 kB / 0.5842 GB, free: 3.965 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/1.131, allocations: 171.4 kB / 0.5844 GB, free: 3.727 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/1.132, allocations: 139.8 kB / 0.5845 GB, free: 3.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.132, allocations: 4 kB / 0.5845 GB, free: 3.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001675/1.134, allocations: 285.6 kB / 0.5848 GB, free: 3.301 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.134, allocations: 13.5 kB / 0.5848 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.134, allocations: 8 kB / 0.5848 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/1.134, allocations: 8 kB / 0.5848 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/1.135, allocations: 104 kB / 0.5849 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004887/1.135, allocations: 0.6057 MB / 0.5855 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/1.136, allocations: 8.25 kB / 0.5855 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/1.136, allocations: 23.98 kB / 0.5855 GB, free: 2.512 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001351/1.136, allocations: 112.9 kB / 0.5856 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005754/1.136, allocations: 133.5 kB / 0.5858 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/1.136, allocations: 15.81 kB / 0.5858 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007609/1.137, allocations: 208.9 kB / 0.586 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.137, allocations: 0 / 0.586 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.137, allocations: 3.938 kB / 0.586 GB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/1.137, allocations: 3.984 kB / 0.586 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008229/1.138, allocations: 391.8 kB / 0.5864 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/1.138, allocations: 0 / 0.5864 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/1.139, allocations: 52.12 kB / 0.5864 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.139, allocations: 3.953 kB / 0.5864 GB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/1.139, allocations: 7.984 kB / 0.5864 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004282/1.139, allocations: 0.5821 MB / 0.587 GB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.139, allocations: 4.031 kB / 0.587 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/1.14, allocations: 225.9 kB / 0.5872 GB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.14, allocations: 121 kB / 0.5873 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/1.14, allocations: 4 kB / 0.5873 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/1.14, allocations: 0 / 0.5873 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/1.14, allocations: 7.984 kB / 0.5873 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/1.14, allocations: 12 kB / 0.5873 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000123/1.14, allocations: 119.2 kB / 0.5875 GB, free: 400 kB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.14, allocations: 3.938 kB / 0.5875 GB, free: 396 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001052/1.141, allocations: 183.8 kB / 0.5876 GB, free: 212 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/1.143, allocations: 1.053 MB / 0.5887 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000734/1.144, allocations: 140.8 kB / 0.5888 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.144, allocations: 384 / 0.5888 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/1.144, allocations: 47.92 kB / 0.5888 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/1.145, allocations: 25.11 kB / 0.5889 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04685/1.192, allocations: 11.81 MB / 0.6004 GB, free: 3.008 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/1.192, allocations: 0.7165 MB / 0.6011 GB, free: 2.266 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/1.192, allocations: 51.41 kB / 0.6012 GB, free: 2.219 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/1.192, allocations: 0 / 0.6012 GB, free: 2.219 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/4.043, allocations: 6.081 MB / 0.6071 GB, free: 12.13 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat