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.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.854/1.854, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004437, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3383, allocations: 48.7 MB / 331.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5765/0.9149, allocations: 184.4 MB / 0.5037 GB, free: 78.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.9152, allocations: 77.98 kB / 0.5038 GB, free: 78.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2056/1.121, allocations: 43.32 MB / 0.5461 GB, free: 43.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/1.121, allocations: 3.938 kB / 0.5461 GB, free: 43.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/1.121, allocations: 4 kB / 0.5461 GB, free: 43.06 MB / 394.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.001461/1.122, allocations: 0.6261 MB / 0.5467 GB, free: 42.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.122, allocations: 8.031 kB / 0.5467 GB, free: 42.4 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.524e-05/1.122, allocations: 49.86 kB / 0.5467 GB, free: 42.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/1.123, allocations: 40.12 kB / 0.5468 GB, free: 42.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/1.123, allocations: 212.3 kB / 0.547 GB, free: 42.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/1.123, allocations: 11.44 kB / 0.547 GB, free: 42.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/1.123, allocations: 23.11 kB / 0.547 GB, free: 42.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/1.124, allocations: 242.3 kB / 0.5472 GB, free: 41.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/1.124, allocations: 0 / 0.5472 GB, free: 41.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/1.124, allocations: 3.188 kB / 0.5472 GB, free: 41.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/1.124, allocations: 8 kB / 0.5473 GB, free: 41.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/1.124, allocations: 235.6 kB / 0.5475 GB, free: 41.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/1.126, allocations: 1.344 MB / 0.5488 GB, free: 40.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/1.126, allocations: 84.23 kB / 0.5489 GB, free: 40.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/1.128, allocations: 1.84 MB / 0.5507 GB, free: 38.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/1.128, allocations: 168.8 kB / 0.5508 GB, free: 37.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.376e-06/1.128, allocations: 0 / 0.5508 GB, free: 37.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.00121/1.129, allocations: 351 kB / 0.5512 GB, free: 37.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/1.129, allocations: 270 kB / 0.5514 GB, free: 37.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/1.129, allocations: 147.5 kB / 0.5516 GB, free: 37.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/1.129, allocations: 29.58 kB / 0.5516 GB, free: 37.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/1.129, allocations: 220.8 kB / 0.5518 GB, free: 36.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/1.13, allocations: 58.12 kB / 0.5519 GB, free: 36.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/1.13, allocations: 7.875 kB / 0.5519 GB, free: 36.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/1.13, allocations: 321.7 kB / 0.5522 GB, free: 36.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/1.13, allocations: 46.33 kB / 0.5522 GB, free: 36.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/1.13, allocations: 181 kB / 0.5524 GB, free: 36.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/1.13, allocations: 73.11 kB / 0.5525 GB, free: 36.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.13, allocations: 3.953 kB / 0.5525 GB, free: 36.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005662/1.131, allocations: 259.6 kB / 0.5527 GB, free: 35.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.131, allocations: 8 kB / 0.5527 GB, free: 35.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.131, allocations: 4 kB / 0.5527 GB, free: 35.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/1.131, allocations: 12.64 kB / 0.5527 GB, free: 35.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/1.132, allocations: 99.75 kB / 0.5528 GB, free: 35.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002833/1.132, allocations: 0.5932 MB / 0.5534 GB, free: 35.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/1.132, allocations: 11.25 kB / 0.5534 GB, free: 35.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/1.132, allocations: 23.39 kB / 0.5534 GB, free: 35.16 MB / 394.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 () * Number of clocked 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.000149/1.132, allocations: 140.1 kB / 0.5536 GB, free: 35.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/1.132, allocations: 19.12 kB / 0.5536 GB, free: 35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006819/1.133, allocations: 253.4 kB / 0.5538 GB, free: 34.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.133, allocations: 8.016 kB / 0.5538 GB, free: 34.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.133, allocations: 4 kB / 0.5538 GB, free: 34.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.133, allocations: 0 / 0.5538 GB, free: 34.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/1.133, allocations: 218.2 kB / 0.5541 GB, free: 34.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.133, allocations: 4 kB / 0.5541 GB, free: 34.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/1.134, allocations: 55.39 kB / 0.5541 GB, free: 34.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.134, allocations: 3.984 kB / 0.5541 GB, free: 34.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/1.134, allocations: 0 / 0.5541 GB, free: 34.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002227/1.134, allocations: 0.5857 MB / 0.5547 GB, free: 33.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.134, allocations: 7.984 kB / 0.5547 GB, free: 33.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/1.135, allocations: 141.9 kB / 0.5548 GB, free: 33.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/1.135, allocations: 130.9 kB / 0.555 GB, free: 33.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/1.135, allocations: 3.562 kB / 0.555 GB, free: 33.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/1.135, allocations: 16.03 kB / 0.555 GB, free: 33.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/1.135, allocations: 4 kB / 0.555 GB, free: 33.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/1.135, allocations: 11.67 kB / 0.555 GB, free: 33.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001224/1.135, allocations: 126.1 kB / 0.5551 GB, free: 33.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.135, allocations: 0 / 0.5551 GB, free: 33.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009268/1.136, allocations: 190.5 kB / 0.5553 GB, free: 33.24 MB / 394.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 () * Number of clocked 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.001328/1.137, allocations: 0.9761 MB / 0.5562 GB, free: 32.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000726/1.138, allocations: 154 kB / 0.5564 GB, free: 32.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.138, allocations: 3.938 kB / 0.5564 GB, free: 32.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/1.139, allocations: 51.75 kB / 0.5564 GB, free: 32.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/1.139, allocations: 28.14 kB / 0.5565 GB, free: 32.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0395/1.178, allocations: 15.29 MB / 0.5714 GB, free: 18.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/1.179, allocations: 0.7206 MB / 0.5721 GB, free: 17.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/1.179, allocations: 66.83 kB / 0.5722 GB, free: 17.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/1.179, allocations: 0 / 0.5722 GB, free: 17.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.958/4.137, allocations: 6.078 MB / 0.5781 GB, free: 11.54 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat