Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadModel(ModelicaTest): time 1.8/1.8, allocations: 209.3 MB / 222.4 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.084e-05, allocations: 7.984 kB / 277.9 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.08415, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.964/6.048, allocations: 2.477 GB / 2.796 GB, free: 82.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/6.048, allocations: 88.5 kB / 2.796 GB, free: 82.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.318/7.366, allocations: 304.1 MB / 3.093 GB, free: 49.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.047e-06/7.367, allocations: 0 / 3.093 GB, free: 49.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.651e-05/7.367, allocations: 8.734 kB / 3.093 GB, free: 49.26 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.004047/7.371, allocations: 1.293 MB / 3.094 GB, free: 48.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/7.371, allocations: 10.5 kB / 3.094 GB, free: 48.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/7.373, allocations: 182.2 kB / 3.094 GB, free: 48.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/7.373, allocations: 360.6 kB / 3.095 GB, free: 48.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/7.373, allocations: 25.16 kB / 3.095 GB, free: 48.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/7.373, allocations: 24.41 kB / 3.095 GB, free: 48.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/7.375, allocations: 481.4 kB / 3.095 GB, free: 48.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/7.375, allocations: 3.531 kB / 3.095 GB, free: 48.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/7.375, allocations: 12.16 kB / 3.095 GB, free: 48.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/7.375, allocations: 10.58 kB / 3.095 GB, free: 48.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/7.376, allocations: 380.6 kB / 3.096 GB, free: 48.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/7.378, allocations: 2.285 MB / 3.098 GB, free: 46.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/7.379, allocations: 272.4 kB / 3.098 GB, free: 46.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/7.379, allocations: 65.91 kB / 3.098 GB, free: 46.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04141/7.421, allocations: 15.76 MB / 3.114 GB, free: 38.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/7.421, allocations: 35.88 kB / 3.114 GB, free: 38.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 4.063e-06/7.421, allocations: 0 / 3.114 GB, free: 38.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001686/7.423, allocations: 416.9 kB / 3.114 GB, free: 38.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/7.423, allocations: 106.5 kB / 3.114 GB, free: 38.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/7.423, allocations: 241.6 kB / 3.114 GB, free: 38.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/7.423, allocations: 29.2 kB / 3.114 GB, free: 38.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/7.423, allocations: 281.1 kB / 3.115 GB, free: 38.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/7.423, allocations: 45.34 kB / 3.115 GB, free: 38.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/7.423, allocations: 3.5 kB / 3.115 GB, free: 38.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.887e-05/7.423, allocations: 324.7 kB / 3.115 GB, free: 37.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/7.423, allocations: 54.75 kB / 3.115 GB, free: 37.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/7.424, allocations: 201.1 kB / 3.115 GB, free: 37.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/7.424, allocations: 85.5 kB / 3.115 GB, free: 37.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.158e-06/7.424, allocations: 3.812 kB / 3.115 GB, free: 37.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005452/7.424, allocations: 270.1 kB / 3.116 GB, free: 37.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/7.424, allocations: 9.391 kB / 3.116 GB, free: 37.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/7.424, allocations: 7.594 kB / 3.116 GB, free: 37.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/7.424, allocations: 6.938 kB / 3.116 GB, free: 37.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/7.425, allocations: 81.2 kB / 3.116 GB, free: 37.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/7.425, allocations: 9.625 kB / 3.116 GB, free: 37.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/7.425, allocations: 50.38 kB / 3.116 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/7.425, allocations: 22.22 kB / 3.116 GB, free: 37.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 8.552e-05/7.425, allocations: 121.2 kB / 3.116 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/7.425, allocations: 32.77 kB / 3.116 GB, free: 37.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/7.427, allocations: 0.8974 MB / 3.117 GB, free: 37.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/7.427, allocations: 6.531 kB / 3.117 GB, free: 37.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/7.427, allocations: 0 / 3.117 GB, free: 37.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/7.427, allocations: 3.609 kB / 3.117 GB, free: 37.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/7.427, allocations: 0.5639 MB / 3.117 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/7.427, allocations: 0 / 3.117 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/7.428, allocations: 55.97 kB / 3.117 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.988e-06/7.428, allocations: 5.609 kB / 3.117 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/7.428, allocations: 6.266 kB / 3.117 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-06/7.428, allocations: 3.844 kB / 3.117 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/7.428, allocations: 0 / 3.117 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/7.428, allocations: 475.4 kB / 3.118 GB, free: 36.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/7.428, allocations: 170.8 kB / 3.118 GB, free: 36.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/7.428, allocations: 3.812 kB / 3.118 GB, free: 36.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/7.429, allocations: 25.92 kB / 3.118 GB, free: 36.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/7.429, allocations: 18.72 kB / 3.118 GB, free: 36.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/7.429, allocations: 7.844 kB / 3.118 GB, free: 36.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000257/7.429, allocations: 233.6 kB / 3.118 GB, free: 36.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.05e-07/7.429, allocations: 0 / 3.118 GB, free: 36.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003484/7.433, allocations: 0.8662 MB / 3.119 GB, free: 36.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005259/7.438, allocations: 1.293 MB / 3.12 GB, free: 36.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005469/7.438, allocations: 243.6 kB / 3.121 GB, free: 36.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.966e-06/7.438, allocations: 3.875 kB / 3.121 GB, free: 36.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/7.439, allocations: 181.1 kB / 3.121 GB, free: 36.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009154/7.44, allocations: 119.8 kB / 3.121 GB, free: 36.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1376/7.577, allocations: 54.82 MB / 3.174 GB, free: 19.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/7.578, allocations: 0.8485 MB / 3.175 GB, free: 18.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/7.578, allocations: 35 kB / 3.175 GB, free: 18.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.911e-06/7.578, allocations: 0 / 3.175 GB, free: 18.76 MB / 426.7 MB Notification: Performance of Templates: time 0.03396/7.612, allocations: 22.12 MB / 3.197 GB, free: 264 kB / 426.7 MB