Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01069/0.0107, allocations: 104.6 kB / 15.05 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001116/0.001116, allocations: 168.8 kB / 15.93 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.528/1.528, allocations: 170.9 MB / 187.5 MB, free: 0.9883 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2373/0.2373, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004386, allocations: 20 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.08873, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5276/0.6164, allocations: 170.6 MB / 0.5302 GB, free: 12.82 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02078/0.6372, allocations: 11.21 MB / 0.5412 GB, free: 1.578 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008385/0.6381, allocations: 31.75 kB / 0.5412 GB, free: 1.547 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.6395, allocations: 374.1 kB / 0.5415 GB, free: 1.18 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008616/0.6482, allocations: 2.33 MB / 0.5438 GB, free: 14.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01085/0.659, allocations: 2.904 MB / 0.5467 GB, free: 11.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.6621, allocations: 1.403 MB / 0.548 GB, free: 10.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.6633, allocations: 0.6082 MB / 0.5486 GB, free: 9.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00206/0.6653, allocations: 0.8609 MB / 0.5495 GB, free: 9.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.6671, allocations: 0.7868 MB / 0.5502 GB, free: 8.258 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.6673, allocations: 55.94 kB / 0.5503 GB, free: 8.203 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01702/0.6844, allocations: 6.682 MB / 0.5568 GB, free: 1.512 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008336/0.6853, allocations: 363.1 kB / 0.5572 GB, free: 1.156 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.6857, allocations: 233.2 kB / 0.5574 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009342/0.6951, allocations: 3.399 MB / 0.5607 GB, free: 13.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6951, allocations: 0 / 0.5607 GB, free: 13.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.6951, allocations: 0 / 0.5607 GB, free: 13.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.6952, allocations: 0 / 0.5607 GB, free: 13.52 MB / 426.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.006746/0.7019, allocations: 1.957 MB / 0.5626 GB, free: 11.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.702, allocations: 8.031 kB / 0.5626 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.7023, allocations: 134.8 kB / 0.5627 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005389/0.7028, allocations: 118.8 kB / 0.5629 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.7045, allocations: 0.707 MB / 0.5635 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/0.7046, allocations: 57.98 kB / 0.5636 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.7048, allocations: 67.98 kB / 0.5637 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/0.7081, allocations: 1.248 MB / 0.5649 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.7081, allocations: 4.812 kB / 0.5649 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.7083, allocations: 31.98 kB / 0.5649 GB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.7085, allocations: 73.95 kB / 0.565 GB, free: 9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/0.7122, allocations: 1.401 MB / 0.5664 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.7243, allocations: 4.548 MB / 0.5708 GB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.7265, allocations: 0.6614 MB / 0.5714 GB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009742/0.7275, allocations: 0.7888 MB / 0.5722 GB, free: 1.121 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.7276, allocations: 40.69 kB / 0.5723 GB, free: 1.074 MB / 426.7 MB Notification: Performance of pre-optimization done (n=54): time 2.996e-06/0.7276, allocations: 0 / 0.5723 GB, free: 1.074 MB / 426.7 MB Notification: Performance of matching and sorting (n=54): time 0.003143/0.7308, allocations: 0.9705 MB / 0.5732 GB, free: 104 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.7309, allocations: 111.2 kB / 0.5733 GB, free: 15.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.7322, allocations: 0.7385 MB / 0.574 GB, free: 15.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/0.7323, allocations: 33.7 kB / 0.5741 GB, free: 15.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/0.7328, allocations: 490.2 kB / 0.5745 GB, free: 14.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.733, allocations: 201.3 kB / 0.5747 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.7331, allocations: 20 kB / 0.5747 GB, free: 14.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.7333, allocations: 382.8 kB / 0.5751 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.7344, allocations: 365.7 kB / 0.5755 GB, free: 13.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.7358, allocations: 0.6115 MB / 0.5761 GB, free: 13.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.7371, allocations: 463 kB / 0.5765 GB, free: 12.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.7371, allocations: 3.938 kB / 0.5765 GB, free: 12.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003242/0.7404, allocations: 1.129 MB / 0.5776 GB, free: 11.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001093/0.7415, allocations: 3.048 MB / 0.5806 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.7415, allocations: 8 kB / 0.5806 GB, free: 8.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/0.7416, allocations: 15.98 kB / 0.5806 GB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.7433, allocations: 239.6 kB / 0.5808 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/0.7434, allocations: 12 kB / 0.5808 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.7447, allocations: 130.8 kB / 0.581 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.7449, allocations: 71.98 kB / 0.581 GB, free: 7.664 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.7449, allocations: 5.406 kB / 0.581 GB, free: 7.66 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00295/0.7479, allocations: 0.9918 MB / 0.582 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.7479, allocations: 8 kB / 0.582 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.7479, allocations: 15.98 kB / 0.582 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.7496, allocations: 223.6 kB / 0.5822 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/0.7496, allocations: 24.5 kB / 0.5823 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.7507, allocations: 104.1 kB / 0.5824 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.7509, allocations: 67.97 kB / 0.5824 GB, free: 6.234 MB / 442.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.0006504/0.7515, allocations: 369.8 kB / 0.5828 GB, free: 5.863 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.7517, allocations: 78.97 kB / 0.5829 GB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003774/0.7555, allocations: 1.106 MB / 0.5839 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.7556, allocations: 4 kB / 0.5839 GB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.7556, allocations: 7.953 kB / 0.584 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.7556, allocations: 0 / 0.584 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.7598, allocations: 1.744 MB / 0.5857 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7599, allocations: 4 kB / 0.5857 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.7609, allocations: 131.8 kB / 0.5858 GB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/0.761, allocations: 4 kB / 0.5858 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.7611, allocations: 28.17 kB / 0.5858 GB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.7611, allocations: 8 kB / 0.5858 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.7611, allocations: 4 kB / 0.5858 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.7637, allocations: 0.9917 MB / 0.5868 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.764, allocations: 183.8 kB / 0.587 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.7642, allocations: 12 kB / 0.587 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/0.7651, allocations: 39.97 kB / 0.587 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.7653, allocations: 56.39 kB / 0.5871 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.7655, allocations: 39.98 kB / 0.5871 GB, free: 1.215 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.7665, allocations: 0.5068 MB / 0.5876 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7665, allocations: 0 / 0.5876 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.2663/1.033, allocations: 1.155 MB / 0.5887 GB, free: 168.2 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.007137/1.04, allocations: 3.113 MB / 0.5918 GB, free: 166.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004248/1.044, allocations: 1.363 MB / 0.5931 GB, free: 166.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.044, allocations: 0 / 0.5931 GB, free: 166.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.045, allocations: 372.5 kB / 0.5935 GB, free: 166.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/1.048, allocations: 367.3 kB / 0.5938 GB, free: 166.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/1.056, allocations: 8.062 MB / 0.6017 GB, free: 159.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008449/1.056, allocations: 1.072 MB / 0.6027 GB, free: 159.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003794/1.06, allocations: 0.5227 MB / 0.6032 GB, free: 159.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.061, allocations: 362.9 kB / 0.6036 GB, free: 158.9 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/1.061, allocations: 0 / 0.6036 GB, free: 158.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09927/1.161, allocations: 36.96 MB / 0.6397 GB, free: 131.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/1.161, allocations: 237.4 kB / 0.6399 GB, free: 130.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.077/5.238, allocations: 3.938 kB / 0.6399 GB, free: 130.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat