Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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) 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.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.653/1.653, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003623, allocations: 8 kB / 233.1 MB, free: 3.059 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07099/0.07138, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001516/0.07294, allocations: 1.027 MB / 273 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.08813, allocations: 10.1 MB / 283 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.08823, allocations: 0 / 283 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.08826, allocations: 3.984 kB / 283.1 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.09153, allocations: 0.8528 MB / 283.9 MB, free: 176 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.09336, allocations: 494.5 kB / 284.4 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.09348, allocations: 51.86 kB / 284.4 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.09353, allocations: 4 kB / 284.4 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.0936, allocations: 19.98 kB / 284.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.0937, allocations: 31.89 kB / 284.5 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.09373, allocations: 3.938 kB / 284.5 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00415/0.09789, allocations: 1.506 MB / 286 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.09796, allocations: 15.97 kB / 286 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.09801, allocations: 29.7 kB / 286 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.09978, allocations: 0.6669 MB / 286.7 MB, free: 13.35 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.148e-06/0.09981, allocations: 0 / 286.7 MB, free: 13.35 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.217e-06/0.09983, allocations: 3.938 kB / 286.7 MB, free: 13.35 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.09985, allocations: 0 / 286.7 MB, free: 13.35 MB / 250.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.0008495/0.1007, allocations: 0.534 MB / 287.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1008, allocations: 19.91 kB / 287.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.1009, allocations: 7.984 kB / 287.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1011, allocations: 182.9 kB / 287.5 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1012, allocations: 0 / 287.5 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.1012, allocations: 0 / 287.5 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.1014, allocations: 71.39 kB / 287.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.64e-06/0.1014, allocations: 0 / 287.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1015, allocations: 0 / 287.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-06/0.1015, allocations: 0 / 287.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.1017, allocations: 31.89 kB / 287.6 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.1019, allocations: 178.6 kB / 287.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1023, allocations: 85.19 kB / 287.8 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007932/0.1103, allocations: 3.266 MB / 291.1 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.1104, allocations: 42.55 kB / 291.1 MB, free: 8.316 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.98e-06/0.1104, allocations: 0 / 291.1 MB, free: 8.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004905/0.1109, allocations: 89.58 kB / 291.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1109, allocations: 77.11 kB / 291.3 MB, free: 8.129 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1111, allocations: 117.8 kB / 291.4 MB, free: 8.004 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1111, allocations: 25.7 kB / 291.4 MB, free: 7.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.1112, allocations: 158.6 kB / 291.6 MB, free: 7.816 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.1113, allocations: 15.75 kB / 291.6 MB, free: 7.801 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-06/0.1113, allocations: 0 / 291.6 MB, free: 7.801 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1115, allocations: 318.8 kB / 291.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.791e-05/0.1116, allocations: 11.98 kB / 291.9 MB, free: 7.469 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1117, allocations: 29.7 kB / 292 MB, free: 7.434 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1118, allocations: 23.92 kB / 292 MB, free: 7.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.516e-06/0.1118, allocations: 0 / 292 MB, free: 7.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002794/0.1121, allocations: 73.55 kB / 292 MB, free: 7.332 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1122, allocations: 8 kB / 292.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.944e-06/0.1122, allocations: 0 / 292.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1122, allocations: 0 / 292.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1123, allocations: 15.94 kB / 292.1 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.661e-06/0.1123, allocations: 3.984 kB / 292.1 MB, free: 7.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.1124, allocations: 7.906 kB / 292.1 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.1125, allocations: 8 kB / 292.1 MB, free: 7.289 MB / 250.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.0001082/0.1126, allocations: 109.8 kB / 292.2 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1126, allocations: 3.953 kB / 292.2 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.113, allocations: 113.4 kB / 292.3 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.017e-06/0.1131, allocations: 4 kB / 292.3 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.117e-06/0.1131, allocations: 0 / 292.3 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.961e-06/0.1131, allocations: 0 / 292.3 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.1133, allocations: 177.6 kB / 292.5 MB, free: 6.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.582e-06/0.1133, allocations: 11.94 kB / 292.5 MB, free: 6.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-05/0.1134, allocations: 11.98 kB / 292.5 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.347e-06/0.1134, allocations: 3.953 kB / 292.5 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1135, allocations: 4 kB / 292.5 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-06/0.1135, allocations: 320 / 292.5 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1135, allocations: 0.5625 kB / 292.5 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.1138, allocations: 106 kB / 292.6 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1139, allocations: 93 kB / 292.7 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.114, allocations: 3.953 kB / 292.7 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1141, allocations: 11.97 kB / 292.7 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.1141, allocations: 15.92 kB / 292.7 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1142, allocations: 0 / 292.7 MB, free: 6.527 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.1143, allocations: 103.2 kB / 292.8 MB, free: 6.426 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.1143, allocations: 0 / 292.8 MB, free: 6.426 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001022/0.1153, allocations: 315.6 kB / 293.2 MB, free: 6.117 MB / 250.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.001517/0.1168, allocations: 0.5689 MB / 293.7 MB, free: 5.539 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.1172, allocations: 43.89 kB / 293.8 MB, free: 5.496 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.86e-06/0.1172, allocations: 0 / 293.8 MB, free: 5.496 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1173, allocations: 23.98 kB / 293.8 MB, free: 5.473 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.1175, allocations: 9.703 kB / 293.8 MB, free: 5.465 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.1181, allocations: 223 kB / 294 MB, free: 5.207 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1184, allocations: 0.6843 MB / 294.7 MB, free: 4.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/0.1185, allocations: 27.41 kB / 294.7 MB, free: 4.473 MB / 250.7 MB Notification: Performance of SimCode: time 1.46e-06/0.1185, allocations: 0 / 294.7 MB, free: 4.473 MB / 250.7 MB Notification: Performance of Templates: time 0.1837/0.3023, allocations: 6.537 MB / 301.3 MB, free: 28.17 MB / 250.7 MB