Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.993/1.993, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004656, allocations: 12 kB / 282.7 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3618, allocations: 48.7 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.748/2.11, allocations: 0.636 GB / 0.9596 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/2.11, allocations: 83.89 kB / 0.9597 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6048/2.715, allocations: 111.3 MB / 1.068 GB, free: 92.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.635e-06/2.715, allocations: 8 kB / 1.068 GB, free: 92.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/2.715, allocations: 0 / 1.068 GB, free: 92.52 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.004072/2.719, allocations: 1.049 MB / 1.069 GB, free: 91.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/2.719, allocations: 8.031 kB / 1.069 GB, free: 91.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/2.719, allocations: 62.55 kB / 1.07 GB, free: 91.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007641/2.72, allocations: 79.66 kB / 1.07 GB, free: 91.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/2.721, allocations: 258.5 kB / 1.07 GB, free: 90.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/2.721, allocations: 20.56 kB / 1.07 GB, free: 90.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/2.721, allocations: 24 kB / 1.07 GB, free: 90.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/2.722, allocations: 477.5 kB / 1.07 GB, free: 90.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/2.722, allocations: 4 kB / 1.07 GB, free: 90.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/2.722, allocations: 16 kB / 1.07 GB, free: 90.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/2.722, allocations: 8 kB / 1.07 GB, free: 90.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/2.723, allocations: 0.6773 MB / 1.071 GB, free: 89.72 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/2.736, allocations: 4.149 MB / 1.075 GB, free: 85.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000829/2.737, allocations: 211.3 kB / 1.075 GB, free: 85.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1371/2.874, allocations: 42.51 MB / 1.117 GB, free: 38.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007245/2.875, allocations: 238.9 kB / 1.117 GB, free: 38.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 3.146e-06/2.875, allocations: 0 / 1.117 GB, free: 38.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.00353/2.878, allocations: 0.7183 MB / 1.118 GB, free: 37.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/2.878, allocations: 269 kB / 1.118 GB, free: 37.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/2.879, allocations: 177.8 kB / 1.118 GB, free: 37.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/2.879, allocations: 33.7 kB / 1.118 GB, free: 37.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/2.879, allocations: 285.6 kB / 1.118 GB, free: 36.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.588e-05/2.879, allocations: 74.95 kB / 1.119 GB, free: 36.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/2.879, allocations: 8 kB / 1.119 GB, free: 36.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.88e-05/2.879, allocations: 338.7 kB / 1.119 GB, free: 36.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/2.879, allocations: 65.08 kB / 1.119 GB, free: 36.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/2.879, allocations: 335.3 kB / 1.119 GB, free: 36.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/2.88, allocations: 123.7 kB / 1.119 GB, free: 35.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/2.88, allocations: 0 / 1.119 GB, free: 35.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009031/2.881, allocations: 439.4 kB / 1.12 GB, free: 35.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/2.881, allocations: 11.12 kB / 1.12 GB, free: 35.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/2.881, allocations: 20.08 kB / 1.12 GB, free: 35.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/2.883, allocations: 301.5 kB / 1.12 GB, free: 35.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/2.884, allocations: 107.8 kB / 1.12 GB, free: 35.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005882/2.885, allocations: 1.215 MB / 1.121 GB, free: 33.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/2.885, allocations: 23.91 kB / 1.121 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/2.885, allocations: 31.98 kB / 1.121 GB, free: 33.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001921/2.885, allocations: 161.7 kB / 1.122 GB, free: 33.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/2.885, allocations: 23.77 kB / 1.122 GB, free: 33.51 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/2.887, allocations: 0.7991 MB / 1.122 GB, free: 32.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/2.887, allocations: 4 kB / 1.122 GB, free: 32.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/2.887, allocations: 4 kB / 1.122 GB, free: 32.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/2.887, allocations: 3.984 kB / 1.122 GB, free: 32.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/2.887, allocations: 0.4928 MB / 1.123 GB, free: 32.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/2.887, allocations: 4 kB / 1.123 GB, free: 32.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/2.888, allocations: 28.17 kB / 1.123 GB, free: 32.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/2.889, allocations: 245.5 kB / 1.123 GB, free: 31.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/2.889, allocations: 16.05 kB / 1.123 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005627/2.89, allocations: 1.262 MB / 1.124 GB, free: 30.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.89, allocations: 7.969 kB / 1.124 GB, free: 30.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/2.891, allocations: 0.5365 MB / 1.125 GB, free: 29.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/2.891, allocations: 224.1 kB / 1.125 GB, free: 29.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/2.891, allocations: 15.88 kB / 1.125 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/2.891, allocations: 12 kB / 1.125 GB, free: 29.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/2.891, allocations: 19.97 kB / 1.125 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/2.891, allocations: 11.98 kB / 1.125 GB, free: 29.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004128/2.892, allocations: 294.9 kB / 1.125 GB, free: 29.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.7e-07/2.892, allocations: 4 kB / 1.125 GB, free: 29.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002156/2.894, allocations: 415.4 kB / 1.126 GB, free: 28.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003824/2.898, allocations: 2.233 MB / 1.128 GB, free: 26.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008257/2.899, allocations: 325.6 kB / 1.128 GB, free: 26.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.899, allocations: 4.25 kB / 1.128 GB, free: 26.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/2.899, allocations: 181.5 kB / 1.129 GB, free: 26.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/2.9, allocations: 86.3 kB / 1.129 GB, free: 25.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.051/7.951, allocations: 1.263 GB / 2.391 GB, free: 32.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/7.951, allocations: 0.8383 MB / 2.392 GB, free: 31.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/7.952, allocations: 155.4 kB / 2.392 GB, free: 31.33 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/7.952, allocations: 0 / 2.392 GB, free: 31.33 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.995/10.95, allocations: 14.29 MB / 2.406 GB, free: 17.23 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat