Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.34e-05, allocations: 0 / 309.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4294, allocations: 54.85 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.94/11.37, allocations: 3.68 GB / 4.036 GB, free: 51.02 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/11.37, allocations: 82.14 kB / 4.036 GB, free: 50.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.895/17.26, allocations: 0.9745 GB / 5.01 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.404e-06/17.26, allocations: 3.938 kB / 5.01 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005978/17.26, allocations: 161.7 kB / 5.011 GB, free: 20.95 MB / 0.5105 GB 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.06054/17.32, allocations: 9.639 MB / 5.02 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/17.32, allocations: 12.03 kB / 5.02 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007023/17.33, allocations: 1.022 MB / 5.021 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009258/17.34, allocations: 0.8657 MB / 5.022 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02928/17.37, allocations: 5.749 MB / 5.027 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/17.37, allocations: 0.5166 MB / 5.028 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00616/17.38, allocations: 0.6987 MB / 5.029 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05489/17.43, allocations: 13.83 MB / 5.042 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005711/17.43, allocations: 23.81 kB / 5.042 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005522/17.44, allocations: 291.7 kB / 5.042 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001381/17.44, allocations: 0.7138 MB / 5.043 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5374/17.98, allocations: 16.18 MB / 5.059 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1478/18.13, allocations: 47.58 MB / 5.105 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03135/18.16, allocations: 10.51 MB / 5.116 GB, free: 19.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01993/18.18, allocations: 7.106 MB / 5.123 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005825/18.18, allocations: 4.184 MB / 5.127 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/18.18, allocations: 148.2 kB / 5.127 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009414/18.19, allocations: 0.8508 MB / 5.128 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=882): time 4.914e-05/18.19, allocations: 2.125 kB / 5.128 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1122): time 0.4856/18.68, allocations: 83.27 MB / 5.209 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/18.68, allocations: 168.2 kB / 5.209 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009822/18.69, allocations: 3.331 MB / 5.212 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.004642/18.69, allocations: 229.7 kB / 5.213 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002775/18.7, allocations: 2.229 MB / 5.215 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.008983/18.7, allocations: 3.898 MB / 5.219 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004832/18.71, allocations: 212 kB / 5.219 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001444/18.71, allocations: 0.7542 MB / 5.22 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05166/18.76, allocations: 10.16 MB / 5.229 GB, free: 0 / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03115/18.79, allocations: 10.18 MB / 5.239 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03431/18.83, allocations: 9.97 MB / 5.249 GB, free: 15.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.569e-05/18.83, allocations: 8 kB / 5.249 GB, free: 15.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.5992/19.43, allocations: 28.98 MB / 5.277 GB, free: 72.25 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003055/19.43, allocations: 11.88 MB / 5.289 GB, free: 59.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/19.43, allocations: 34.16 kB / 5.289 GB, free: 59.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5393/19.97, allocations: 77.07 MB / 5.364 GB, free: 59.33 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009833/19.98, allocations: 1.078 MB / 5.365 GB, free: 59.33 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1041/20.08, allocations: 31.55 MB / 5.396 GB, free: 58.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0269/20.11, allocations: 1.787 MB / 5.398 GB, free: 57.35 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005545/20.12, allocations: 0.5914 MB / 5.399 GB, free: 56.94 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/20.12, allocations: 4 kB / 5.399 GB, free: 56.93 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1017/20.22, allocations: 26.98 MB / 5.425 GB, free: 43.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/20.22, allocations: 33.97 kB / 5.425 GB, free: 43.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3847/20.6, allocations: 53.59 MB / 5.477 GB, free: 3.781 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/20.61, allocations: 1.168 MB / 5.478 GB, free: 2.863 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5927/21.21, allocations: 28.48 MB / 5.506 GB, free: 74.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02469/21.23, allocations: 1.753 MB / 5.508 GB, free: 74.99 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005501/21.24, allocations: 0.5774 MB / 5.509 GB, free: 74.99 MB / 0.573 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 () * 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.009695/21.25, allocations: 0.6068 MB / 5.509 GB, free: 74.88 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006228/21.25, allocations: 0.6419 MB / 5.51 GB, free: 74.88 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1155/21.37, allocations: 26.78 MB / 5.536 GB, free: 74 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002222/21.37, allocations: 117.9 kB / 5.536 GB, free: 74 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.457e-05/21.37, allocations: 0 / 5.536 GB, free: 74 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06878/21.44, allocations: 20.43 MB / 5.556 GB, free: 73.27 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1514/21.59, allocations: 41.33 MB / 5.596 GB, free: 62.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001823/21.59, allocations: 0 / 5.596 GB, free: 62.64 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02279/21.61, allocations: 2.134 MB / 5.598 GB, free: 62.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07083/21.68, allocations: 11.69 MB / 5.61 GB, free: 60.86 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005125/21.69, allocations: 0.6075 MB / 5.61 GB, free: 60.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04172/21.73, allocations: 30.03 MB / 5.64 GB, free: 38.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/21.73, allocations: 3.938 kB / 5.64 GB, free: 38.89 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1245/21.85, allocations: 35.14 MB / 5.674 GB, free: 9.984 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003884/21.86, allocations: 0.7905 MB / 5.675 GB, free: 9.234 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006663/21.87, allocations: 458.2 kB / 5.675 GB, free: 8.855 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02489/21.89, allocations: 1.446 MB / 5.677 GB, free: 7.918 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005438/21.9, allocations: 0.762 MB / 5.677 GB, free: 7.457 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005271/21.9, allocations: 0.5531 MB / 5.678 GB, free: 7.016 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006769/21.91, allocations: 2.511 MB / 5.68 GB, free: 4.785 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.435e-06/21.91, allocations: 4.656 kB / 5.68 GB, free: 4.781 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.05508/21.96, allocations: 7.622 MB / 5.688 GB, free: 0 / 0.573 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 () * 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,4 20,2 6,2 6,2 6,2 6,2 6,2 6,4 20,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.6591/22.62, allocations: 39.87 MB / 5.727 GB, free: 81.96 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.1115/22.73, allocations: 32.9 MB / 5.759 GB, free: 81.48 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/22.73, allocations: 4.5 kB / 5.759 GB, free: 81.48 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.03836/22.77, allocations: 11.48 MB / 5.77 GB, free: 80.84 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02949/22.8, allocations: 3.072 MB / 5.773 GB, free: 80.75 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1368/22.94, allocations: 29.93 MB / 5.802 GB, free: 76.76 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01181/22.95, allocations: 5.195 MB / 5.807 GB, free: 75.81 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01599/22.97, allocations: 3.563 MB / 5.811 GB, free: 75.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.783e-06/22.97, allocations: 0 / 5.811 GB, free: 75.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.23/34.2, allocations: 0.58 GB / 6.391 GB, free: 119.2 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat