Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000601/0.0006011, allocations: 15.92 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3504, allocations: 48.69 MB / 331.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.83/11.18, allocations: 3.679 GB / 4.003 GB, free: 68.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/11.18, allocations: 83.95 kB / 4.003 GB, free: 68.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.653/19.83, allocations: 1.45 GB / 5.453 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.906e-06/19.83, allocations: 2.953 kB / 5.453 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003151/19.83, allocations: 55.19 kB / 5.453 GB, free: 24.71 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: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.0368/19.87, allocations: 7.533 MB / 5.46 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/19.87, allocations: 16.94 kB / 5.46 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001938/19.87, allocations: 284.2 kB / 5.46 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/19.87, allocations: 285.1 kB / 5.461 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00675/19.88, allocations: 1.63 MB / 5.462 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003542/19.88, allocations: 150.2 kB / 5.462 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/19.88, allocations: 192.5 kB / 5.463 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/19.89, allocations: 3.145 MB / 5.466 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.196e-05/19.89, allocations: 0 / 5.466 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009449/19.89, allocations: 78.53 kB / 5.466 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000402/19.89, allocations: 183.2 kB / 5.466 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/19.91, allocations: 3.517 MB / 5.469 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0382/19.95, allocations: 11.61 MB / 5.481 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005484/19.95, allocations: 1.621 MB / 5.482 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002121/19.95, allocations: 1.743 MB / 5.484 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/19.95, allocations: 56.25 kB / 5.484 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003715/19.96, allocations: 317.8 kB / 5.484 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 1.131e-05/19.96, allocations: 1.031 kB / 5.484 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=169): time 0.0542/20.01, allocations: 8.956 MB / 5.493 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/20.01, allocations: 211.1 kB / 5.493 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003625/20.01, allocations: 1.435 MB / 5.495 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008371/20.02, allocations: 60.64 kB / 5.495 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009665/20.02, allocations: 0.9737 MB / 5.496 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001399/20.02, allocations: 0.5855 MB / 5.496 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/20.02, allocations: 47.28 kB / 5.496 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002494/20.02, allocations: 413.4 kB / 5.497 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004698/20.02, allocations: 1.186 MB / 5.498 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005279/20.03, allocations: 1.729 MB / 5.5 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005288/20.03, allocations: 1.471 MB / 5.501 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.052e-05/20.03, allocations: 3.906 kB / 5.501 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01959/20.05, allocations: 3.941 MB / 5.505 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001371/20.06, allocations: 5.806 MB / 5.511 GB, free: 176 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.492e-05/20.06, allocations: 19.31 kB / 5.511 GB, free: 172 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0135/20.07, allocations: 1.317 MB / 5.512 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005126/20.07, allocations: 0.5472 MB / 5.512 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005864/20.08, allocations: 2.157 MB / 5.514 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005343/20.09, allocations: 202.5 kB / 5.515 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/20.09, allocations: 180.4 kB / 5.515 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/20.09, allocations: 8.453 kB / 5.515 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02032/20.11, allocations: 3.78 MB / 5.519 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-05/20.11, allocations: 12 kB / 5.519 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009852/20.12, allocations: 0.9528 MB / 5.519 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005076/20.12, allocations: 0.5468 MB / 5.52 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004809/20.13, allocations: 1.903 MB / 5.522 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/20.13, allocations: 195.9 kB / 5.522 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/20.13, allocations: 173.2 kB / 5.522 GB, free: 6.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (271): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,5 14} Notification: Performance of prepare postOptimizeDAE: time 0.003243/20.14, allocations: 0.6412 MB / 5.523 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009819/20.14, allocations: 205.5 kB / 5.523 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/20.15, allocations: 4.017 MB / 5.527 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.013e-05/20.15, allocations: 20 kB / 5.527 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/20.15, allocations: 0 / 5.527 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.596e-05/20.15, allocations: 7.312 kB / 5.527 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02507/20.18, allocations: 5.897 MB / 5.533 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/20.18, allocations: 8.094 kB / 5.533 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003351/20.18, allocations: 337 kB / 5.533 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01073/20.19, allocations: 1.173 MB / 5.534 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008397/20.19, allocations: 74.86 kB / 5.534 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005115/20.2, allocations: 2.059 MB / 5.536 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/20.2, allocations: 4 kB / 5.536 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/20.22, allocations: 4.734 MB / 5.541 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/20.22, allocations: 306.6 kB / 5.541 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/20.22, allocations: 44 kB / 5.541 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004072/20.22, allocations: 150 kB / 5.541 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008221/20.23, allocations: 152 kB / 5.542 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000477/20.23, allocations: 125.7 kB / 5.542 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003312/20.23, allocations: 1.099 MB / 5.543 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.92e-07/20.23, allocations: 3.938 kB / 5.543 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01753/20.25, allocations: 3.167 MB / 5.546 GB, free: 2.363 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * 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 (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.5476/20.79, allocations: 10.56 MB / 5.556 GB, free: 53.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01899/20.81, allocations: 4.821 MB / 5.561 GB, free: 53.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/20.81, allocations: 2.844 kB / 5.561 GB, free: 53.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005288/20.82, allocations: 1.355 MB / 5.562 GB, free: 53.12 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009113/20.83, allocations: 1.023 MB / 5.563 GB, free: 53.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/20.85, allocations: 18.01 MB / 5.581 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/20.86, allocations: 1.714 MB / 5.582 GB, free: 39.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003842/20.86, allocations: 0.9964 MB / 5.583 GB, free: 39.42 MB / 0.5417 GB Notification: Performance of SimCode: time 1.713e-06/20.86, allocations: 0 / 5.583 GB, free: 39.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.675/25.54, allocations: 96.57 MB / 5.678 GB, free: 32.33 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat does not exist to compare? outputFormat=mat