Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.935/1.935, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007104/0.0007101, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3711, allocations: 48.69 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.79/11.16, allocations: 3.673 GB / 3.997 GB, free: 69.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/11.16, allocations: 82.2 kB / 3.997 GB, free: 69.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.126/17.29, allocations: 0.9653 GB / 4.962 GB, free: 26.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/17.29, allocations: 0 / 4.962 GB, free: 26.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005792/17.29, allocations: 164.8 kB / 4.962 GB, free: 26.44 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: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.06633/17.36, allocations: 10.31 MB / 4.972 GB, free: 22.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/17.36, allocations: 10.28 kB / 4.972 GB, free: 22.54 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009061/17.37, allocations: 1.05 MB / 4.973 GB, free: 22.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009648/17.38, allocations: 0.862 MB / 4.974 GB, free: 22.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02881/17.41, allocations: 5.76 MB / 4.98 GB, free: 21.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/17.41, allocations: 0.5232 MB / 4.98 GB, free: 21.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005979/17.41, allocations: 0.6921 MB / 4.981 GB, free: 21.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05306/17.47, allocations: 13.99 MB / 4.995 GB, free: 20.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006287/17.47, allocations: 29.09 kB / 4.995 GB, free: 20.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005738/17.47, allocations: 288.7 kB / 4.995 GB, free: 20.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001185/17.47, allocations: 0.7052 MB / 4.996 GB, free: 20.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05183/17.53, allocations: 16.47 MB / 5.012 GB, free: 20.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1431/17.67, allocations: 42.16 MB / 5.053 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03849/17.71, allocations: 10.64 MB / 5.063 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005455/17.71, allocations: 4.18 MB / 5.067 GB, free: 3.945 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/17.71, allocations: 146.8 kB / 5.068 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0094/17.72, allocations: 0.8505 MB / 5.068 GB, free: 3.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=882): time 3.423e-05/17.72, allocations: 0 / 5.068 GB, free: 3.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=1122): time 1.094/18.82, allocations: 101.2 MB / 5.167 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/18.82, allocations: 165.8 kB / 5.167 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008869/18.83, allocations: 3.368 MB / 5.171 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.004408/18.83, allocations: 225.3 kB / 5.171 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00247/18.83, allocations: 2.23 MB / 5.173 GB, free: 46.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008191/18.84, allocations: 3.902 MB / 5.177 GB, free: 44.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004231/18.85, allocations: 214.9 kB / 5.177 GB, free: 44.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001202/18.85, allocations: 0.7515 MB / 5.178 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03581/18.88, allocations: 9.987 MB / 5.188 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03872/18.92, allocations: 11.44 MB / 5.199 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03945/18.96, allocations: 11.05 MB / 5.21 GB, free: 42.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.752e-05/18.96, allocations: 6.781 kB / 5.21 GB, free: 42.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1308/19.09, allocations: 31.99 MB / 5.241 GB, free: 38.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00303/19.09, allocations: 11.88 MB / 5.252 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/19.09, allocations: 35.66 kB / 5.252 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4882/19.58, allocations: 76.97 MB / 5.328 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009683/19.59, allocations: 1.067 MB / 5.329 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6005/20.19, allocations: 35.32 MB / 5.363 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02661/20.22, allocations: 1.788 MB / 5.365 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005428/20.23, allocations: 0.5926 MB / 5.365 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/20.23, allocations: 8.578 kB / 5.365 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1388/20.36, allocations: 32.3 MB / 5.397 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001931/20.36, allocations: 32.14 kB / 5.397 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.396/20.76, allocations: 54.88 MB / 5.451 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009832/20.77, allocations: 1.176 MB / 5.452 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1104/20.88, allocations: 31.92 MB / 5.483 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02347/20.9, allocations: 1.755 MB / 5.485 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005185/20.91, allocations: 0.5822 MB / 5.485 GB, free: 39.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 587 * 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 {72 716} Notification: Performance of prepare postOptimizeDAE: time 0.0144/20.92, allocations: 2.573 MB / 5.488 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005865/20.93, allocations: 0.635 MB / 5.488 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1165/21.05, allocations: 29.99 MB / 5.518 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001873/21.05, allocations: 116 kB / 5.518 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.403e-05/21.05, allocations: 0.5 kB / 5.518 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5261/21.57, allocations: 23.81 MB / 5.541 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1466/21.72, allocations: 41.87 MB / 5.582 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001842/21.72, allocations: 5.156 kB / 5.582 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02193/21.74, allocations: 2.136 MB / 5.584 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09443/21.84, allocations: 14.12 MB / 5.598 GB, free: 60.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005041/21.84, allocations: 0.604 MB / 5.598 GB, free: 60.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06543/21.91, allocations: 33.09 MB / 5.631 GB, free: 43.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/21.91, allocations: 2.344 kB / 5.631 GB, free: 43.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1338/22.04, allocations: 36.88 MB / 5.667 GB, free: 34.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003269/22.04, allocations: 0.7818 MB / 5.668 GB, free: 34.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006801/22.05, allocations: 455 kB / 5.668 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02345/22.07, allocations: 1.453 MB / 5.669 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004825/22.08, allocations: 0.7693 MB / 5.67 GB, free: 33.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004491/22.08, allocations: 0.5492 MB / 5.671 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006405/22.09, allocations: 2.554 MB / 5.673 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.42e-07/22.09, allocations: 0 / 5.673 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03791/22.13, allocations: 6.907 MB / 5.68 GB, free: 30.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].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 (1057): * Single equations (assignments): 1030 * 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: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.1519/22.28, allocations: 41.78 MB / 5.721 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.6425/22.92, allocations: 37.72 MB / 5.758 GB, free: 76.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/22.92, allocations: 9.25 kB / 5.758 GB, free: 76.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.04719/22.97, allocations: 12.61 MB / 5.77 GB, free: 75.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03626/23.01, allocations: 3.065 MB / 5.773 GB, free: 75.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1455/23.15, allocations: 64.09 MB / 5.835 GB, free: 39.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01281/23.16, allocations: 5.197 MB / 5.84 GB, free: 38.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01551/23.18, allocations: 3.554 MB / 5.844 GB, free: 38.54 MB / 0.5417 GB Notification: Performance of SimCode: time 1.323e-06/23.18, allocations: 0 / 5.844 GB, free: 38.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.82/34.01, allocations: 0.5755 GB / 6.419 GB, free: 121.8 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat