Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1045, allocations: 44.5 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.417/1.522, allocations: 433.9 MB / 0.7251 GB, free: 104.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.522, allocations: 89.62 kB / 0.7251 GB, free: 104.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.75/2.272, allocations: 143.5 MB / 0.8653 GB, free: 102 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/2.272, allocations: 0 / 0.8653 GB, free: 102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.613e-05/2.272, allocations: 11.23 kB / 0.8653 GB, free: 102 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001301/2.273, allocations: 0.626 MB / 0.8659 GB, free: 101.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/2.273, allocations: 9.75 kB / 0.8659 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/2.274, allocations: 62.23 kB / 0.866 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/2.274, allocations: 44.22 kB / 0.866 GB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/2.274, allocations: 278.7 kB / 0.8663 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/2.274, allocations: 22.27 kB / 0.8663 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/2.275, allocations: 28.5 kB / 0.8663 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/2.275, allocations: 311.3 kB / 0.8666 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/2.275, allocations: 7.094 kB / 0.8666 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/2.275, allocations: 15.34 kB / 0.8667 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/2.275, allocations: 6.406 kB / 0.8667 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/2.276, allocations: 202.7 kB / 0.8669 GB, free: 101.2 MB / 410.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.002281/2.278, allocations: 1.58 MB / 0.8684 GB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/2.279, allocations: 166.7 kB / 0.8686 GB, free: 100 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/2.279, allocations: 9.891 kB / 0.8686 GB, free: 100 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/2.279, allocations: 41.92 kB / 0.8686 GB, free: 99.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.076e-06/2.279, allocations: 0 / 0.8686 GB, free: 99.99 MB / 410.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.008909/2.288, allocations: 1.617 MB / 0.8702 GB, free: 99.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/2.288, allocations: 58.98 kB / 0.8702 GB, free: 99.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/2.288, allocations: 226.8 kB / 0.8705 GB, free: 99.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/2.288, allocations: 31.36 kB / 0.8705 GB, free: 99.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/2.288, allocations: 227.8 kB / 0.8707 GB, free: 98.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/2.288, allocations: 105.2 kB / 0.8708 GB, free: 98.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/2.288, allocations: 2.938 kB / 0.8708 GB, free: 98.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.956e-05/2.288, allocations: 325.8 kB / 0.8711 GB, free: 98.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/2.289, allocations: 91.64 kB / 0.8712 GB, free: 98.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/2.289, allocations: 184.5 kB / 0.8714 GB, free: 98.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/2.289, allocations: 118.6 kB / 0.8715 GB, free: 98.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/2.289, allocations: 3.875 kB / 0.8715 GB, free: 98.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009182/2.29, allocations: 386.3 kB / 0.8719 GB, free: 98.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/2.29, allocations: 7.625 kB / 0.8719 GB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/2.29, allocations: 3.375 kB / 0.8719 GB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003114/2.291, allocations: 68.31 kB / 0.872 GB, free: 98.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/2.291, allocations: 92.42 kB / 0.872 GB, free: 98.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/2.293, allocations: 1.856 MB / 0.8739 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/2.293, allocations: 19.83 kB / 0.8739 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/2.293, allocations: 37.16 kB / 0.8739 GB, free: 96.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002617/2.294, allocations: 155.1 kB / 0.8741 GB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/2.294, allocations: 28.92 kB / 0.8741 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/2.295, allocations: 442.9 kB / 0.8745 GB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/2.295, allocations: 7.328 kB / 0.8745 GB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/2.295, allocations: 0 / 0.8745 GB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006392/2.296, allocations: 0.556 MB / 0.8751 GB, free: 95.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/2.297, allocations: 0.725 MB / 0.8758 GB, free: 95.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/2.297, allocations: 4.75 kB / 0.8758 GB, free: 95.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/2.298, allocations: 73.55 kB / 0.8758 GB, free: 95.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/2.298, allocations: 25.75 kB / 0.8759 GB, free: 95.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/2.298, allocations: 16.67 kB / 0.8759 GB, free: 95.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/2.299, allocations: 1.289 MB / 0.8771 GB, free: 94.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/2.299, allocations: 0 / 0.8771 GB, free: 94.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/2.301, allocations: 0.498 MB / 0.8776 GB, free: 94.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/2.301, allocations: 105.5 kB / 0.8777 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/2.301, allocations: 6.281 kB / 0.8777 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/2.302, allocations: 19.58 kB / 0.8777 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/2.302, allocations: 26.38 kB / 0.8778 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/2.302, allocations: 30.73 kB / 0.8778 GB, free: 94.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002569/2.302, allocations: 183.8 kB / 0.878 GB, free: 93.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.302, allocations: 0 / 0.878 GB, free: 93.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001079/2.303, allocations: 188.5 kB / 0.8782 GB, free: 93.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002639/2.306, allocations: 1.848 MB / 0.88 GB, free: 92.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009908/2.307, allocations: 368.7 kB / 0.8803 GB, free: 92.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/2.307, allocations: 0 / 0.8803 GB, free: 92.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/2.307, allocations: 226.3 kB / 0.8805 GB, free: 92.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/2.309, allocations: 153.4 kB / 0.8807 GB, free: 92.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/2.313, allocations: 3.869 MB / 0.8845 GB, free: 90.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/2.313, allocations: 0.7687 MB / 0.8852 GB, free: 89.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/2.314, allocations: 140.1 kB / 0.8853 GB, free: 89.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/2.314, allocations: 0 / 0.8853 GB, free: 89.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.433/5.747, allocations: 12.93 MB / 0.898 GB, free: 88.11 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat