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/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: "" <> 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.315/2.315, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006824/0.0006825, allocations: 11.98 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4401, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.354/9.794, allocations: 2.952 GB / 3.313 GB, free: 112.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/9.794, allocations: 97.05 kB / 3.313 GB, free: 112.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.166/14.96, allocations: 1.136 GB / 4.449 GB, free: 63.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/14.96, allocations: 0 / 4.449 GB, free: 63.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.679e-05/14.96, allocations: 24.11 kB / 4.449 GB, free: 63.84 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.02078/14.98, allocations: 1.659 MB / 4.45 GB, free: 62.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/14.98, allocations: 7.812 kB / 4.45 GB, free: 62.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003162/14.98, allocations: 97.16 kB / 4.451 GB, free: 62.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006819/14.98, allocations: 87.78 kB / 4.451 GB, free: 62.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/14.98, allocations: 0.5451 MB / 4.451 GB, free: 62.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/14.98, allocations: 100.3 kB / 4.451 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/14.98, allocations: 55.48 kB / 4.451 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/14.99, allocations: 0.8115 MB / 4.452 GB, free: 62.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/15, allocations: 0 / 4.452 GB, free: 62.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/15, allocations: 21.44 kB / 4.452 GB, free: 62.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/15, allocations: 43.78 kB / 4.452 GB, free: 62.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006575/15, allocations: 0.6308 MB / 4.453 GB, free: 62.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/15.01, allocations: 3.902 MB / 4.457 GB, free: 59.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/15.02, allocations: 386.4 kB / 4.457 GB, free: 59.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006627/15.02, allocations: 0.4959 MB / 4.457 GB, free: 59.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/15.02, allocations: 45.45 kB / 4.458 GB, free: 59.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 4.048e-06/15.02, allocations: 0 / 4.458 GB, free: 59.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.008895/15.03, allocations: 1.489 MB / 4.459 GB, free: 58.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/15.03, allocations: 132.5 kB / 4.459 GB, free: 58.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/15.03, allocations: 0.4894 MB / 4.46 GB, free: 58.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/15.03, allocations: 36.92 kB / 4.46 GB, free: 58.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/15.03, allocations: 402 kB / 4.46 GB, free: 58.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/15.03, allocations: 159.7 kB / 4.46 GB, free: 58.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/15.03, allocations: 14.28 kB / 4.46 GB, free: 58.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/15.03, allocations: 338.5 kB / 4.46 GB, free: 57.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008133/15.03, allocations: 220.7 kB / 4.461 GB, free: 57.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/15.03, allocations: 0.5378 MB / 4.461 GB, free: 57.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/15.03, allocations: 321.1 kB / 4.462 GB, free: 57.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/15.03, allocations: 3.781 kB / 4.462 GB, free: 57.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003231/15.03, allocations: 0.937 MB / 4.462 GB, free: 57.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/15.03, allocations: 7.719 kB / 4.462 GB, free: 57.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/15.03, allocations: 10.66 kB / 4.462 GB, free: 57.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/15.04, allocations: 254.1 kB / 4.463 GB, free: 57.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008168/15.04, allocations: 133 kB / 4.463 GB, free: 57.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/15.04, allocations: 0.8516 MB / 4.464 GB, free: 56.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/15.04, allocations: 56.23 kB / 4.464 GB, free: 56.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/15.04, allocations: 37.09 kB / 4.464 GB, free: 56.5 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 () * Number of clocked 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.0005465/15.04, allocations: 245.8 kB / 4.464 GB, free: 56.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/15.04, allocations: 64.94 kB / 4.464 GB, free: 56.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/15.04, allocations: 0.6954 MB / 4.465 GB, free: 55.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/15.04, allocations: 7.094 kB / 4.465 GB, free: 55.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/15.04, allocations: 3.953 kB / 4.465 GB, free: 55.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/15.04, allocations: 3.812 kB / 4.465 GB, free: 55.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/15.04, allocations: 1.366 MB / 4.466 GB, free: 55.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/15.04, allocations: 3.969 kB / 4.466 GB, free: 55.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/15.05, allocations: 190.4 kB / 4.466 GB, free: 55.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/15.05, allocations: 67.95 kB / 4.466 GB, free: 55.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/15.05, allocations: 11.94 kB / 4.466 GB, free: 55.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002576/15.05, allocations: 2.797 MB / 4.469 GB, free: 52.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/15.05, allocations: 9.203 kB / 4.469 GB, free: 52.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/15.05, allocations: 1.055 MB / 4.47 GB, free: 51.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/15.05, allocations: 204.7 kB / 4.47 GB, free: 51.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/15.05, allocations: 7.844 kB / 4.47 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/15.05, allocations: 29.8 kB / 4.47 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/15.05, allocations: 38.84 kB / 4.47 GB, free: 51.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/15.05, allocations: 21.27 kB / 4.47 GB, free: 51.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006424/15.05, allocations: 381.5 kB / 4.471 GB, free: 51.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.953e-06/15.05, allocations: 0 / 4.471 GB, free: 51.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001398/15.06, allocations: 247.5 kB / 4.471 GB, free: 51.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * 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.003417/15.06, allocations: 2.376 MB / 4.473 GB, free: 49.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/15.06, allocations: 0.5973 MB / 4.474 GB, free: 49.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/15.06, allocations: 3.062 kB / 4.474 GB, free: 49.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/15.06, allocations: 453.1 kB / 4.474 GB, free: 49.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/15.07, allocations: 300.3 kB / 4.475 GB, free: 49.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/15.08, allocations: 11.1 MB / 4.485 GB, free: 40 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/15.08, allocations: 0.9552 MB / 4.486 GB, free: 39.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/15.08, allocations: 236.2 kB / 4.487 GB, free: 39.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.463e-06/15.08, allocations: 0 / 4.487 GB, free: 39.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.081/18.16, allocations: 18.55 MB / 4.505 GB, free: 31.81 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