Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01696/0.01696, allocations: 106.3 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001211/0.001211, allocations: 182.6 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.908/1.908, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2995/0.2995, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006369/0.0006371, allocations: 12 kB / 361.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.111, allocations: 54.87 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5621/0.6731, allocations: 170.8 MB / 0.5731 GB, free: 13 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.6948, allocations: 11.25 MB / 0.5841 GB, free: 1.734 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009922/0.6958, allocations: 35.69 kB / 0.5841 GB, free: 1.699 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.6974, allocations: 386.2 kB / 0.5845 GB, free: 1.32 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009271/0.7067, allocations: 2.325 MB / 0.5867 GB, free: 15 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01157/0.7183, allocations: 2.926 MB / 0.5896 GB, free: 12.07 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.7217, allocations: 1.414 MB / 0.591 GB, free: 10.66 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.7232, allocations: 0.6158 MB / 0.5916 GB, free: 10.03 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.7258, allocations: 0.8648 MB / 0.5924 GB, free: 9.16 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.728, allocations: 0.7946 MB / 0.5932 GB, free: 8.363 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002626/0.7282, allocations: 52 kB / 0.5932 GB, free: 8.312 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/0.7461, allocations: 6.737 MB / 0.5998 GB, free: 1.566 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008735/0.747, allocations: 371 kB / 0.6002 GB, free: 1.203 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.7475, allocations: 233.2 kB / 0.6004 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009612/0.7571, allocations: 3.4 MB / 0.6037 GB, free: 13.56 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.7572, allocations: 0 / 0.6037 GB, free: 13.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7572, allocations: 0 / 0.6037 GB, free: 13.56 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.7572, allocations: 0 / 0.6037 GB, free: 13.56 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.007156/0.7644, allocations: 1.957 MB / 0.6056 GB, free: 11.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.7644, allocations: 12.03 kB / 0.6056 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003588/0.7648, allocations: 130.8 kB / 0.6058 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005858/0.7654, allocations: 122.7 kB / 0.6059 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.7672, allocations: 0.6992 MB / 0.6066 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.7673, allocations: 57.98 kB / 0.6066 GB, free: 10.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.7675, allocations: 75.92 kB / 0.6067 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/0.7711, allocations: 1.251 MB / 0.6079 GB, free: 9.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.7712, allocations: 0 / 0.6079 GB, free: 9.145 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.7714, allocations: 31.98 kB / 0.6079 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.7716, allocations: 81.91 kB / 0.608 GB, free: 9.035 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004209/0.7758, allocations: 1.405 MB / 0.6094 GB, free: 7.625 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/0.7897, allocations: 4.7 MB / 0.614 GB, free: 2.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.792, allocations: 0.6549 MB / 0.6146 GB, free: 1.914 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.7932, allocations: 0.7927 MB / 0.6154 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.7933, allocations: 38.94 kB / 0.6154 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of pre-optimization done (n=54): time 3.827e-06/0.7933, allocations: 4 kB / 0.6154 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of matching and sorting (n=54): time 0.3018/1.095, allocations: 0.9666 MB / 0.6164 GB, free: 150 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/1.095, allocations: 109.5 kB / 0.6165 GB, free: 149.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.096, allocations: 0.741 MB / 0.6172 GB, free: 149.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/1.097, allocations: 36.83 kB / 0.6172 GB, free: 149.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/1.097, allocations: 487 kB / 0.6177 GB, free: 149.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/1.097, allocations: 190.4 kB / 0.6179 GB, free: 149.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/1.097, allocations: 18.59 kB / 0.6179 GB, free: 149.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/1.097, allocations: 394.6 kB / 0.6183 GB, free: 149.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/1.099, allocations: 359.8 kB / 0.6186 GB, free: 149.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.1, allocations: 0.6096 MB / 0.6192 GB, free: 148.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/1.101, allocations: 470.3 kB / 0.6197 GB, free: 148.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.101, allocations: 0 / 0.6197 GB, free: 148.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003031/1.104, allocations: 1.13 MB / 0.6208 GB, free: 148.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006192/1.105, allocations: 3.049 MB / 0.6238 GB, free: 145.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/1.105, allocations: 6.531 kB / 0.6238 GB, free: 145.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.173e-05/1.105, allocations: 16.52 kB / 0.6238 GB, free: 145.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.106, allocations: 230.1 kB / 0.624 GB, free: 145.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/1.106, allocations: 22.94 kB / 0.624 GB, free: 145.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.108, allocations: 122.6 kB / 0.6241 GB, free: 145.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/1.108, allocations: 68.98 kB / 0.6242 GB, free: 145.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.108, allocations: 3.312 kB / 0.6242 GB, free: 145.4 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002886/1.111, allocations: 0.9925 MB / 0.6252 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.111, allocations: 6.5 kB / 0.6252 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.111, allocations: 15.88 kB / 0.6252 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.113, allocations: 230.7 kB / 0.6254 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/1.113, allocations: 16.75 kB / 0.6254 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.114, allocations: 104.8 kB / 0.6255 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/1.114, allocations: 65.98 kB / 0.6256 GB, free: 145.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (112): * Single equations (assignments): 112 * 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.0007434/1.115, allocations: 377.7 kB / 0.626 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/1.115, allocations: 89.34 kB / 0.626 GB, free: 145 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/1.118, allocations: 1.085 MB / 0.6271 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.118, allocations: 4.438 kB / 0.6271 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.118, allocations: 3.469 kB / 0.6271 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/1.119, allocations: 3.328 kB / 0.6271 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/1.122, allocations: 1.752 MB / 0.6288 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.122, allocations: 3.156 kB / 0.6288 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009916/1.123, allocations: 130.9 kB / 0.6289 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/1.123, allocations: 7.688 kB / 0.629 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/1.123, allocations: 23.45 kB / 0.629 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/1.123, allocations: 14.05 kB / 0.629 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/1.123, allocations: 1.078 kB / 0.629 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/1.126, allocations: 0.9918 MB / 0.63 GB, free: 143.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/1.126, allocations: 188.2 kB / 0.6301 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/1.126, allocations: 14.03 kB / 0.6302 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008502/1.127, allocations: 34 kB / 0.6302 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.127, allocations: 52.02 kB / 0.6302 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.127, allocations: 43.92 kB / 0.6303 GB, free: 143.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008724/1.128, allocations: 0.5043 MB / 0.6308 GB, free: 143.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.128, allocations: 0 / 0.6308 GB, free: 143.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003783/1.132, allocations: 1.158 MB / 0.6319 GB, free: 142.9 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 () * 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.006589/1.139, allocations: 3.129 MB / 0.635 GB, free: 141.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003848/1.142, allocations: 1.353 MB / 0.6363 GB, free: 140.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.026e-06/1.143, allocations: 5.031 kB / 0.6363 GB, free: 140.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009897/1.144, allocations: 372 kB / 0.6366 GB, free: 140.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/1.147, allocations: 355.7 kB / 0.637 GB, free: 140.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007181/1.154, allocations: 8.073 MB / 0.6449 GB, free: 133.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/1.155, allocations: 1.068 MB / 0.6459 GB, free: 132.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003381/1.158, allocations: 0.5258 MB / 0.6464 GB, free: 132.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009697/1.159, allocations: 366.9 kB / 0.6468 GB, free: 132.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.195e-06/1.159, allocations: 0 / 0.6468 GB, free: 132.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0974/1.256, allocations: 36.97 MB / 0.6829 GB, free: 118 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/1.257, allocations: 237.5 kB / 0.6831 GB, free: 117.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.058/5.315, allocations: 4 kB / 0.6831 GB, free: 117.7 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat