Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 15.98 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0781/0.07849, allocations: 44.51 MB / 308.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001482/0.08002, allocations: 1.027 MB / 309.4 MB, free: 4 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.095, allocations: 10.1 MB / 319.5 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.09511, allocations: 4 kB / 319.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.09514, allocations: 7.922 kB / 319.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.09835, allocations: 0.8373 MB / 320.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.1001, allocations: 0.4985 MB / 320.8 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.717e-05/0.1002, allocations: 39.88 kB / 320.9 MB, free: 4.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.1002, allocations: 4 kB / 320.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.014e-05/0.1003, allocations: 27.91 kB / 320.9 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.1004, allocations: 31.89 kB / 320.9 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1004, allocations: 4 kB / 320.9 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.104, allocations: 1.502 MB / 322.4 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.104, allocations: 7.984 kB / 322.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.1041, allocations: 33.64 kB / 322.5 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.1055, allocations: 0.6707 MB / 323.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.1056, allocations: 0 / 323.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.19e-06/0.1056, allocations: 0 / 323.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1056, allocations: 0 / 323.1 MB, free: 2.188 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008105/0.1064, allocations: 0.5417 MB / 323.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1065, allocations: 11.97 kB / 323.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1066, allocations: 19.86 kB / 323.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1068, allocations: 171.1 kB / 323.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1069, allocations: 3.984 kB / 323.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1069, allocations: 4 kB / 323.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1071, allocations: 75.31 kB / 324 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.951e-06/0.1071, allocations: 0 / 324 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.1072, allocations: 4 kB / 324 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1072, allocations: 0 / 324 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.1074, allocations: 27.97 kB / 324 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.1076, allocations: 178.5 kB / 324.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.108, allocations: 85.12 kB / 324.3 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007756/0.1158, allocations: 3.262 MB / 327.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1158, allocations: 34.56 kB / 327.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.72e-06/0.1158, allocations: 0 / 327.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004939/0.1163, allocations: 93.48 kB / 327.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.1164, allocations: 81.11 kB / 327.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1166, allocations: 109.8 kB / 327.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1166, allocations: 29.7 kB / 327.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.1167, allocations: 158.6 kB / 328 MB, free: 12.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.1167, allocations: 19.64 kB / 328 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-06/0.1168, allocations: 4 kB / 328 MB, free: 12.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1169, allocations: 322.7 kB / 328.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/0.117, allocations: 11.98 kB / 328.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.835e-05/0.1172, allocations: 25.7 kB / 328.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1173, allocations: 19.98 kB / 328.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.573e-06/0.1173, allocations: 0 / 328.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002717/0.1176, allocations: 77.59 kB / 328.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1176, allocations: 4 kB / 328.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.323e-06/0.1176, allocations: 0 / 328.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1176, allocations: 480 / 328.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1178, allocations: 15.98 kB / 328.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1178, allocations: 0 / 328.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.1179, allocations: 8 kB / 328.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1179, allocations: 0 / 328.5 MB, free: 12.13 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.118, allocations: 117.8 kB / 328.6 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.118, allocations: 11.89 kB / 328.6 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.1184, allocations: 113.4 kB / 328.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.241e-06/0.1185, allocations: 0 / 328.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.001e-06/0.1185, allocations: 3.938 kB / 328.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.847e-06/0.1185, allocations: 3.984 kB / 328.8 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.1187, allocations: 173.5 kB / 328.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-06/0.1187, allocations: 3.938 kB / 328.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.1188, allocations: 8 kB / 328.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1188, allocations: 4 kB / 328.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1188, allocations: 3.984 kB / 328.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.96e-06/0.1189, allocations: 448 / 328.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.432e-06/0.1189, allocations: 8 kB / 329 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1192, allocations: 109.8 kB / 329.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.1193, allocations: 93.08 kB / 329.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.1193, allocations: 4 kB / 329.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.1194, allocations: 0 / 329.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.1195, allocations: 11.98 kB / 329.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.1195, allocations: 8 kB / 329.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.649e-05/0.1196, allocations: 95.25 kB / 329.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.1196, allocations: 0 / 329.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009604/0.1206, allocations: 319.6 kB / 329.6 MB, free: 10.96 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/0.122, allocations: 0.5611 MB / 330.1 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.1223, allocations: 39.91 kB / 330.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.043e-06/0.1223, allocations: 0 / 330.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.1224, allocations: 19.98 kB / 330.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.1226, allocations: 19.88 kB / 330.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.1231, allocations: 219 kB / 330.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1235, allocations: 0.6887 MB / 331.1 MB, free: 9.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.1236, allocations: 19.42 kB / 331.1 MB, free: 9.328 MB / 282.7 MB Notification: Performance of SimCode: time 1.441e-06/0.1236, allocations: 4 kB / 331.1 MB, free: 9.324 MB / 282.7 MB Notification: Performance of Templates: time 0.0127/0.1363, allocations: 6.566 MB / 337.7 MB, free: 2.75 MB / 282.7 MB