Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01109/0.01109, allocations: 104.8 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.1.mo): time 0.00117/0.001169, allocations: 171.7 kB / 15.94 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.653/1.653, allocations: 170.9 MB / 187.6 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2528/0.2528, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 12 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1005, allocations: 48.71 MB / 372.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5196/0.6201, allocations: 125.5 MB / 497.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.6219, allocations: 0.8142 MB / 498.6 MB, free: 7.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.622, allocations: 4 kB / 498.6 MB, free: 7.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.6223, allocations: 33.17 kB / 498.6 MB, free: 7.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007928/0.6231, allocations: 198.5 kB / 498.8 MB, free: 7.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.6236, allocations: 104 kB / 498.9 MB, free: 7.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.6238, allocations: 109.7 kB / 499 MB, free: 7.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.6239, allocations: 12.8 kB / 499.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.6242, allocations: 83.94 kB / 499.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.6243, allocations: 40.38 kB / 499.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.6243, allocations: 2.812 kB / 499.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000938/0.6253, allocations: 287.8 kB / 499.5 MB, free: 7.219 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-05/0.6254, allocations: 28.48 kB / 499.5 MB, free: 7.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.6255, allocations: 35.86 kB / 499.5 MB, free: 7.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.626, allocations: 191.1 kB / 499.7 MB, free: 7.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.626, allocations: 0 / 499.7 MB, free: 7.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.626, allocations: 0 / 499.7 MB, free: 7.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.626, allocations: 0 / 499.7 MB, free: 7.078 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005692/0.6266, allocations: 387.5 kB / 0.4884 GB, free: 6.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6267, allocations: 10.94 kB / 0.4884 GB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.6267, allocations: 41.12 kB / 0.4884 GB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.6302, allocations: 189.5 kB / 0.4886 GB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.6306, allocations: 207 kB / 0.4888 GB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.6306, allocations: 8.219 kB / 0.4888 GB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.405e-05/0.6307, allocations: 9.906 kB / 0.4888 GB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/0.6315, allocations: 223.1 kB / 0.489 GB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6315, allocations: 0 / 0.489 GB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.489e-05/0.6316, allocations: 10.73 kB / 0.489 GB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.6316, allocations: 2.625 kB / 0.489 GB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.6323, allocations: 164.2 kB / 0.4892 GB, free: 6.039 MB / 346.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.001559/0.6339, allocations: 0.5787 MB / 0.4898 GB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.6344, allocations: 132.5 kB / 0.4899 GB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.6345, allocations: 10.73 kB / 0.4899 GB, free: 5.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.6346, allocations: 38.56 kB / 0.4899 GB, free: 5.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.935e-06/0.6346, allocations: 2.906 kB / 0.4899 GB, free: 5.34 MB / 346.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=19): time 0.009007/0.6436, allocations: 1.294 MB / 0.4912 GB, free: 4.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.6437, allocations: 57.91 kB / 0.4913 GB, free: 4.406 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.6438, allocations: 115.6 kB / 0.4914 GB, free: 4.293 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.6438, allocations: 29.7 kB / 0.4914 GB, free: 4.258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.6439, allocations: 98.47 kB / 0.4915 GB, free: 4.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.644, allocations: 67.41 kB / 0.4916 GB, free: 4.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.6441, allocations: 6.438 kB / 0.4916 GB, free: 4.098 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6442, allocations: 324.6 kB / 0.4919 GB, free: 3.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.6445, allocations: 64.56 kB / 0.4919 GB, free: 3.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.6448, allocations: 103 kB / 0.492 GB, free: 3.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.6451, allocations: 84.08 kB / 0.4921 GB, free: 3.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6451, allocations: 3 kB / 0.4921 GB, free: 3.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008348/0.646, allocations: 258.9 kB / 0.4924 GB, free: 3.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.646, allocations: 8.094 kB / 0.4924 GB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.646, allocations: 0 / 0.4924 GB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.6463, allocations: 48.83 kB / 0.4924 GB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.6469, allocations: 55.95 kB / 0.4925 GB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005649/0.6475, allocations: 0.5716 MB / 0.493 GB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.6478, allocations: 12.11 kB / 0.493 GB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.6479, allocations: 24 kB / 0.4931 GB, free: 2.715 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.6481, allocations: 130.8 kB / 0.4932 GB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.6481, allocations: 11.89 kB / 0.4932 GB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.6495, allocations: 346 kB / 0.4935 GB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.6496, allocations: 11.95 kB / 0.4935 GB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6496, allocations: 0 / 0.4935 GB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6496, allocations: 0 / 0.4935 GB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.6511, allocations: 0.6113 MB / 0.4941 GB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6511, allocations: 0 / 0.4941 GB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/0.6518, allocations: 67.98 kB / 0.4942 GB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.6519, allocations: 20.84 kB / 0.4942 GB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.652, allocations: 15.98 kB / 0.4942 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.6532, allocations: 1.269 MB / 0.4955 GB, free: 32 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.6532, allocations: 4.031 kB / 0.4955 GB, free: 28 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.6544, allocations: 467.4 kB / 0.4959 GB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.6545, allocations: 92.91 kB / 0.496 GB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.6546, allocations: 4 kB / 0.496 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.655, allocations: 11.94 kB / 0.496 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.6551, allocations: 28.03 kB / 0.4961 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/0.6552, allocations: 27.98 kB / 0.4961 GB, free: 15.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.518e-05/0.6552, allocations: 91.27 kB / 0.4962 GB, free: 15.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6552, allocations: 0 / 0.4962 GB, free: 15.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005979/0.6559, allocations: 72 kB / 0.4962 GB, free: 15.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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.001967/0.6578, allocations: 1.267 MB / 0.4975 GB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008007/0.6587, allocations: 195.8 kB / 0.4977 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6587, allocations: 4.188 kB / 0.4977 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.6592, allocations: 222.5 kB / 0.4979 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.6598, allocations: 43.95 kB / 0.4979 GB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.6626, allocations: 1.541 MB / 0.4994 GB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.663, allocations: 0.7204 MB / 0.5001 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007726/0.6638, allocations: 73.39 kB / 0.5002 GB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.6642, allocations: 67.41 kB / 0.5003 GB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6642, allocations: 4 kB / 0.5003 GB, free: 10.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.7069, allocations: 6.855 MB / 0.507 GB, free: 4.148 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003422/0.7073, allocations: 205.8 kB / 0.5072 GB, free: 3.906 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.281, allocations: 0 / 0.5072 GB, free: 3.906 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat