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/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.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.322/2.322, allocations: 235.1 MB / 243 MB, free: 9.605 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.013e-05/2.011e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3438, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5992/0.9431, allocations: 190.1 MB / 0.5354 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.9434, allocations: 79.27 kB / 0.5355 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1829/1.126, allocations: 43.48 MB / 0.5779 GB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.492e-06/1.126, allocations: 0 / 0.5779 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/1.126, allocations: 4 kB / 0.5779 GB, free: 10.73 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.001597/1.128, allocations: 0.615 MB / 0.5785 GB, free: 10.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.128, allocations: 12.03 kB / 0.5786 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/1.129, allocations: 42.16 kB / 0.5786 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/1.129, allocations: 211.2 kB / 0.5788 GB, free: 9.805 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.129, allocations: 8 kB / 0.5788 GB, free: 9.797 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/1.129, allocations: 8 kB / 0.5788 GB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004738/1.129, allocations: 209.6 kB / 0.579 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/1.13, allocations: 211.1 kB / 0.5792 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.13, allocations: 3.984 kB / 0.5792 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/1.13, allocations: 0 / 0.5792 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/1.13, allocations: 4 kB / 0.5792 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/1.133, allocations: 2.407 MB / 0.5816 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/1.133, allocations: 57.56 kB / 0.5816 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/1.133, allocations: 28.05 kB / 0.5817 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/1.133, allocations: 342.6 kB / 0.582 GB, free: 6.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/1.134, allocations: 108.4 kB / 0.5821 GB, free: 6.156 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.996e-06/1.134, allocations: 3.938 kB / 0.5821 GB, free: 6.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001231/1.135, allocations: 219.2 kB / 0.5823 GB, free: 5.945 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/1.135, allocations: 109 kB / 0.5824 GB, free: 5.816 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/1.135, allocations: 157.6 kB / 0.5826 GB, free: 5.672 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/1.135, allocations: 25.7 kB / 0.5826 GB, free: 5.641 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/1.135, allocations: 233.4 kB / 0.5828 GB, free: 5.422 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/1.135, allocations: 44.3 kB / 0.5828 GB, free: 5.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/1.135, allocations: 0 / 0.5828 GB, free: 5.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/1.136, allocations: 319.4 kB / 0.5831 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.625e-05/1.136, allocations: 34.38 kB / 0.5832 GB, free: 5.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/1.136, allocations: 174.9 kB / 0.5833 GB, free: 4.809 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/1.137, allocations: 135.8 kB / 0.5835 GB, free: 4.676 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/1.137, allocations: 3.953 kB / 0.5835 GB, free: 4.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001547/1.139, allocations: 297.1 kB / 0.5838 GB, free: 4.375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.139, allocations: 5.406 kB / 0.5838 GB, free: 4.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.139, allocations: 8 kB / 0.5838 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/1.139, allocations: 8 kB / 0.5838 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008998/1.14, allocations: 100.5 kB / 0.5839 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005212/1.14, allocations: 0.6015 MB / 0.5845 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/1.141, allocations: 4 kB / 0.5845 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/1.141, allocations: 27.94 kB / 0.5845 GB, free: 3.602 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.000154/1.141, allocations: 122.9 kB / 0.5846 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005732/1.141, allocations: 129.4 kB / 0.5847 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/1.142, allocations: 19.97 kB / 0.5848 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007809/1.142, allocations: 193.6 kB / 0.5849 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.142, allocations: 11.98 kB / 0.585 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.142, allocations: 7.891 kB / 0.585 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.142, allocations: 3.938 kB / 0.585 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008601/1.143, allocations: 387.8 kB / 0.5853 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.143, allocations: 0 / 0.5853 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/1.144, allocations: 56 kB / 0.5854 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/1.144, allocations: 4 kB / 0.5854 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.144, allocations: 3.938 kB / 0.5854 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000463/1.144, allocations: 0.5938 MB / 0.586 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.144, allocations: 0 / 0.586 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/1.145, allocations: 218 kB / 0.5862 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/1.145, allocations: 120.9 kB / 0.5863 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/1.145, allocations: 4.094 kB / 0.5863 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/1.145, allocations: 7.938 kB / 0.5863 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/1.146, allocations: 11.98 kB / 0.5863 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/1.146, allocations: 4 kB / 0.5863 GB, free: 1.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001359/1.146, allocations: 123.2 kB / 0.5864 GB, free: 1.469 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.146, allocations: 3.938 kB / 0.5864 GB, free: 1.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001048/1.147, allocations: 179.7 kB / 0.5866 GB, free: 1.289 MB / 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.001938/1.149, allocations: 1.046 MB / 0.5876 GB, free: 220 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007416/1.15, allocations: 143.7 kB / 0.5878 GB, free: 76 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.15, allocations: 4 kB / 0.5878 GB, free: 72 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/1.15, allocations: 40.02 kB / 0.5878 GB, free: 32 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/1.15, allocations: 33.47 kB / 0.5878 GB, free: 0 / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04612/1.196, allocations: 11.29 MB / 0.5989 GB, free: 4.609 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/1.197, allocations: 0.7243 MB / 0.5996 GB, free: 3.859 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/1.197, allocations: 55.41 kB / 0.5996 GB, free: 3.809 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/1.197, allocations: 0 / 0.5996 GB, free: 3.809 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.005/4.202, allocations: 6.059 MB / 0.6055 GB, free: 13.75 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