Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.238/2.238, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.922e-05, allocations: 4 kB / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3458, allocations: 54.84 MB / 358.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.723/9.069, allocations: 2.951 GB / 3.301 GB, free: 106.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/9.07, allocations: 90.73 kB / 3.301 GB, free: 106.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.072/14.14, allocations: 1.123 GB / 4.424 GB, free: 74.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/14.14, allocations: 0 / 4.424 GB, free: 74.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.475e-05/14.14, allocations: 18.27 kB / 4.424 GB, free: 74.53 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.007088/14.15, allocations: 1.576 MB / 4.425 GB, free: 73.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/14.15, allocations: 11.94 kB / 4.425 GB, free: 73.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005585/14.15, allocations: 91.05 kB / 4.426 GB, free: 73.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/14.15, allocations: 0.5422 MB / 4.426 GB, free: 73.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/14.15, allocations: 82.81 kB / 4.426 GB, free: 73.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/14.15, allocations: 28.03 kB / 4.426 GB, free: 73.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001903/14.15, allocations: 0.5489 MB / 4.427 GB, free: 73.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/14.16, allocations: 0.7295 MB / 4.427 GB, free: 73.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/14.16, allocations: 6.188 kB / 4.427 GB, free: 73.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/14.16, allocations: 3.844 kB / 4.427 GB, free: 73.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/14.16, allocations: 37.44 kB / 4.427 GB, free: 73.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00787/14.16, allocations: 3.971 MB / 4.431 GB, free: 70.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/14.17, allocations: 310.5 kB / 4.432 GB, free: 70.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/14.17, allocations: 154.8 kB / 4.432 GB, free: 70.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005178/14.17, allocations: 359.3 kB / 4.432 GB, free: 70.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/14.17, allocations: 34.78 kB / 4.432 GB, free: 70.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.648e-06/14.17, allocations: 3.406 kB / 4.432 GB, free: 70.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.006552/14.17, allocations: 1.258 MB / 4.433 GB, free: 69.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/14.17, allocations: 136.6 kB / 4.434 GB, free: 69.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/14.17, allocations: 457.5 kB / 4.434 GB, free: 69.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/14.17, allocations: 36.09 kB / 4.434 GB, free: 69.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/14.17, allocations: 424.7 kB / 4.434 GB, free: 69.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/14.17, allocations: 136.3 kB / 4.435 GB, free: 69.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/14.17, allocations: 0 / 4.435 GB, free: 69.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/14.17, allocations: 343.5 kB / 4.435 GB, free: 68.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/14.18, allocations: 200.6 kB / 4.435 GB, free: 68.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008865/14.18, allocations: 0.5058 MB / 4.436 GB, free: 68.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/14.18, allocations: 333.9 kB / 4.436 GB, free: 68.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/14.18, allocations: 3.656 kB / 4.436 GB, free: 68.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003741/14.18, allocations: 0.8655 MB / 4.437 GB, free: 68.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/14.18, allocations: 11.67 kB / 4.437 GB, free: 68.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/14.18, allocations: 9.875 kB / 4.437 GB, free: 68.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/14.18, allocations: 221.7 kB / 4.437 GB, free: 68.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/14.18, allocations: 134.9 kB / 4.437 GB, free: 68.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/14.19, allocations: 0.865 MB / 4.438 GB, free: 67.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/14.19, allocations: 39.48 kB / 4.438 GB, free: 67.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/14.19, allocations: 35.28 kB / 4.438 GB, free: 67.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002734/14.19, allocations: 136.8 kB / 4.438 GB, free: 67.79 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002175/14.19, allocations: 476.2 kB / 4.439 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/14.19, allocations: 65.52 kB / 4.439 GB, free: 67.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/14.19, allocations: 0.5816 MB / 4.439 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/14.19, allocations: 9.656 kB / 4.439 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/14.19, allocations: 2.391 kB / 4.439 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/14.19, allocations: 3.969 kB / 4.439 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004344/14.2, allocations: 1.477 MB / 4.441 GB, free: 66.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/14.2, allocations: 3.953 kB / 4.441 GB, free: 66.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/14.2, allocations: 190.4 kB / 4.441 GB, free: 66.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/14.2, allocations: 57.36 kB / 4.441 GB, free: 66.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/14.2, allocations: 6.891 kB / 4.441 GB, free: 66.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/14.2, allocations: 2.683 MB / 4.444 GB, free: 64.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/14.2, allocations: 2.625 kB / 4.444 GB, free: 64.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/14.21, allocations: 0.9519 MB / 4.444 GB, free: 64.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/14.21, allocations: 189.2 kB / 4.445 GB, free: 64.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/14.21, allocations: 7 kB / 4.445 GB, free: 64.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009633/14.21, allocations: 18.39 kB / 4.445 GB, free: 64.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/14.21, allocations: 35.12 kB / 4.445 GB, free: 64.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-05/14.21, allocations: 24.66 kB / 4.445 GB, free: 64.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007129/14.21, allocations: 328 kB / 4.445 GB, free: 63.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/14.21, allocations: 0 / 4.445 GB, free: 63.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001894/14.21, allocations: 217.7 kB / 4.445 GB, free: 63.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004014/14.22, allocations: 2.224 MB / 4.447 GB, free: 62.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001889/14.22, allocations: 0.5274 MB / 4.448 GB, free: 62.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/14.22, allocations: 3.969 kB / 4.448 GB, free: 62.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/14.22, allocations: 412.7 kB / 4.448 GB, free: 62.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/14.22, allocations: 267.4 kB / 4.449 GB, free: 62.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/14.23, allocations: 1.146 MB / 4.45 GB, free: 62.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/14.23, allocations: 0.9465 MB / 4.451 GB, free: 61.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006345/14.23, allocations: 238.3 kB / 4.451 GB, free: 61.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.332e-06/14.23, allocations: 0 / 4.451 GB, free: 61.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.147/17.37, allocations: 18.05 MB / 4.468 GB, free: 61.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat