Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 234.9 MB / 251.1 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004393, allocations: 12 kB / 315 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3799, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.78/8.16, allocations: 2.588 GB / 2.949 GB, free: 126.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/8.161, allocations: 92.91 kB / 2.949 GB, free: 126.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.428/9.589, allocations: 312.9 MB / 3.255 GB, free: 24.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.043e-06/9.589, allocations: 0 / 3.255 GB, free: 24.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.683e-05/9.589, allocations: 8 kB / 3.255 GB, free: 24.62 MB / 490.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.005684/9.595, allocations: 1.343 MB / 3.256 GB, free: 23.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/9.595, allocations: 8.031 kB / 3.256 GB, free: 23.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/9.597, allocations: 207.3 kB / 3.256 GB, free: 23.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007125/9.598, allocations: 360.6 kB / 3.256 GB, free: 22.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/9.598, allocations: 28.52 kB / 3.256 GB, free: 22.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/9.598, allocations: 24 kB / 3.257 GB, free: 22.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/9.6, allocations: 490.9 kB / 3.257 GB, free: 22.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/9.6, allocations: 0 / 3.257 GB, free: 22.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/9.6, allocations: 16 kB / 3.257 GB, free: 22.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/9.6, allocations: 8 kB / 3.257 GB, free: 22.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/9.602, allocations: 445.1 kB / 3.257 GB, free: 21.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002892/9.604, allocations: 2.277 MB / 3.26 GB, free: 19.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/9.606, allocations: 294.3 kB / 3.26 GB, free: 18.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05839/9.664, allocations: 15.66 MB / 3.275 GB, free: 1.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/9.664, allocations: 38.55 kB / 3.275 GB, free: 1.613 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.494e-06/9.664, allocations: 4 kB / 3.275 GB, free: 1.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.002579/9.667, allocations: 0.4943 MB / 3.276 GB, free: 1.109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/9.667, allocations: 106.8 kB / 3.276 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/9.667, allocations: 271.2 kB / 3.276 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/9.668, allocations: 33.7 kB / 3.276 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/9.668, allocations: 273.7 kB / 3.276 GB, free: 404 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/9.668, allocations: 53.48 kB / 3.276 GB, free: 352 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/9.668, allocations: 8 kB / 3.276 GB, free: 344 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.621e-05/9.668, allocations: 326.8 kB / 3.277 GB, free: 8 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.367/10.03, allocations: 79.02 kB / 3.277 GB, free: 68.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/10.04, allocations: 227.7 kB / 3.277 GB, free: 68.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/10.04, allocations: 119.5 kB / 3.277 GB, free: 68.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/10.04, allocations: 1.562 kB / 3.277 GB, free: 68.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001369/10.04, allocations: 326.5 kB / 3.277 GB, free: 68.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/10.04, allocations: 6.812 kB / 3.277 GB, free: 68.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/10.04, allocations: 7.75 kB / 3.278 GB, free: 68.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.26e-05/10.04, allocations: 8.547 kB / 3.278 GB, free: 68.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/10.04, allocations: 88.42 kB / 3.278 GB, free: 68.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/10.04, allocations: 8.859 kB / 3.278 GB, free: 68.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/10.04, allocations: 50.16 kB / 3.278 GB, free: 68.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/10.04, allocations: 17.94 kB / 3.278 GB, free: 68.71 MB / 490.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 () * Number of clocked 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 0.0002707/10.04, allocations: 160 kB / 3.278 GB, free: 68.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/10.04, allocations: 27.56 kB / 3.278 GB, free: 68.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/10.04, allocations: 0.9607 MB / 3.279 GB, free: 68.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/10.04, allocations: 10.23 kB / 3.279 GB, free: 68.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/10.04, allocations: 7.578 kB / 3.279 GB, free: 68.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/10.04, allocations: 0.75 kB / 3.279 GB, free: 68.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008387/10.04, allocations: 0.5653 MB / 3.279 GB, free: 68.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/10.04, allocations: 0 / 3.279 GB, free: 68.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/10.04, allocations: 53.36 kB / 3.279 GB, free: 68.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/10.04, allocations: 0.75 kB / 3.279 GB, free: 68.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/10.04, allocations: 9.5 kB / 3.279 GB, free: 68.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/10.04, allocations: 0.6562 kB / 3.279 GB, free: 68.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/10.04, allocations: 0.8594 kB / 3.279 GB, free: 68.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009868/10.04, allocations: 0.5326 MB / 3.28 GB, free: 68.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/10.04, allocations: 145.5 kB / 3.28 GB, free: 68.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/10.04, allocations: 9.766 kB / 3.28 GB, free: 68.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/10.04, allocations: 28.28 kB / 3.28 GB, free: 68.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/10.04, allocations: 20.44 kB / 3.28 GB, free: 68.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/10.04, allocations: 3.844 kB / 3.28 GB, free: 68.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002991/10.04, allocations: 230.6 kB / 3.28 GB, free: 67.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/10.04, allocations: 0 / 3.28 GB, free: 67.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004513/10.05, allocations: 0.8654 MB / 3.281 GB, free: 67.91 MB / 490.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 () * Number of clocked 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.008027/10.06, allocations: 1.291 MB / 3.282 GB, free: 67.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/10.06, allocations: 310.7 kB / 3.283 GB, free: 67.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/10.06, allocations: 0 / 3.283 GB, free: 67.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/10.06, allocations: 213 kB / 3.283 GB, free: 67.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/10.06, allocations: 122.9 kB / 3.283 GB, free: 67.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1811/10.24, allocations: 55.38 MB / 3.337 GB, free: 66.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/10.24, allocations: 0.8497 MB / 3.338 GB, free: 65.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/10.24, allocations: 33.97 kB / 3.338 GB, free: 65.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/10.24, allocations: 2.812 kB / 3.338 GB, free: 65.41 MB / 490.7 MB Notification: Performance of Templates: time 0.04777/10.29, allocations: 22.4 MB / 3.36 GB, free: 62.99 MB / 490.7 MB