Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 72.06 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1006, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.4056/0.5063, allocations: 216 MB / 0.6798 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.5176, allocations: 8.498 MB / 0.6881 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.5184, allocations: 31.81 kB / 0.6882 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.5199, allocations: 497 kB / 0.6886 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006744/0.5266, allocations: 2.819 MB / 0.6914 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.537, allocations: 4.249 MB / 0.6955 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003078/0.5401, allocations: 2.647 MB / 0.6981 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.5415, allocations: 0.7387 MB / 0.6988 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.5436, allocations: 1.024 MB / 0.6998 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.5456, allocations: 1.133 MB / 0.701 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003742/0.546, allocations: 112 kB / 0.7011 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2802/0.8262, allocations: 7.684 MB / 0.7086 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.8273, allocations: 474.4 kB / 0.709 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.8285, allocations: 0.6041 MB / 0.7096 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.013/0.8415, allocations: 5.408 MB / 0.7149 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.8416, allocations: 1.938 kB / 0.7149 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8416, allocations: 0 / 0.7149 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.891e-05/0.8416, allocations: 1.203 kB / 0.7149 GB, free: 8.691 MB / 0.5294 GB 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.005693/0.8473, allocations: 2.171 MB / 0.717 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.8474, allocations: 10.78 kB / 0.717 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/0.8476, allocations: 127.4 kB / 0.7171 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.848, allocations: 121 kB / 0.7173 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.849, allocations: 0.6941 MB / 0.7179 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/0.849, allocations: 62.81 kB / 0.718 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.8492, allocations: 73.64 kB / 0.7181 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.8511, allocations: 1.249 MB / 0.7193 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.8511, allocations: 1.031 kB / 0.7193 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.8512, allocations: 32.23 kB / 0.7193 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.772e-05/0.8513, allocations: 71.62 kB / 0.7194 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.8535, allocations: 1.397 MB / 0.7207 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007261/0.8608, allocations: 4.903 MB / 0.7255 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.8625, allocations: 0.8368 MB / 0.7264 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.863, allocations: 404.6 kB / 0.7267 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000747/0.8638, allocations: 0.7872 MB / 0.7275 GB, free: 20.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.8639, allocations: 43.94 kB / 0.7275 GB, free: 20.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 3.617e-06/0.8639, allocations: 0.875 kB / 0.7276 GB, free: 20.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=53): time 0.002263/0.8661, allocations: 1.209 MB / 0.7287 GB, free: 20.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.8662, allocations: 111.6 kB / 0.7288 GB, free: 19.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.8673, allocations: 0.9885 MB / 0.7298 GB, free: 19.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.096e-05/0.8674, allocations: 39.89 kB / 0.7298 GB, free: 19.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.8677, allocations: 458.4 kB / 0.7303 GB, free: 19.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.8678, allocations: 183.5 kB / 0.7305 GB, free: 19.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.8682, allocations: 195.2 kB / 0.7306 GB, free: 19.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8683, allocations: 341.1 kB / 0.731 GB, free: 19.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.869, allocations: 482.3 kB / 0.7314 GB, free: 19.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008034/0.8698, allocations: 0.6031 MB / 0.732 GB, free: 19.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.8712, allocations: 1.002 MB / 0.733 GB, free: 18.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8713, allocations: 4.062 kB / 0.733 GB, free: 18.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00206/0.8733, allocations: 1.272 MB / 0.7342 GB, free: 18.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.8734, allocations: 6.031 kB / 0.7342 GB, free: 18.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.8734, allocations: 6.062 kB / 0.7342 GB, free: 18.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.8734, allocations: 10.92 kB / 0.7343 GB, free: 18.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/0.8743, allocations: 199.2 kB / 0.7344 GB, free: 18.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.8743, allocations: 11.97 kB / 0.7345 GB, free: 18.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009451/0.8752, allocations: 120.3 kB / 0.7346 GB, free: 18.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.8754, allocations: 49.44 kB / 0.7346 GB, free: 18.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000948/0.8763, allocations: 0.6639 MB / 0.7353 GB, free: 18.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007466/0.8771, allocations: 0.5931 MB / 0.7359 GB, free: 18.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001302/0.8784, allocations: 0.9634 MB / 0.7368 GB, free: 18.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.8784, allocations: 1.859 kB / 0.7368 GB, free: 18.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002018/0.8804, allocations: 1.212 MB / 0.738 GB, free: 18.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.8804, allocations: 6.5 kB / 0.738 GB, free: 18.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.8805, allocations: 4.906 kB / 0.738 GB, free: 18.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.8805, allocations: 11.5 kB / 0.738 GB, free: 18.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/0.8813, allocations: 196.2 kB / 0.7382 GB, free: 18.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.8813, allocations: 8.531 kB / 0.7382 GB, free: 18.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009055/0.8823, allocations: 78.7 kB / 0.7383 GB, free: 18.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.8824, allocations: 46.38 kB / 0.7383 GB, free: 18.29 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (101): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003308/0.8827, allocations: 226.8 kB / 0.7385 GB, free: 18.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.8829, allocations: 96.81 kB / 0.7386 GB, free: 18.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.8851, allocations: 1.183 MB / 0.7398 GB, free: 17.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.8852, allocations: 5.906 kB / 0.7398 GB, free: 17.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8852, allocations: 2.875 kB / 0.7398 GB, free: 17.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.8852, allocations: 6.781 kB / 0.7398 GB, free: 17.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.8878, allocations: 1.86 MB / 0.7416 GB, free: 17.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8878, allocations: 2.75 kB / 0.7416 GB, free: 17.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.8883, allocations: 108.2 kB / 0.7417 GB, free: 17.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8883, allocations: 5.156 kB / 0.7417 GB, free: 17.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.8883, allocations: 19.62 kB / 0.7417 GB, free: 17.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.8883, allocations: 4.25 kB / 0.7417 GB, free: 17.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8884, allocations: 5.078 kB / 0.7417 GB, free: 17.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.8897, allocations: 0.9336 MB / 0.7427 GB, free: 17.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.89, allocations: 182.8 kB / 0.7428 GB, free: 17.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.8901, allocations: 14.92 kB / 0.7428 GB, free: 17.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/0.8908, allocations: 36.05 kB / 0.7429 GB, free: 17.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8909, allocations: 43.69 kB / 0.7429 GB, free: 17.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.381e-05/0.891, allocations: 40.05 kB / 0.743 GB, free: 17.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008776/0.8919, allocations: 0.7649 MB / 0.7437 GB, free: 17 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8919, allocations: 1.156 kB / 0.7437 GB, free: 17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003144/0.8951, allocations: 1.172 MB / 0.7449 GB, free: 16.8 MB / 0.545 GB 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004497/0.8996, allocations: 2.465 MB / 0.7473 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002704/0.9023, allocations: 1.632 MB / 0.7489 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9023, allocations: 1 kB / 0.7489 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.9029, allocations: 373.5 kB / 0.7492 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.9053, allocations: 0.5333 MB / 0.7497 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.917, allocations: 9.604 MB / 0.7591 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.9176, allocations: 1.049 MB / 0.7601 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001814/0.9194, allocations: 0.7472 MB / 0.7609 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.9199, allocations: 340.7 kB / 0.7612 GB, free: 11.93 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.9199, allocations: 0.9688 kB / 0.7612 GB, free: 11.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07366/0.9936, allocations: 44.91 MB / 0.805 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.705/9.698, allocations: 6.5 kB / 0.8051 GB, free: 6.211 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches