Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.118/2.118, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004456, allocations: 16 kB / 282.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1906/0.4721, allocations: 125.5 MB / 456.7 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.4737, allocations: 0.8225 MB / 457.5 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.4738, allocations: 0 / 457.5 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.474, allocations: 27.88 kB / 457.5 MB, free: 15.87 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006369/0.4747, allocations: 215.3 kB / 457.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.4751, allocations: 92.5 kB / 457.8 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.4753, allocations: 107.8 kB / 457.9 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.4754, allocations: 4 kB / 458 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.4757, allocations: 83.75 kB / 458 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.4758, allocations: 51.84 kB / 458.1 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.4758, allocations: 4 kB / 458.1 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008075/0.4766, allocations: 279.7 kB / 458.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.4767, allocations: 23.89 kB / 458.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.4768, allocations: 45.64 kB / 458.4 MB, free: 14.97 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.4772, allocations: 192.3 kB / 458.6 MB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.204e-06/0.4772, allocations: 0 / 458.6 MB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.249e-06/0.4773, allocations: 7.938 kB / 458.6 MB, free: 14.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4773, allocations: 0 / 458.6 MB, free: 14.78 MB / 394.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.0005806/0.4779, allocations: 383.2 kB / 459 MB, free: 14.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4779, allocations: 8.031 kB / 459 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.4803, allocations: 196.1 kB / 459.2 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.4806, allocations: 207.8 kB / 459.4 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.4807, allocations: 4 kB / 459.4 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.4807, allocations: 8 kB / 459.4 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.4814, allocations: 224 kB / 459.6 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.4814, allocations: 3.953 kB / 459.6 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.4815, allocations: 8 kB / 459.6 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-06/0.4815, allocations: 0 / 459.6 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.4821, allocations: 167.8 kB / 459.8 MB, free: 13.49 MB / 394.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.001325/0.4835, allocations: 0.5756 MB / 460.4 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.484, allocations: 142.5 kB / 460.5 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.484, allocations: 0 / 460.5 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.484, allocations: 38.55 kB / 460.6 MB, free: 12.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.101e-06/0.4841, allocations: 4 kB / 460.6 MB, free: 12.66 MB / 394.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.006261/0.4903, allocations: 1.288 MB / 461.9 MB, free: 11.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.4904, allocations: 67.33 kB / 461.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.4906, allocations: 109.8 kB / 462 MB, free: 11.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.4906, allocations: 25.7 kB / 462 MB, free: 11.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4907, allocations: 170.3 kB / 462.2 MB, free: 10.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/0.4908, allocations: 70.98 kB / 462.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.4909, allocations: 4 kB / 462.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.491, allocations: 322.8 kB / 462.6 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.4913, allocations: 71.95 kB / 462.7 MB, free: 10.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.4915, allocations: 99.58 kB / 462.8 MB, free: 10.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.4918, allocations: 80.86 kB / 462.9 MB, free: 10.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-06/0.4918, allocations: 4 kB / 462.9 MB, free: 10.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007255/0.4926, allocations: 253.8 kB / 463.1 MB, free: 9.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4926, allocations: 8.625 kB / 463.1 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.474e-06/0.4926, allocations: 3.984 kB / 463.1 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/0.4929, allocations: 48.83 kB / 463.2 MB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.4933, allocations: 55.84 kB / 463.2 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005872/0.4939, allocations: 0.572 MB / 463.8 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.4941, allocations: 4 kB / 463.8 MB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/0.4942, allocations: 27.98 kB / 463.8 MB, free: 9.223 MB / 394.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.00017/0.4944, allocations: 125.7 kB / 463.9 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.4944, allocations: 11.91 kB / 464 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.4956, allocations: 351.4 kB / 464.3 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.393e-06/0.4957, allocations: 0 / 464.3 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.371e-06/0.4957, allocations: 4 kB / 464.3 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.4957, allocations: 3.984 kB / 464.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.4971, allocations: 0.6028 MB / 464.9 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.865e-06/0.4971, allocations: 8.094 kB / 464.9 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.4975, allocations: 59.95 kB / 465 MB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.4977, allocations: 16.84 kB / 465 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.4977, allocations: 15.98 kB / 465 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.499, allocations: 1.28 MB / 466.3 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.562e-06/0.4991, allocations: 3.938 kB / 466.3 MB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009791/0.5, allocations: 434.8 kB / 466.7 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.5001, allocations: 85.05 kB / 466.8 MB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.5002, allocations: 8 kB / 466.8 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.5005, allocations: 11.98 kB / 466.8 MB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.5006, allocations: 31.86 kB / 466.8 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.5006, allocations: 24 kB / 466.9 MB, free: 5.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.651e-05/0.5007, allocations: 95.31 kB / 467 MB, free: 5.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.74e-07/0.5007, allocations: 0 / 467 MB, free: 5.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000558/0.5013, allocations: 80 kB / 467 MB, free: 5.738 MB / 394.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.0004387/0.5018, allocations: 151.6 kB / 467.2 MB, free: 5.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006717/0.5025, allocations: 203.1 kB / 467.4 MB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.5025, allocations: 4 kB / 467.4 MB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.503, allocations: 222.9 kB / 467.6 MB, free: 5.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.5034, allocations: 47.84 kB / 467.7 MB, free: 5.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.5046, allocations: 0.5979 MB / 468.3 MB, free: 4.465 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.505, allocations: 0.7049 MB / 469 MB, free: 3.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.5054, allocations: 67.33 kB / 469 MB, free: 3.668 MB / 394.7 MB Notification: Performance of SimCode: time 1.712e-06/0.5054, allocations: 0 / 469 MB, free: 3.668 MB / 394.7 MB Notification: Performance of Templates: time 0.2209/0.7263, allocations: 3.931 MB / 473 MB, free: 130.3 MB / 394.7 MB