Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004065/0.00407, allocations: 348.5 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.912/3.912, allocations: 341.5 MB / 358.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00351/0.003509, allocations: 229.5 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5521/0.5521, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09349, allocations: 48.69 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.17/2.264, allocations: 0.608 GB / 1.215 GB, free: 57.65 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/2.264, allocations: 98.94 kB / 1.215 GB, free: 57.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.604/3.868, allocations: 280.2 MB / 1.488 GB, free: 69.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.975e-06/3.868, allocations: 2.375 kB / 1.488 GB, free: 69.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.831e-05/3.868, allocations: 17.94 kB / 1.489 GB, free: 69.46 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004866/3.873, allocations: 1.315 MB / 1.49 GB, free: 68.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/3.873, allocations: 8.125 kB / 1.49 GB, free: 68.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/3.875, allocations: 158.5 kB / 1.49 GB, free: 68.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/3.877, allocations: 0.538 MB / 1.49 GB, free: 68.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/3.877, allocations: 32.38 kB / 1.491 GB, free: 68.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/3.877, allocations: 42.25 kB / 1.491 GB, free: 68.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/3.879, allocations: 0.6346 MB / 1.491 GB, free: 68.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/3.879, allocations: 6.094 kB / 1.491 GB, free: 68.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/3.879, allocations: 23.06 kB / 1.491 GB, free: 68.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/3.879, allocations: 9.562 kB / 1.491 GB, free: 68.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/3.88, allocations: 0.4908 MB / 1.492 GB, free: 68.35 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004256/3.885, allocations: 2.579 MB / 1.494 GB, free: 66.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009701/3.886, allocations: 295.4 kB / 1.494 GB, free: 66.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004704/3.886, allocations: 174.5 kB / 1.495 GB, free: 66.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/3.888, allocations: 1.313 MB / 1.496 GB, free: 65.53 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/3.888, allocations: 37.22 kB / 1.496 GB, free: 65.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.206e-06/3.888, allocations: 0 / 1.496 GB, free: 65.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002529/3.89, allocations: 0.6716 MB / 1.497 GB, free: 65.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/3.89, allocations: 161.3 kB / 1.497 GB, free: 65.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007748/3.891, allocations: 456.6 kB / 1.497 GB, free: 65.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.959e-05/3.891, allocations: 37.39 kB / 1.497 GB, free: 64.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/3.892, allocations: 316.8 kB / 1.498 GB, free: 64.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/3.892, allocations: 124.7 kB / 1.498 GB, free: 64.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/3.892, allocations: 12.28 kB / 1.498 GB, free: 64.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/3.892, allocations: 362.7 kB / 1.498 GB, free: 64.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/3.892, allocations: 145 kB / 1.498 GB, free: 64.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/3.893, allocations: 368.8 kB / 1.499 GB, free: 64.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/3.894, allocations: 201.9 kB / 1.499 GB, free: 64.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/3.894, allocations: 1.5 kB / 1.499 GB, free: 64.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001716/3.895, allocations: 0.6065 MB / 1.499 GB, free: 64.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/3.895, allocations: 11.36 kB / 1.499 GB, free: 64.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/3.895, allocations: 5.781 kB / 1.499 GB, free: 64.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/3.898, allocations: 235.2 kB / 1.5 GB, free: 64.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/3.899, allocations: 135.2 kB / 1.5 GB, free: 64.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005433/3.899, allocations: 0.597 MB / 1.5 GB, free: 63.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/3.9, allocations: 64.78 kB / 1.5 GB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/3.9, allocations: 58.22 kB / 1.5 GB, free: 63.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004322/3.9, allocations: 197.7 kB / 1.501 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/3.901, allocations: 49.5 kB / 1.501 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/3.903, allocations: 0.6795 MB / 1.501 GB, free: 63.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/3.903, allocations: 7.703 kB / 1.501 GB, free: 63.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/3.903, allocations: 1.125 kB / 1.501 GB, free: 63.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/3.903, allocations: 3.938 kB / 1.501 GB, free: 63.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/3.908, allocations: 2.503 MB / 1.504 GB, free: 61.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/3.908, allocations: 3.094 kB / 1.504 GB, free: 61.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/3.908, allocations: 78.19 kB / 1.504 GB, free: 61.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/3.91, allocations: 229.3 kB / 1.504 GB, free: 61.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.615e-05/3.91, allocations: 17 kB / 1.504 GB, free: 61.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004559/3.911, allocations: 0.5814 MB / 1.505 GB, free: 61.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/3.911, allocations: 8.984 kB / 1.505 GB, free: 61.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/3.912, allocations: 0.5838 MB / 1.505 GB, free: 61.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/3.912, allocations: 190 kB / 1.505 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/3.913, allocations: 9.156 kB / 1.505 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/3.913, allocations: 28.56 kB / 1.505 GB, free: 60.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/3.913, allocations: 40.31 kB / 1.505 GB, free: 60.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/3.913, allocations: 30.17 kB / 1.505 GB, free: 60.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005082/3.914, allocations: 321.5 kB / 1.506 GB, free: 60.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.914, allocations: 0 / 1.506 GB, free: 60.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002604/3.916, allocations: 495.7 kB / 1.506 GB, free: 60.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003787/3.92, allocations: 1.35 MB / 1.508 GB, free: 60.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/3.922, allocations: 416.4 kB / 1.508 GB, free: 60.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/3.922, allocations: 4.562 kB / 1.508 GB, free: 60.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00057/3.922, allocations: 191.2 kB / 1.508 GB, free: 60.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/3.925, allocations: 296 kB / 1.508 GB, free: 60.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/3.929, allocations: 1.588 MB / 1.51 GB, free: 59.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/3.929, allocations: 0.8796 MB / 1.511 GB, free: 59.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002355/3.932, allocations: 199.5 kB / 1.511 GB, free: 59.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007729/3.933, allocations: 91.95 kB / 1.511 GB, free: 59.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.914e-06/3.933, allocations: 0 / 1.511 GB, free: 59.05 MB / 442.7 MB Notification: Performance of Templates: time 0.06457/3.997, allocations: 26.76 MB / 1.537 GB, free: 57.64 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile b'clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.c\nModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.c:503:154: error: passing \'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQGeometry_24from_5F_5Fdp_24geometry\' (aka \'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry\') to parameter of incompatible type \'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con\'\n data->localData[0]->realVars[54] /* from_dp.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQGeometry_24from_5F_5Fdp_24geometry(threadData, data->simulationInfo->realParameter[20] /* from_dp.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[19] /* from_dp.geometry.R_0 PARAM */, data->simulationInfo->realParameter[21] /* from_dp.geometry.delta PARAM */, data->simulationInfo->realParameter[18] /* from_dp.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[51] /* from_dp.dp variable */, data->localData[0]->realVars[52] /* from_dp.eta_a variable */, data->localData[0]->realVars[53] /* from_dp.eta_b variable */, data->simulationInfo->realParameter[16] /* from_dp.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[51] /* from_dp.dp variable */, data->localData[0]->realVars[49] /* from_dp.d_a variable */, data->localData[0]->realVars[50] /* from_dp.d_b variable */, data->simulationInfo->realParameter[16] /* from_dp.dp_small PARAM */)), data->localData[0]->realVars[51] /* from_dp.dp variable */);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.h:2126:187: note: passing argument to parameter \'_IN_con\' here\nmodelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var _IN_var, modelica_real _dp);\n ^\n1 error generated.\n: recipe for target \'ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o\' failed\nmake: *** [ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o] Error 1\n'