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.Glycol47.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 235 MB / 248.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.991e-05, allocations: 0 / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3873, allocations: 54.86 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6151/1.002, allocations: 190.8 MB / 0.5424 GB, free: 112.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.003, allocations: 82.19 kB / 0.5425 GB, free: 112.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1681/1.171, allocations: 43.73 MB / 0.5852 GB, free: 100.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.171, allocations: 4 kB / 0.5852 GB, free: 100.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/1.171, allocations: 4 kB / 0.5852 GB, free: 100.1 MB / 458.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.001439/1.172, allocations: 0.6174 MB / 0.5858 GB, free: 99.42 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.173, allocations: 12.03 kB / 0.5858 GB, free: 99.41 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.011e-05/1.173, allocations: 46.23 kB / 0.5859 GB, free: 99.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004466/1.173, allocations: 39.66 kB / 0.5859 GB, free: 99.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/1.173, allocations: 210.3 kB / 0.5861 GB, free: 99.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.868e-05/1.173, allocations: 15.69 kB / 0.5861 GB, free: 99.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/1.173, allocations: 20.16 kB / 0.5861 GB, free: 99.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/1.174, allocations: 238.6 kB / 0.5864 GB, free: 98.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.174, allocations: 0 / 0.5864 GB, free: 98.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/1.174, allocations: 3.438 kB / 0.5864 GB, free: 98.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/1.174, allocations: 12 kB / 0.5864 GB, free: 98.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/1.174, allocations: 234.4 kB / 0.5866 GB, free: 98.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/1.176, allocations: 1.341 MB / 0.5879 GB, free: 97.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/1.176, allocations: 90.08 kB / 0.588 GB, free: 97.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.18e-05/1.176, allocations: 47.84 kB / 0.588 GB, free: 97.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/1.178, allocations: 1.87 MB / 0.5899 GB, free: 94.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/1.178, allocations: 159 kB / 0.59 GB, free: 94.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=17): time 2.324e-06/1.178, allocations: 4 kB / 0.59 GB, free: 94.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.001107/1.179, allocations: 325.9 kB / 0.5903 GB, free: 94.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/1.179, allocations: 265 kB / 0.5906 GB, free: 94.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/1.179, allocations: 148.1 kB / 0.5907 GB, free: 94.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/1.179, allocations: 25.7 kB / 0.5907 GB, free: 94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/1.18, allocations: 221.9 kB / 0.591 GB, free: 93.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/1.18, allocations: 59.16 kB / 0.591 GB, free: 93.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/1.18, allocations: 15.5 kB / 0.591 GB, free: 93.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/1.18, allocations: 318.7 kB / 0.5913 GB, free: 93.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/1.18, allocations: 35.88 kB / 0.5914 GB, free: 93.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/1.18, allocations: 182.5 kB / 0.5915 GB, free: 93.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/1.18, allocations: 67.16 kB / 0.5916 GB, free: 93.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.18, allocations: 0 / 0.5916 GB, free: 93.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005585/1.181, allocations: 267.5 kB / 0.5919 GB, free: 92.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.181, allocations: 4 kB / 0.5919 GB, free: 92.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.181, allocations: 11.98 kB / 0.5919 GB, free: 92.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.181, allocations: 11.95 kB / 0.5919 GB, free: 92.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/1.182, allocations: 95.69 kB / 0.592 GB, free: 92.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002816/1.182, allocations: 0.5985 MB / 0.5926 GB, free: 92.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/1.182, allocations: 11.88 kB / 0.5926 GB, free: 92.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/1.182, allocations: 19.56 kB / 0.5926 GB, free: 92.11 MB / 458.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.0001123/1.182, allocations: 124.7 kB / 0.5927 GB, free: 91.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/1.183, allocations: 27.7 kB / 0.5927 GB, free: 91.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006926/1.183, allocations: 246.4 kB / 0.593 GB, free: 91.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.183, allocations: 0 / 0.593 GB, free: 91.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.183, allocations: 7.938 kB / 0.593 GB, free: 91.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.183, allocations: 0 / 0.593 GB, free: 91.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/1.184, allocations: 220.9 kB / 0.5932 GB, free: 91.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/1.184, allocations: 0 / 0.5932 GB, free: 91.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/1.184, allocations: 44.09 kB / 0.5932 GB, free: 91.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/1.184, allocations: 11.94 kB / 0.5932 GB, free: 91.42 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/1.184, allocations: 3.688 kB / 0.5932 GB, free: 91.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002304/1.184, allocations: 0.5782 MB / 0.5938 GB, free: 90.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.184, allocations: 7.938 kB / 0.5938 GB, free: 90.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/1.185, allocations: 147 kB / 0.594 GB, free: 90.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/1.185, allocations: 131.5 kB / 0.5941 GB, free: 90.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/1.185, allocations: 0 / 0.5941 GB, free: 90.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/1.185, allocations: 11.92 kB / 0.5941 GB, free: 90.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/1.185, allocations: 4 kB / 0.5941 GB, free: 90.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/1.185, allocations: 7.984 kB / 0.5941 GB, free: 90.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000119/1.185, allocations: 132.2 kB / 0.5942 GB, free: 90.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.185, allocations: 0 / 0.5942 GB, free: 90.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008978/1.186, allocations: 190.8 kB / 0.5944 GB, free: 90.21 MB / 458.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.001303/1.188, allocations: 0.9874 MB / 0.5954 GB, free: 89.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007051/1.188, allocations: 158.7 kB / 0.5955 GB, free: 89.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.188, allocations: 7.375 kB / 0.5955 GB, free: 89.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/1.189, allocations: 39.48 kB / 0.5956 GB, free: 89.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/1.189, allocations: 27.16 kB / 0.5956 GB, free: 89.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0394/1.228, allocations: 11.57 MB / 0.6069 GB, free: 79.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/1.229, allocations: 0.7243 MB / 0.6076 GB, free: 78.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/1.229, allocations: 57.66 kB / 0.6077 GB, free: 78.34 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/1.229, allocations: 0 / 0.6077 GB, free: 78.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.066/4.294, allocations: 6.073 MB / 0.6136 GB, free: 72.29 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat