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.TestMultiPort.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.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.678e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4119, allocations: 54.85 MB / 364.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.17/11.58, allocations: 3.66 GB / 4.016 GB, free: 71.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/11.58, allocations: 87.45 kB / 4.016 GB, free: 71.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046/14.62, allocations: 472.2 MB / 4.477 GB, free: 54.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/14.62, allocations: 0 / 4.477 GB, free: 54.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.974e-05/14.62, allocations: 25.06 kB / 4.477 GB, free: 54.93 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008813/14.63, allocations: 1.947 MB / 4.479 GB, free: 54.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.033e-05/14.63, allocations: 9.156 kB / 4.479 GB, free: 54.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004357/14.63, allocations: 121.1 kB / 4.479 GB, free: 54.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008053/14.64, allocations: 125.8 kB / 4.479 GB, free: 54.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/14.64, allocations: 0.7717 MB / 4.48 GB, free: 53.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/14.64, allocations: 56.38 kB / 4.48 GB, free: 53.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/14.64, allocations: 76.81 kB / 4.48 GB, free: 53.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/14.64, allocations: 1.209 MB / 4.481 GB, free: 53.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/14.64, allocations: 0 / 4.481 GB, free: 53.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/14.64, allocations: 35.62 kB / 4.481 GB, free: 53.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001988/14.64, allocations: 72.56 kB / 4.481 GB, free: 53.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/14.65, allocations: 1.319 MB / 4.482 GB, free: 53.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/14.66, allocations: 4.614 MB / 4.487 GB, free: 51.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/14.66, allocations: 0.5995 MB / 4.488 GB, free: 51.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000803/14.66, allocations: 283 kB / 4.488 GB, free: 51.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/14.67, allocations: 0.7896 MB / 4.489 GB, free: 51.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/14.67, allocations: 41.84 kB / 4.489 GB, free: 51.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=54): time 2.735e-06/14.67, allocations: 0 / 4.489 GB, free: 51.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.0023/14.67, allocations: 0.6374 MB / 4.489 GB, free: 51.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/14.67, allocations: 112.7 kB / 4.489 GB, free: 50.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/14.67, allocations: 0.645 MB / 4.49 GB, free: 50.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/14.67, allocations: 36.55 kB / 4.49 GB, free: 50.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/14.67, allocations: 0.5024 MB / 4.491 GB, free: 50.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/14.67, allocations: 186.3 kB / 4.491 GB, free: 50.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/14.67, allocations: 16.06 kB / 4.491 GB, free: 50.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/14.67, allocations: 345.6 kB / 4.491 GB, free: 50.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008783/14.67, allocations: 317.2 kB / 4.491 GB, free: 50.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/14.67, allocations: 0.5587 MB / 4.492 GB, free: 49.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/14.67, allocations: 427.1 kB / 4.492 GB, free: 49.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/14.67, allocations: 0 / 4.492 GB, free: 49.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002709/14.68, allocations: 0.9988 MB / 4.493 GB, free: 49.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006678/14.68, allocations: 2.874 MB / 4.496 GB, free: 46.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/14.68, allocations: 6.75 kB / 4.496 GB, free: 46.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.614e-05/14.68, allocations: 18.33 kB / 4.496 GB, free: 46.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/14.68, allocations: 228.2 kB / 4.496 GB, free: 46.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-05/14.68, allocations: 19.95 kB / 4.496 GB, free: 46.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/14.68, allocations: 129.3 kB / 4.496 GB, free: 46.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003205/14.68, allocations: 67.31 kB / 4.497 GB, free: 46.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/14.68, allocations: 8.156 kB / 4.497 GB, free: 46.71 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002661/14.68, allocations: 0.8991 MB / 4.497 GB, free: 46.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/14.68, allocations: 6.812 kB / 4.497 GB, free: 46.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/14.68, allocations: 11.16 kB / 4.497 GB, free: 46.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/14.69, allocations: 227.9 kB / 4.498 GB, free: 46.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/14.69, allocations: 20.69 kB / 4.498 GB, free: 46.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/14.69, allocations: 104 kB / 4.498 GB, free: 46.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/14.69, allocations: 62.09 kB / 4.498 GB, free: 46.67 MB / 490.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 () * 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.0003687/14.69, allocations: 155.3 kB / 4.498 GB, free: 46.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/14.69, allocations: 85.95 kB / 4.498 GB, free: 46.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/14.69, allocations: 1.012 MB / 4.499 GB, free: 46.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/14.69, allocations: 6.188 kB / 4.499 GB, free: 46.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/14.69, allocations: 0 / 4.499 GB, free: 46.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/14.69, allocations: 5.641 kB / 4.499 GB, free: 46.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/14.7, allocations: 1.662 MB / 4.501 GB, free: 46.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/14.7, allocations: 0 / 4.501 GB, free: 46.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/14.7, allocations: 128.8 kB / 4.501 GB, free: 46.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/14.7, allocations: 5.75 kB / 4.501 GB, free: 46.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.309e-05/14.7, allocations: 27.73 kB / 4.501 GB, free: 46.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/14.7, allocations: 7.578 kB / 4.501 GB, free: 46.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/14.7, allocations: 7.516 kB / 4.501 GB, free: 46.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/14.7, allocations: 0.9186 MB / 4.502 GB, free: 45.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/14.7, allocations: 187.9 kB / 4.502 GB, free: 45.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/14.7, allocations: 13.97 kB / 4.502 GB, free: 45.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/14.7, allocations: 42.72 kB / 4.502 GB, free: 45.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/14.7, allocations: 49.11 kB / 4.502 GB, free: 45.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/14.7, allocations: 43.64 kB / 4.502 GB, free: 45.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001006/14.7, allocations: 0.4996 MB / 4.503 GB, free: 45.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/14.7, allocations: 3.281 kB / 4.503 GB, free: 45.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005786/14.71, allocations: 1.33 MB / 4.504 GB, free: 45.21 MB / 490.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 () * 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.009199/14.72, allocations: 3.891 MB / 4.508 GB, free: 43.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003342/14.72, allocations: 1.233 MB / 4.509 GB, free: 43.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/14.72, allocations: 2.469 kB / 4.509 GB, free: 43.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008192/14.72, allocations: 333.6 kB / 4.509 GB, free: 43.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/14.72, allocations: 348 kB / 4.51 GB, free: 43.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/14.73, allocations: 2.037 MB / 4.512 GB, free: 42.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/14.73, allocations: 1.068 MB / 4.513 GB, free: 42.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/14.73, allocations: 389.6 kB / 4.513 GB, free: 42.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/14.73, allocations: 0 / 4.513 GB, free: 42.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.438/18.17, allocations: 33.45 MB / 4.546 GB, free: 40.06 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat