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.TestMultiPort.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.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.827/1.827, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004264, allocations: 20 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3467, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.78/11.13, allocations: 3.653 GB / 3.977 GB, free: 92.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/11.13, allocations: 86.56 kB / 3.977 GB, free: 92.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.68/13.81, allocations: 471 MB / 4.437 GB, free: 43.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.404e-06/13.81, allocations: 2.688 kB / 4.437 GB, free: 43.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001206/13.81, allocations: 27.84 kB / 4.437 GB, free: 43.97 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.009845/13.82, allocations: 2.057 MB / 4.439 GB, free: 43.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/13.82, allocations: 7.625 kB / 4.439 GB, free: 43.12 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006661/13.82, allocations: 132.1 kB / 4.439 GB, free: 43.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006637/13.82, allocations: 115.3 kB / 4.439 GB, free: 43.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/13.82, allocations: 0.7914 MB / 4.44 GB, free: 42.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-05/13.82, allocations: 53.58 kB / 4.44 GB, free: 42.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/13.82, allocations: 77.56 kB / 4.44 GB, free: 42.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/13.83, allocations: 1.231 MB / 4.441 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/13.83, allocations: 0 / 4.441 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/13.83, allocations: 37.67 kB / 4.441 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001614/13.83, allocations: 78.45 kB / 4.441 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003874/13.83, allocations: 1.378 MB / 4.442 GB, free: 42.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/13.84, allocations: 4.46 MB / 4.447 GB, free: 40.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/13.85, allocations: 0.6202 MB / 4.447 GB, free: 40.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008937/13.85, allocations: 0.785 MB / 4.448 GB, free: 40.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/13.85, allocations: 37.31 kB / 4.448 GB, free: 40.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 3.015e-06/13.85, allocations: 0 / 4.448 GB, free: 40.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.003041/13.85, allocations: 0.9278 MB / 4.449 GB, free: 40.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/13.85, allocations: 114.5 kB / 4.449 GB, free: 39.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/13.85, allocations: 0.655 MB / 4.45 GB, free: 39.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/13.85, allocations: 36.98 kB / 4.45 GB, free: 39.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/13.85, allocations: 0.5026 MB / 4.45 GB, free: 39.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/13.85, allocations: 183.7 kB / 4.451 GB, free: 39.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/13.85, allocations: 17.06 kB / 4.451 GB, free: 39.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.594e-05/13.85, allocations: 345.3 kB / 4.451 GB, free: 39.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/13.85, allocations: 343.4 kB / 4.451 GB, free: 39.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/13.85, allocations: 0.5892 MB / 4.452 GB, free: 38.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/13.85, allocations: 440.2 kB / 4.452 GB, free: 38.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/13.86, allocations: 3.719 kB / 4.452 GB, free: 38.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002973/13.86, allocations: 1.034 MB / 4.453 GB, free: 38.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006373/13.86, allocations: 2.885 MB / 4.456 GB, free: 35.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/13.86, allocations: 9.375 kB / 4.456 GB, free: 35.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.015e-05/13.86, allocations: 16.56 kB / 4.456 GB, free: 35.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/13.86, allocations: 234.7 kB / 4.456 GB, free: 35.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/13.86, allocations: 14.88 kB / 4.456 GB, free: 35.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/13.86, allocations: 128.2 kB / 4.456 GB, free: 35.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/13.86, allocations: 67.69 kB / 4.457 GB, free: 35.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/13.86, allocations: 5.875 kB / 4.457 GB, free: 35.72 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002658/13.87, allocations: 0.9431 MB / 4.457 GB, free: 35.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/13.87, allocations: 10.31 kB / 4.457 GB, free: 35.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/13.87, allocations: 14.98 kB / 4.457 GB, free: 35.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/13.87, allocations: 230.8 kB / 4.458 GB, free: 35.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/13.87, allocations: 15.47 kB / 4.458 GB, free: 35.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/13.87, allocations: 97.03 kB / 4.458 GB, free: 35.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/13.87, allocations: 70.84 kB / 4.458 GB, free: 35.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (110): * Single equations (assignments): 110 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007845/13.87, allocations: 371.2 kB / 4.458 GB, free: 35.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/13.87, allocations: 80.47 kB / 4.458 GB, free: 35.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/13.87, allocations: 1.064 MB / 4.459 GB, free: 35.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/13.87, allocations: 3.562 kB / 4.459 GB, free: 35.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/13.87, allocations: 0 / 4.459 GB, free: 35.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/13.87, allocations: 7.203 kB / 4.459 GB, free: 35.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/13.88, allocations: 1.697 MB / 4.461 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/13.88, allocations: 4.406 kB / 4.461 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/13.88, allocations: 132 kB / 4.461 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/13.88, allocations: 8.156 kB / 4.461 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/13.88, allocations: 20.73 kB / 4.461 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/13.88, allocations: 8.094 kB / 4.461 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/13.88, allocations: 2.969 kB / 4.461 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/13.88, allocations: 0.9637 MB / 4.462 GB, free: 34.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/13.88, allocations: 183.2 kB / 4.462 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/13.88, allocations: 18.45 kB / 4.462 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/13.88, allocations: 47.42 kB / 4.462 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/13.88, allocations: 50.08 kB / 4.462 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/13.88, allocations: 44.48 kB / 4.462 GB, free: 34.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009947/13.88, allocations: 0.506 MB / 4.463 GB, free: 34.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/13.88, allocations: 0 / 4.463 GB, free: 34.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005377/13.89, allocations: 1.329 MB / 4.464 GB, free: 34.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (63): * Single equations (assignments): 63 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009409/13.9, allocations: 3.944 MB / 4.468 GB, free: 32.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003772/13.9, allocations: 1.3 MB / 4.469 GB, free: 32.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/13.9, allocations: 3.844 kB / 4.469 GB, free: 32.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009527/13.9, allocations: 356.7 kB / 4.47 GB, free: 32.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/13.91, allocations: 344.9 kB / 4.47 GB, free: 32.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008878/13.91, allocations: 8.045 MB / 4.478 GB, free: 25.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/13.92, allocations: 1.068 MB / 4.479 GB, free: 25.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/13.92, allocations: 388.4 kB / 4.479 GB, free: 25.07 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/13.92, allocations: 0 / 4.479 GB, free: 25.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.212/17.13, allocations: 33.23 MB / 4.512 GB, free: 22.45 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat