Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.293/2.293, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.884e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2793, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.391/6.67, allocations: 2.587 GB / 2.937 GB, free: 108 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/6.67, allocations: 86.16 kB / 2.937 GB, free: 108 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.129/7.799, allocations: 308.2 MB / 3.238 GB, free: 14.67 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.395e-06/7.799, allocations: 4 kB / 3.238 GB, free: 14.67 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.585e-05/7.8, allocations: 8 kB / 3.238 GB, free: 14.66 MB / 474.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.004253/7.804, allocations: 1.308 MB / 3.239 GB, free: 13.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/7.804, allocations: 12.03 kB / 3.239 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/7.806, allocations: 211.3 kB / 3.239 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/7.806, allocations: 354.4 kB / 3.24 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/7.807, allocations: 15.95 kB / 3.24 GB, free: 12.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/7.807, allocations: 16 kB / 3.24 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005061/7.807, allocations: 225 kB / 3.24 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/7.808, allocations: 318 kB / 3.24 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/7.808, allocations: 0 / 3.24 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/7.808, allocations: 4 kB / 3.24 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.577e-06/7.808, allocations: 4 kB / 3.24 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/7.81, allocations: 2.246 MB / 3.242 GB, free: 9.668 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/7.81, allocations: 130.5 kB / 3.243 GB, free: 9.531 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/7.811, allocations: 56.86 kB / 3.243 GB, free: 9.473 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3194/8.13, allocations: 15.75 MB / 3.258 GB, free: 51.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/8.13, allocations: 37.44 kB / 3.258 GB, free: 51.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 3.208e-06/8.13, allocations: 0 / 3.258 GB, free: 51.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.001256/8.131, allocations: 295 kB / 3.258 GB, free: 51.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/8.131, allocations: 103.6 kB / 3.258 GB, free: 51.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/8.132, allocations: 233 kB / 3.259 GB, free: 51.28 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/8.132, allocations: 25.7 kB / 3.259 GB, free: 51.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/8.132, allocations: 271.3 kB / 3.259 GB, free: 51.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/8.132, allocations: 52.05 kB / 3.259 GB, free: 51.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/8.132, allocations: 3.938 kB / 3.259 GB, free: 51.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.991e-05/8.132, allocations: 326.2 kB / 3.259 GB, free: 50.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/8.132, allocations: 49.91 kB / 3.259 GB, free: 50.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/8.132, allocations: 184.8 kB / 3.259 GB, free: 50.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/8.133, allocations: 97.94 kB / 3.26 GB, free: 50.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.856e-06/8.133, allocations: 1.531 kB / 3.26 GB, free: 50.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006319/8.133, allocations: 253.8 kB / 3.26 GB, free: 50.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/8.133, allocations: 6.844 kB / 3.26 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/8.133, allocations: 3.656 kB / 3.26 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/8.133, allocations: 5.938 kB / 3.26 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/8.134, allocations: 81.92 kB / 3.26 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/8.134, allocations: 9.781 kB / 3.26 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/8.134, allocations: 50.64 kB / 3.26 GB, free: 50.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/8.134, allocations: 13.31 kB / 3.26 GB, free: 50.5 MB / 474.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 9.545e-05/8.134, allocations: 118.6 kB / 3.26 GB, free: 50.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/8.134, allocations: 27.06 kB / 3.26 GB, free: 50.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/8.136, allocations: 0.8963 MB / 3.261 GB, free: 50.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/8.136, allocations: 18.73 kB / 3.261 GB, free: 50.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.529e-06/8.136, allocations: 0 / 3.261 GB, free: 50.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-06/8.136, allocations: 0 / 3.261 GB, free: 50.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/8.136, allocations: 0.5021 MB / 3.261 GB, free: 50.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.107e-06/8.136, allocations: 3.781 kB / 3.261 GB, free: 50.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/8.137, allocations: 55.3 kB / 3.262 GB, free: 50.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.895e-06/8.137, allocations: 3.953 kB / 3.262 GB, free: 50.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/8.137, allocations: 0 / 3.262 GB, free: 50.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.007e-06/8.137, allocations: 0 / 3.262 GB, free: 50.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.444e-06/8.137, allocations: 2.969 kB / 3.262 GB, free: 50.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/8.137, allocations: 481.4 kB / 3.262 GB, free: 49.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/8.137, allocations: 144.5 kB / 3.262 GB, free: 49.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/8.137, allocations: 7.656 kB / 3.262 GB, free: 49.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/8.138, allocations: 24.38 kB / 3.262 GB, free: 49.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/8.138, allocations: 17.22 kB / 3.262 GB, free: 49.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/8.138, allocations: 6.375 kB / 3.262 GB, free: 49.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002243/8.138, allocations: 211.5 kB / 3.262 GB, free: 49.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.87e-07/8.138, allocations: 1.125 kB / 3.262 GB, free: 49.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003517/8.142, allocations: 0.8441 MB / 3.263 GB, free: 49.71 MB / 474.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.006712/8.148, allocations: 1.359 MB / 3.265 GB, free: 49.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004954/8.149, allocations: 237.4 kB / 3.265 GB, free: 49.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/8.149, allocations: 2.188 kB / 3.265 GB, free: 49.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/8.149, allocations: 173.7 kB / 3.265 GB, free: 49.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008512/8.15, allocations: 131.2 kB / 3.265 GB, free: 49.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1392/8.289, allocations: 53.92 MB / 3.318 GB, free: 48.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/8.29, allocations: 0.8498 MB / 3.319 GB, free: 47.38 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/8.29, allocations: 29.78 kB / 3.319 GB, free: 47.38 MB / 474.7 MB Notification: Performance of SimCode: time 1.875e-06/8.29, allocations: 0 / 3.319 GB, free: 47.38 MB / 474.7 MB Notification: Performance of Templates: time 0.038/8.328, allocations: 22.79 MB / 3.341 GB, free: 44.86 MB / 474.7 MB