Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.023e-05, allocations: 4 kB / 309.8 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3958, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.57/11.97, allocations: 3.686 GB / 4.042 GB, free: 47.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/11.97, allocations: 82.27 kB / 4.042 GB, free: 47.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.595/21.57, allocations: 1.457 GB / 5.499 GB, free: 38.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.627e-06/21.57, allocations: 0 / 5.499 GB, free: 38.99 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.00036/21.57, allocations: 64.94 kB / 5.499 GB, free: 38.99 MB / 0.573 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.03931/21.61, allocations: 7.273 MB / 5.506 GB, free: 35.69 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/21.61, allocations: 8.75 kB / 5.506 GB, free: 35.69 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00137/21.61, allocations: 277.5 kB / 5.507 GB, free: 35.64 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/21.61, allocations: 287.5 kB / 5.507 GB, free: 35.52 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007185/21.62, allocations: 1.627 MB / 5.508 GB, free: 35.1 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003112/21.62, allocations: 154.7 kB / 5.509 GB, free: 35.1 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/21.62, allocations: 179.6 kB / 5.509 GB, free: 35.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008554/21.63, allocations: 3.072 MB / 5.512 GB, free: 34.86 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.713e-05/21.63, allocations: 2.781 kB / 5.512 GB, free: 34.86 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004803/21.63, allocations: 83.31 kB / 5.512 GB, free: 34.86 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003823/21.63, allocations: 183.2 kB / 5.512 GB, free: 34.86 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009046/21.64, allocations: 3.389 MB / 5.515 GB, free: 34.84 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03899/21.68, allocations: 11.99 MB / 5.527 GB, free: 30.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005291/21.68, allocations: 1.565 MB / 5.529 GB, free: 30.16 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003149/21.68, allocations: 1 MB / 5.53 GB, free: 30.15 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00233/21.69, allocations: 1.753 MB / 5.531 GB, free: 28.45 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.881e-05/21.69, allocations: 47.84 kB / 5.531 GB, free: 28.41 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003834/21.69, allocations: 320.5 kB / 5.532 GB, free: 28.32 MB / 0.573 GB Notification: Performance of pre-optimization done (n=157): time 1.649e-05/21.69, allocations: 0 / 5.532 GB, free: 28.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=169): time 0.04014/21.73, allocations: 6.966 MB / 5.538 GB, free: 27.58 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/21.73, allocations: 201.8 kB / 5.539 GB, free: 27.36 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003148/21.73, allocations: 1.419 MB / 5.54 GB, free: 27.17 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006993/21.73, allocations: 61.39 kB / 5.54 GB, free: 27.14 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007923/21.74, allocations: 0.9724 MB / 5.541 GB, free: 26.61 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001057/21.74, allocations: 0.589 MB / 5.542 GB, free: 26.23 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/21.74, allocations: 47.88 kB / 5.542 GB, free: 26.23 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001997/21.74, allocations: 401.4 kB / 5.542 GB, free: 25.92 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00319/21.74, allocations: 1.1 MB / 5.543 GB, free: 25.91 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003845/21.74, allocations: 1.638 MB / 5.545 GB, free: 25.32 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004191/21.75, allocations: 1.384 MB / 5.546 GB, free: 25.23 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/21.75, allocations: 6.281 kB / 5.546 GB, free: 25.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01461/21.76, allocations: 3.707 MB / 5.55 GB, free: 25.03 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001609/21.76, allocations: 5.815 MB / 5.555 GB, free: 18.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.338e-05/21.77, allocations: 15.19 kB / 5.555 GB, free: 18.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01278/21.78, allocations: 1.219 MB / 5.557 GB, free: 18.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005178/21.78, allocations: 0.5441 MB / 5.557 GB, free: 18.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/21.79, allocations: 2.016 MB / 5.559 GB, free: 17.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005702/21.79, allocations: 215.2 kB / 5.559 GB, free: 17.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/21.79, allocations: 179.7 kB / 5.559 GB, free: 17.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/21.79, allocations: 2.938 kB / 5.559 GB, free: 17.9 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01594/21.81, allocations: 3.552 MB / 5.563 GB, free: 17.77 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.602e-05/21.81, allocations: 17.41 kB / 5.563 GB, free: 17.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008739/21.82, allocations: 0.8665 MB / 5.564 GB, free: 17.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005164/21.82, allocations: 0.5449 MB / 5.564 GB, free: 17.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/21.83, allocations: 1.797 MB / 5.566 GB, free: 16.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004522/21.83, allocations: 196.9 kB / 5.566 GB, free: 16.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/21.83, allocations: 176.7 kB / 5.566 GB, free: 16.7 MB / 0.573 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 () * 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,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.001318/21.84, allocations: 241.2 kB / 5.567 GB, free: 16.58 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008352/21.84, allocations: 198.1 kB / 5.567 GB, free: 16.48 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/21.85, allocations: 3.803 MB / 5.571 GB, free: 16.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/21.85, allocations: 19.06 kB / 5.571 GB, free: 16.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/21.85, allocations: 1.969 kB / 5.571 GB, free: 16.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/21.85, allocations: 10.72 kB / 5.571 GB, free: 16.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/21.87, allocations: 5.761 MB / 5.576 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-05/21.87, allocations: 3.062 kB / 5.576 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003378/21.88, allocations: 346 kB / 5.576 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009613/21.89, allocations: 1.075 MB / 5.578 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008215/21.89, allocations: 73.86 kB / 5.578 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/21.89, allocations: 1.934 MB / 5.58 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/21.89, allocations: 10.88 kB / 5.58 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/21.9, allocations: 4.416 MB / 5.584 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/21.9, allocations: 313.9 kB / 5.584 GB, free: 13.63 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/21.91, allocations: 46.89 kB / 5.584 GB, free: 13.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003887/21.91, allocations: 151.3 kB / 5.584 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000695/21.91, allocations: 149.2 kB / 5.584 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004405/21.91, allocations: 121.4 kB / 5.585 GB, free: 13.61 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002638/21.91, allocations: 1.085 MB / 5.586 GB, free: 13.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.92e-07/21.91, allocations: 3.562 kB / 5.586 GB, free: 13.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01626/21.93, allocations: 3.173 MB / 5.589 GB, free: 12.9 MB / 0.573 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 () * 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.03054/21.96, allocations: 10.15 MB / 5.599 GB, free: 9.605 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01488/21.97, allocations: 4.542 MB / 5.603 GB, free: 9.301 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/21.97, allocations: 3 kB / 5.603 GB, free: 9.301 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004141/21.98, allocations: 1.265 MB / 5.604 GB, free: 9.293 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009288/21.99, allocations: 1.026 MB / 5.605 GB, free: 9.254 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/22.01, allocations: 5.501 MB / 5.611 GB, free: 7.879 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/22.01, allocations: 1.717 MB / 5.612 GB, free: 7.137 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003404/22.01, allocations: 0.9982 MB / 5.613 GB, free: 7.129 MB / 0.573 GB Notification: Performance of SimCode: time 1.634e-06/22.01, allocations: 0 / 5.613 GB, free: 7.129 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.89/26.9, allocations: 97.27 MB / 5.708 GB, free: 4.426 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat does not exist to compare? outputFormat=mat