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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.241/2.241, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.781e-05, allocations: 0 / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4226, allocations: 54.85 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.33/11.75, allocations: 3.659 GB / 4.009 GB, free: 119.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/11.75, allocations: 92.5 kB / 4.009 GB, free: 119.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.403/14.15, allocations: 467 MB / 4.465 GB, free: 33.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.044e-06/14.15, allocations: 4 kB / 4.465 GB, free: 33.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.467e-05/14.15, allocations: 27.12 kB / 4.465 GB, free: 33.71 MB / 474.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.007919/14.16, allocations: 1.941 MB / 4.467 GB, free: 31.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/14.16, allocations: 8.031 kB / 4.467 GB, free: 31.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007559/14.16, allocations: 122.6 kB / 4.467 GB, free: 31.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/14.16, allocations: 0.7652 MB / 4.468 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/14.16, allocations: 32 kB / 4.468 GB, free: 30.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/14.16, allocations: 40 kB / 4.468 GB, free: 30.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002691/14.17, allocations: 1.21 MB / 4.469 GB, free: 29.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/14.17, allocations: 1.1 MB / 4.47 GB, free: 28.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/14.17, allocations: 0 / 4.47 GB, free: 28.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/14.17, allocations: 7.891 kB / 4.47 GB, free: 28.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/14.17, allocations: 73.95 kB / 4.47 GB, free: 28.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/14.18, allocations: 4.491 MB / 4.474 GB, free: 23.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/14.18, allocations: 0.5704 MB / 4.475 GB, free: 22.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/14.18, allocations: 270 kB / 4.475 GB, free: 22.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008252/14.18, allocations: 0.7497 MB / 4.476 GB, free: 21.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/14.18, allocations: 39 kB / 4.476 GB, free: 21.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=52): time 3.196e-06/14.18, allocations: 3.938 kB / 4.476 GB, free: 21.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.003058/14.19, allocations: 0.7254 MB / 4.477 GB, free: 21.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/14.19, allocations: 107.2 kB / 4.477 GB, free: 20.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/14.19, allocations: 0.5737 MB / 4.477 GB, free: 20.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/14.19, allocations: 25.7 kB / 4.477 GB, free: 20.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/14.19, allocations: 0.5082 MB / 4.478 GB, free: 19.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/14.19, allocations: 181.3 kB / 4.478 GB, free: 19.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/14.19, allocations: 0 / 4.478 GB, free: 19.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.318e-05/14.19, allocations: 346.8 kB / 4.478 GB, free: 19.24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/14.19, allocations: 314.5 kB / 4.479 GB, free: 18.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008001/14.19, allocations: 0.5402 MB / 4.479 GB, free: 18.28 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/14.2, allocations: 1.463 MB / 4.481 GB, free: 16.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/14.2, allocations: 0 / 4.481 GB, free: 16.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01334/14.22, allocations: 1.978 MB / 4.483 GB, free: 14.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005623/14.22, allocations: 2.871 MB / 4.485 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/14.22, allocations: 8 kB / 4.485 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.013e-05/14.22, allocations: 19.92 kB / 4.485 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/14.22, allocations: 227.7 kB / 4.486 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/14.22, allocations: 15.94 kB / 4.486 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/14.22, allocations: 106.9 kB / 4.486 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/14.22, allocations: 71.97 kB / 4.486 GB, free: 11.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/14.22, allocations: 4 kB / 4.486 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01286/14.23, allocations: 1.832 MB / 4.488 GB, free: 9.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/14.23, allocations: 7.953 kB / 4.488 GB, free: 9.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/14.23, allocations: 19.98 kB / 4.488 GB, free: 9.441 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/14.23, allocations: 227.6 kB / 4.488 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/14.23, allocations: 15.94 kB / 4.488 GB, free: 9.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/14.24, allocations: 79.55 kB / 4.488 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/14.24, allocations: 63.97 kB / 4.488 GB, free: 9.062 MB / 474.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.000289/14.24, allocations: 128.7 kB / 4.488 GB, free: 8.93 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003004/14.24, allocations: 0.6981 MB / 4.489 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/14.24, allocations: 94.94 kB / 4.489 GB, free: 8.129 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/14.24, allocations: 0.9793 MB / 4.49 GB, free: 7.125 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/14.24, allocations: 4 kB / 4.49 GB, free: 7.121 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/14.24, allocations: 0 / 4.49 GB, free: 7.121 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/14.24, allocations: 7.969 kB / 4.49 GB, free: 7.113 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/14.25, allocations: 1.514 MB / 4.491 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/14.25, allocations: 3.938 kB / 4.491 GB, free: 5.539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009112/14.25, allocations: 111.9 kB / 4.491 GB, free: 5.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/14.25, allocations: 4 kB / 4.491 GB, free: 5.426 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/14.25, allocations: 11.98 kB / 4.491 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.515e-06/14.25, allocations: 8.25 kB / 4.491 GB, free: 5.406 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/14.25, allocations: 7.938 kB / 4.491 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/14.25, allocations: 0.8966 MB / 4.492 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/14.25, allocations: 191.9 kB / 4.492 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/14.25, allocations: 4 kB / 4.492 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009088/14.25, allocations: 35.92 kB / 4.493 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/14.25, allocations: 48.31 kB / 4.493 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-05/14.25, allocations: 31.98 kB / 4.493 GB, free: 4.086 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007874/14.25, allocations: 463.1 kB / 4.493 GB, free: 3.637 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/14.25, allocations: 0 / 4.493 GB, free: 3.637 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004905/14.26, allocations: 1.271 MB / 4.494 GB, free: 2.363 MB / 474.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 (55): * Single equations (assignments): 55 * 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.01026/14.27, allocations: 4.023 MB / 4.498 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003369/14.27, allocations: 1.139 MB / 4.499 GB, free: 13.33 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/14.27, allocations: 0 / 4.499 GB, free: 13.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007082/14.27, allocations: 269.4 kB / 4.5 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/14.28, allocations: 321.1 kB / 4.5 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007332/14.28, allocations: 1.95 MB / 4.502 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009775/14.28, allocations: 1.07 MB / 4.503 GB, free: 9.629 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/14.29, allocations: 375.3 kB / 4.503 GB, free: 9.262 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/14.29, allocations: 0 / 4.503 GB, free: 9.262 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.783/18.07, allocations: 33.25 MB / 4.536 GB, free: 60.52 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