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.ReferenceAir_dT.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.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.000453, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3421, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.834/2.176, allocations: 0.6424 GB / 1.003 GB, free: 16.88 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/2.176, allocations: 82.14 kB / 1.003 GB, free: 16.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6363/2.813, allocations: 111.4 MB / 1.112 GB, free: 112.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.835e-06/2.813, allocations: 0 / 1.112 GB, free: 112.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/2.813, allocations: 8 kB / 1.112 GB, free: 112.8 MB / 490.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.003661/2.817, allocations: 1.053 MB / 1.113 GB, free: 111.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/2.817, allocations: 8.031 kB / 1.113 GB, free: 111.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/2.817, allocations: 62.55 kB / 1.113 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007336/2.817, allocations: 87.64 kB / 1.113 GB, free: 111.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/2.818, allocations: 246.7 kB / 1.113 GB, free: 111.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/2.818, allocations: 20.56 kB / 1.113 GB, free: 111.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/2.818, allocations: 24 kB / 1.113 GB, free: 111.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/2.819, allocations: 477.5 kB / 1.114 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/2.819, allocations: 0 / 1.114 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/2.819, allocations: 15.95 kB / 1.114 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/2.819, allocations: 8 kB / 1.114 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/2.821, allocations: 0.6773 MB / 1.115 GB, free: 110 MB / 490.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.01186/2.832, allocations: 4.153 MB / 1.119 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008063/2.833, allocations: 220 kB / 1.119 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1323/2.966, allocations: 42.51 MB / 1.16 GB, free: 59.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/2.966, allocations: 238.9 kB / 1.161 GB, free: 58.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 4.057e-06/2.966, allocations: 4 kB / 1.161 GB, free: 58.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.003608/2.97, allocations: 0.7299 MB / 1.161 GB, free: 58.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/2.97, allocations: 265 kB / 1.162 GB, free: 57.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/2.97, allocations: 178.2 kB / 1.162 GB, free: 57.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/2.97, allocations: 33.69 kB / 1.162 GB, free: 57.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/2.97, allocations: 285.8 kB / 1.162 GB, free: 57.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/2.97, allocations: 82.92 kB / 1.162 GB, free: 57.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/2.971, allocations: 8 kB / 1.162 GB, free: 57.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/2.971, allocations: 326.8 kB / 1.162 GB, free: 56.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/2.971, allocations: 65.08 kB / 1.162 GB, free: 56.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/2.971, allocations: 339.2 kB / 1.163 GB, free: 56.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/2.971, allocations: 119.8 kB / 1.163 GB, free: 56.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/2.971, allocations: 0 / 1.163 GB, free: 56.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009013/2.972, allocations: 438.5 kB / 1.163 GB, free: 55.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/2.972, allocations: 12.95 kB / 1.163 GB, free: 55.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/2.972, allocations: 8 kB / 1.163 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002867/2.975, allocations: 301.4 kB / 1.164 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/2.976, allocations: 103.7 kB / 1.164 GB, free: 55.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005691/2.976, allocations: 1.223 MB / 1.165 GB, free: 53.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/2.977, allocations: 27.91 kB / 1.165 GB, free: 53.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/2.977, allocations: 35.98 kB / 1.165 GB, free: 53.93 MB / 490.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.0001869/2.977, allocations: 154.5 kB / 1.165 GB, free: 53.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/2.977, allocations: 23.81 kB / 1.165 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/2.978, allocations: 0.796 MB / 1.166 GB, free: 52.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/2.978, allocations: 8 kB / 1.166 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/2.978, allocations: 0 / 1.166 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/2.978, allocations: 7.984 kB / 1.166 GB, free: 52.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/2.979, allocations: 0.5003 MB / 1.166 GB, free: 52.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/2.979, allocations: 0 / 1.166 GB, free: 52.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/2.979, allocations: 31.92 kB / 1.166 GB, free: 52.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/2.981, allocations: 241.8 kB / 1.167 GB, free: 52.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/2.981, allocations: 15.94 kB / 1.167 GB, free: 52.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005718/2.982, allocations: 1.266 MB / 1.168 GB, free: 50.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.982, allocations: 7.938 kB / 1.168 GB, free: 50.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/2.982, allocations: 0.5441 MB / 1.168 GB, free: 50.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/2.983, allocations: 216.1 kB / 1.169 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.322e-05/2.983, allocations: 15.98 kB / 1.169 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/2.983, allocations: 8 kB / 1.169 GB, free: 49.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/2.983, allocations: 23.94 kB / 1.169 GB, free: 49.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/2.983, allocations: 11.98 kB / 1.169 GB, free: 49.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004045/2.984, allocations: 294.9 kB / 1.169 GB, free: 49.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.984, allocations: 0 / 1.169 GB, free: 49.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001917/2.985, allocations: 411.5 kB / 1.169 GB, free: 49.14 MB / 490.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.003467/2.989, allocations: 2.248 MB / 1.172 GB, free: 46.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007928/2.99, allocations: 321 kB / 1.172 GB, free: 46.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/2.99, allocations: 4.562 kB / 1.172 GB, free: 46.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/2.99, allocations: 181.5 kB / 1.172 GB, free: 46.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/2.991, allocations: 74.41 kB / 1.172 GB, free: 46.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.846/7.837, allocations: 1.263 GB / 2.435 GB, free: 20.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/7.837, allocations: 0.8344 MB / 2.436 GB, free: 19.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/7.837, allocations: 159.4 kB / 2.436 GB, free: 19.74 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/7.837, allocations: 0 / 2.436 GB, free: 19.74 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.378/11.22, allocations: 14.28 MB / 2.45 GB, free: 126.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat