Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.000364, allocations: 8 kB / 264.1 MB, free: 3.457 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2934, allocations: 44.5 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.448/1.741, allocations: 433.9 MB / 0.7251 GB, free: 116.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/1.742, allocations: 88.8 kB / 0.7252 GB, free: 116.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4583/2.2, allocations: 143.5 MB / 0.8653 GB, free: 7.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.695e-06/2.2, allocations: 192 / 0.8653 GB, free: 7.527 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.498e-05/2.2, allocations: 8 kB / 0.8654 GB, free: 7.52 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.00131/2.201, allocations: 0.6205 MB / 0.866 GB, free: 6.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/2.201, allocations: 12.03 kB / 0.866 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/2.202, allocations: 66.53 kB / 0.866 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/2.202, allocations: 43.61 kB / 0.8661 GB, free: 6.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/2.202, allocations: 274.5 kB / 0.8663 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/2.202, allocations: 20.52 kB / 0.8664 GB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/2.203, allocations: 28 kB / 0.8664 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/2.203, allocations: 319.6 kB / 0.8667 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/2.203, allocations: 0 / 0.8667 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/2.203, allocations: 12 kB / 0.8667 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/2.203, allocations: 8 kB / 0.8667 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/2.204, allocations: 209.5 kB / 0.8669 GB, free: 5.805 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.002256/2.206, allocations: 1.574 MB / 0.8684 GB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/2.207, allocations: 167 kB / 0.8686 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/2.207, allocations: 8.172 kB / 0.8686 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/2.207, allocations: 34.75 kB / 0.8686 GB, free: 3.852 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.966e-06/2.207, allocations: 4 kB / 0.8686 GB, free: 3.848 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.008913/2.216, allocations: 1.621 MB / 0.8702 GB, free: 2.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/2.216, allocations: 59.39 kB / 0.8703 GB, free: 2.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/2.216, allocations: 232 kB / 0.8705 GB, free: 1.801 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/2.216, allocations: 33.7 kB / 0.8705 GB, free: 1.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/2.216, allocations: 172.2 kB / 0.8707 GB, free: 1.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/2.216, allocations: 98.58 kB / 0.8708 GB, free: 1.488 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/2.216, allocations: 12 kB / 0.8708 GB, free: 1.477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/2.216, allocations: 330.8 kB / 0.8711 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/2.217, allocations: 87.97 kB / 0.8712 GB, free: 1.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/2.217, allocations: 183.9 kB / 0.8714 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/2.217, allocations: 115.9 kB / 0.8715 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/2.217, allocations: 4 kB / 0.8715 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009206/2.218, allocations: 402.8 kB / 0.8719 GB, free: 320 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/2.218, allocations: 4 kB / 0.8719 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/2.218, allocations: 7.984 kB / 0.8719 GB, free: 308 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/2.219, allocations: 77.67 kB / 0.872 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/2.219, allocations: 79.89 kB / 0.872 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2917/2.511, allocations: 1.851 MB / 0.8739 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000601/2.512, allocations: 18.47 kB / 0.8739 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/2.512, allocations: 38.97 kB / 0.8739 GB, free: 90.09 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.0003312/2.512, allocations: 154.6 kB / 0.8741 GB, free: 89.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/2.512, allocations: 31.62 kB / 0.8741 GB, free: 89.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/2.514, allocations: 445.2 kB / 0.8745 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/2.514, allocations: 2.906 kB / 0.8745 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/2.514, allocations: 2.281 kB / 0.8745 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00082/2.515, allocations: 0.5599 MB / 0.8751 GB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/2.517, allocations: 0.7168 MB / 0.8758 GB, free: 89.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/2.517, allocations: 1.031 kB / 0.8758 GB, free: 89.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/2.518, allocations: 71.12 kB / 0.8758 GB, free: 89.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/2.518, allocations: 21.53 kB / 0.8759 GB, free: 89.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/2.518, allocations: 19.48 kB / 0.8759 GB, free: 89.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009188/2.519, allocations: 1.286 MB / 0.8771 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/2.519, allocations: 2.812 kB / 0.8771 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/2.52, allocations: 0.4916 MB / 0.8776 GB, free: 87.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/2.52, allocations: 106.5 kB / 0.8777 GB, free: 87.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/2.52, allocations: 9.188 kB / 0.8777 GB, free: 87.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/2.521, allocations: 20.72 kB / 0.8777 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/2.521, allocations: 29.36 kB / 0.8778 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/2.521, allocations: 27.84 kB / 0.8778 GB, free: 87.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002737/2.521, allocations: 191.6 kB / 0.878 GB, free: 87.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.521, allocations: 2.438 kB / 0.878 GB, free: 87.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001026/2.522, allocations: 186.7 kB / 0.8782 GB, free: 87.5 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.002809/2.525, allocations: 1.833 MB / 0.8799 GB, free: 86.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/2.526, allocations: 375 kB / 0.8803 GB, free: 86.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/2.526, allocations: 0 / 0.8803 GB, free: 86.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/2.526, allocations: 229.7 kB / 0.8805 GB, free: 86.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/2.528, allocations: 162.3 kB / 0.8807 GB, free: 86.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/2.533, allocations: 3.838 MB / 0.8844 GB, free: 83.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/2.533, allocations: 0.7719 MB / 0.8852 GB, free: 82.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009776/2.534, allocations: 108.6 kB / 0.8853 GB, free: 82.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/2.535, allocations: 127.2 kB / 0.8854 GB, free: 82.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/2.535, allocations: 0 / 0.8854 GB, free: 82.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06432/2.599, allocations: 22.92 MB / 0.9078 GB, free: 82.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003291/2.599, allocations: 233.3 kB / 0.908 GB, free: 82.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.666/6.266, allocations: 0 / 0.908 GB, free: 82.17 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat