Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01096/0.01096, allocations: 107 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001225/0.001224, allocations: 181.2 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.067/2.067, allocations: 194.5 MB / 211.2 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2918/0.2918, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.000507, allocations: 8 kB / 361.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1214, allocations: 54.88 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5909/0.7123, allocations: 143.7 MB / 0.5466 GB, free: 5.473 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.7331, allocations: 8.418 MB / 0.5548 GB, free: 15.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.7344, allocations: 24.72 kB / 0.5548 GB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.736, allocations: 338.9 kB / 0.5552 GB, free: 15.33 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.7425, allocations: 1.491 MB / 0.5566 GB, free: 13.97 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005586/0.7481, allocations: 1.265 MB / 0.5578 GB, free: 12.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002966/0.7511, allocations: 1.243 MB / 0.5591 GB, free: 11.46 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.7528, allocations: 0.6665 MB / 0.5597 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/0.7573, allocations: 1.298 MB / 0.561 GB, free: 9.504 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004923/0.7623, allocations: 1.438 MB / 0.5624 GB, free: 8.062 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000383/0.7627, allocations: 56 kB / 0.5624 GB, free: 8.008 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004781/0.7675, allocations: 1.221 MB / 0.5636 GB, free: 6.785 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.7687, allocations: 0.6003 MB / 0.5642 GB, free: 6.184 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005922/0.7693, allocations: 289.1 kB / 0.5645 GB, free: 5.895 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00455/0.7739, allocations: 1.977 MB / 0.5664 GB, free: 3.926 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.774, allocations: 0 / 0.5664 GB, free: 3.926 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.774, allocations: 0 / 0.5664 GB, free: 3.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.085e-05/0.774, allocations: 0 / 0.5664 GB, free: 3.926 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005049/0.7791, allocations: 1.417 MB / 0.5678 GB, free: 2.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.7792, allocations: 12.03 kB / 0.5678 GB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000548/0.7797, allocations: 178.9 kB / 0.568 GB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/0.7824, allocations: 322.2 kB / 0.5683 GB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.7849, allocations: 0.738 MB / 0.569 GB, free: 1.172 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.7851, allocations: 141.4 kB / 0.5692 GB, free: 1.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/0.7855, allocations: 111.8 kB / 0.5693 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005248/0.7907, allocations: 1.818 MB / 0.571 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.507e-05/0.7908, allocations: 4 kB / 0.571 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/0.7911, allocations: 51.98 kB / 0.5711 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/0.7913, allocations: 89.95 kB / 0.5712 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005191/0.7965, allocations: 1.694 MB / 0.5728 GB, free: 13.19 MB / 442.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.01592/0.8125, allocations: 6.748 MB / 0.5794 GB, free: 5.973 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.8145, allocations: 0.6576 MB / 0.5801 GB, free: 5.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.8149, allocations: 130.1 kB / 0.5802 GB, free: 5.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.8149, allocations: 47 kB / 0.5802 GB, free: 5.105 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 3.667e-06/0.815, allocations: 0 / 0.5802 GB, free: 5.105 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.01893/0.8339, allocations: 3.92 MB / 0.5841 GB, free: 1.113 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.834, allocations: 115.4 kB / 0.5842 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.8359, allocations: 0.9581 MB / 0.5851 GB, free: 8 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.8361, allocations: 41.7 kB / 0.5851 GB, free: 15.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/0.8368, allocations: 0.5604 MB / 0.5857 GB, free: 15.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.8371, allocations: 240.6 kB / 0.5859 GB, free: 15.15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.8372, allocations: 24 kB / 0.5859 GB, free: 15.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.8374, allocations: 353.9 kB / 0.5863 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.8389, allocations: 0.5491 MB / 0.5868 GB, free: 14.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.8407, allocations: 0.9324 MB / 0.5877 GB, free: 13.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.8425, allocations: 0.6746 MB / 0.5884 GB, free: 12.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.8426, allocations: 7.938 kB / 0.5884 GB, free: 12.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.005124/0.8477, allocations: 1.938 MB / 0.5903 GB, free: 10.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.8478, allocations: 12 kB / 0.5903 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.8478, allocations: 12 kB / 0.5903 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00819/0.856, allocations: 1.3 MB / 0.5916 GB, free: 9.168 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.8572, allocations: 175.7 kB / 0.5917 GB, free: 8.996 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/0.8614, allocations: 1.727 MB / 0.5934 GB, free: 7.242 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.8632, allocations: 111.8 kB / 0.5935 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.8635, allocations: 71.98 kB / 0.5936 GB, free: 7.062 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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: 0 * Non-linear torn systems: 1 {9 28} Notification: Performance of prepare postOptimizeDAE: time 0.0009838/0.8645, allocations: 409.3 kB / 0.594 GB, free: 6.652 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.8648, allocations: 102.8 kB / 0.5941 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.8686, allocations: 1.313 MB / 0.5954 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.8687, allocations: 11.95 kB / 0.5954 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.8687, allocations: 4 kB / 0.5954 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.8687, allocations: 3.984 kB / 0.5954 GB, free: 5.203 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007/0.8757, allocations: 2.715 MB / 0.598 GB, free: 2.406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.8758, allocations: 4.031 kB / 0.5981 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00339/0.8792, allocations: 307.7 kB / 0.5983 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003106/0.8795, allocations: 76.7 kB / 0.5984 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.8796, allocations: 35.97 kB / 0.5985 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003278/0.8829, allocations: 2.846 MB / 0.6012 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.883, allocations: 0 / 0.6012 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00468/0.8877, allocations: 1.824 MB / 0.603 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.8887, allocations: 315.2 kB / 0.6033 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.889, allocations: 27.94 kB / 0.6033 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.8906, allocations: 75.88 kB / 0.6034 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.8909, allocations: 56.75 kB / 0.6035 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.891, allocations: 55.95 kB / 0.6035 GB, free: 12.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001451/0.8925, allocations: 0.6745 MB / 0.6042 GB, free: 11.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8925, allocations: 4 kB / 0.6042 GB, free: 11.81 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002291/0.8948, allocations: 0.4999 MB / 0.6047 GB, free: 11.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (72): * Single equations (assignments): 70 * 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: 1 * 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: 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.00838/0.9032, allocations: 3.145 MB / 0.6077 GB, free: 8.129 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004371/0.9076, allocations: 1.435 MB / 0.6091 GB, free: 6.691 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.9077, allocations: 0.75 kB / 0.6091 GB, free: 6.691 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002792/0.9105, allocations: 0.8223 MB / 0.6099 GB, free: 5.859 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/0.9154, allocations: 0.5883 MB / 0.6105 GB, free: 5.273 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3201/1.235, allocations: 16.61 MB / 0.6267 GB, free: 142.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009785/1.237, allocations: 1.2 MB / 0.6279 GB, free: 142.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002258/1.239, allocations: 401.3 kB / 0.6283 GB, free: 142.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.24, allocations: 425.7 kB / 0.6287 GB, free: 142.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/1.24, allocations: 0 / 0.6287 GB, free: 142.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/1.353, allocations: 43.11 MB / 0.6708 GB, free: 129.1 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004605/1.353, allocations: 304.4 kB / 0.6711 GB, free: 128.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.132/5.486, allocations: 0 / 0.6711 GB, free: 128.8 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat