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.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.111/2.111, allocations: 209.2 MB / 224.8 MB, free: 1.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006617/0.0006616, allocations: 11.98 kB / 282.7 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1551, allocations: 48.7 MB / 331.4 MB, free: 8.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.97/2.126, allocations: 0.5861 GB / 0.9097 GB, free: 48.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/2.126, allocations: 78.95 kB / 0.9098 GB, free: 48.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5216/2.648, allocations: 61.06 MB / 0.9695 GB, free: 117 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/2.648, allocations: 0 / 0.9695 GB, free: 117 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/2.648, allocations: 3.25 kB / 0.9695 GB, free: 117 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002255/2.65, allocations: 0.7254 MB / 0.9702 GB, free: 116.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/2.65, allocations: 9.25 kB / 0.9702 GB, free: 116.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/2.65, allocations: 60.7 kB / 0.9702 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/2.662, allocations: 0.5907 MB / 0.9708 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/2.663, allocations: 252.1 kB / 0.971 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/2.663, allocations: 125.3 kB / 0.9712 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/2.663, allocations: 24.28 kB / 0.9712 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/2.665, allocations: 0.5657 MB / 0.9717 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/2.665, allocations: 1.312 kB / 0.9717 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/2.665, allocations: 11.56 kB / 0.9718 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/2.666, allocations: 14.42 kB / 0.9718 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/2.668, allocations: 0.6056 MB / 0.9724 GB, free: 116.1 MB / 426.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.002854/2.671, allocations: 1.617 MB / 0.9739 GB, free: 114.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/2.671, allocations: 156.8 kB / 0.9741 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009725/2.672, allocations: 0.6773 MB / 0.9748 GB, free: 114.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/2.672, allocations: 35.91 kB / 0.9748 GB, free: 114.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.557e-06/2.672, allocations: 3.516 kB / 0.9748 GB, free: 114.2 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001582/2.674, allocations: 326.7 kB / 0.9751 GB, free: 114.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/2.674, allocations: 53.5 kB / 0.9752 GB, free: 114.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/2.674, allocations: 166.7 kB / 0.9753 GB, free: 114 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/2.674, allocations: 31.64 kB / 0.9753 GB, free: 114 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/2.674, allocations: 254.4 kB / 0.9756 GB, free: 113.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/2.674, allocations: 70.98 kB / 0.9757 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/2.674, allocations: 8.094 kB / 0.9757 GB, free: 113.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/2.675, allocations: 330.1 kB / 0.976 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/2.675, allocations: 62.52 kB / 0.976 GB, free: 113.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/2.675, allocations: 259.8 kB / 0.9763 GB, free: 113.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/2.675, allocations: 104.3 kB / 0.9764 GB, free: 113.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/2.675, allocations: 5.031 kB / 0.9764 GB, free: 113.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009704/2.676, allocations: 359.9 kB / 0.9767 GB, free: 113.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/2.676, allocations: 7.625 kB / 0.9767 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/2.676, allocations: 6.594 kB / 0.9767 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/2.677, allocations: 13.09 kB / 0.9768 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/2.677, allocations: 125.2 kB / 0.9769 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003577/2.678, allocations: 0.6112 MB / 0.9775 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/2.678, allocations: 42.94 kB / 0.9775 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/2.678, allocations: 42.44 kB / 0.9776 GB, free: 112.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0002125/2.678, allocations: 149.2 kB / 0.9777 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/2.679, allocations: 21.47 kB / 0.9777 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/2.68, allocations: 288.7 kB / 0.978 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/2.68, allocations: 1.375 kB / 0.978 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/2.68, allocations: 7.891 kB / 0.978 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/2.68, allocations: 1.469 kB / 0.978 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/2.681, allocations: 0.5287 MB / 0.9785 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/2.681, allocations: 3.75 kB / 0.9785 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/2.681, allocations: 65.39 kB / 0.9786 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/2.681, allocations: 9.031 kB / 0.9786 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/2.681, allocations: 6.031 kB / 0.9786 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003146/2.682, allocations: 0.5905 MB / 0.9792 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.682, allocations: 2.281 kB / 0.9792 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/2.682, allocations: 327.4 kB / 0.9795 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/2.682, allocations: 121.1 kB / 0.9796 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/2.683, allocations: 9.375 kB / 0.9796 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/2.683, allocations: 13.06 kB / 0.9796 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/2.683, allocations: 19.38 kB / 0.9796 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/2.683, allocations: 20.06 kB / 0.9797 GB, free: 111.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001732/2.683, allocations: 140.2 kB / 0.9798 GB, free: 111 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/2.683, allocations: 0 / 0.9798 GB, free: 111 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001517/2.685, allocations: 249 kB / 0.98 GB, free: 111 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.002791/2.688, allocations: 1.763 MB / 0.9818 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009409/2.689, allocations: 217.4 kB / 0.982 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/2.689, allocations: 0.7812 kB / 0.982 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/2.689, allocations: 81.84 kB / 0.982 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/2.69, allocations: 57.58 kB / 0.9821 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1209/2.811, allocations: 38.05 MB / 1.019 GB, free: 100.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/2.811, allocations: 0.726 MB / 1.02 GB, free: 99.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/2.811, allocations: 101.8 kB / 1.02 GB, free: 99.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/2.811, allocations: 0 / 1.02 GB, free: 99.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.799/5.61, allocations: 9.17 MB / 1.029 GB, free: 95.66 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat