Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002646/0.002651, allocations: 371.3 kB / 15.97 MB, free: 6.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.159/4.159, allocations: 388.9 MB / 405.6 MB, free: 48.64 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003672/0.003672, allocations: 232.7 kB / 451 MB, free: 3.105 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8071/0.8071, allocations: 80.01 MB / 0.5627 GB, free: 6.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004605, allocations: 15.94 kB / 0.6265 GB, free: 4.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1363, allocations: 54.87 MB / 0.6801 GB, free: 13.8 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5752/0.7116, allocations: 170.8 MB / 0.8469 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.7267, allocations: 6.85 MB / 0.8536 GB, free: 7.711 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000869/0.7277, allocations: 23.81 kB / 0.8536 GB, free: 7.688 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.7289, allocations: 250.4 kB / 0.8539 GB, free: 7.441 MB / 458.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009719/0.7387, allocations: 2.22 MB / 0.856 GB, free: 5.234 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.7421, allocations: 0.718 MB / 0.8567 GB, free: 4.527 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003479/0.7456, allocations: 1.847 MB / 0.8585 GB, free: 2.672 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.7468, allocations: 361.8 kB / 0.8589 GB, free: 2.328 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.7493, allocations: 0.6983 MB / 0.8596 GB, free: 1.629 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.7508, allocations: 482.2 kB / 0.86 GB, free: 1.156 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.751, allocations: 24 kB / 0.86 GB, free: 1.133 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006506/0.7576, allocations: 2.32 MB / 0.8623 GB, free: 14.81 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.758, allocations: 143.4 kB / 0.8624 GB, free: 14.67 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.7584, allocations: 161.4 kB / 0.8626 GB, free: 14.5 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.7621, allocations: 1.282 MB / 0.8639 GB, free: 13.22 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.7622, allocations: 0 / 0.8639 GB, free: 13.22 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.781e-06/0.7622, allocations: 4 kB / 0.8639 GB, free: 13.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.7622, allocations: 0 / 0.8639 GB, free: 13.21 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002963/0.7652, allocations: 1.006 MB / 0.8648 GB, free: 12.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/0.7653, allocations: 12.03 kB / 0.8649 GB, free: 12.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.7672, allocations: 155.1 kB / 0.865 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.7685, allocations: 492.7 kB / 0.8655 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.7686, allocations: 37 kB / 0.8655 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.7688, allocations: 40 kB / 0.8655 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.7707, allocations: 0.6399 MB / 0.8662 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.7708, allocations: 0 / 0.8662 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.7709, allocations: 24 kB / 0.8662 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.771, allocations: 22.14 kB / 0.8662 GB, free: 10.67 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.7725, allocations: 487.5 kB / 0.8667 GB, free: 10.2 MB / 474.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.005024/0.7776, allocations: 2.606 MB / 0.8692 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.7787, allocations: 306.8 kB / 0.8695 GB, free: 7.094 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.7792, allocations: 168.8 kB / 0.8697 GB, free: 6.926 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/0.7813, allocations: 1.316 MB / 0.871 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/0.7814, allocations: 42.06 kB / 0.871 GB, free: 5.344 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 4.278e-06/0.7814, allocations: 0 / 0.871 GB, free: 5.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.002622/0.784, allocations: 0.6794 MB / 0.8717 GB, free: 4.637 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.7842, allocations: 158.2 kB / 0.8718 GB, free: 4.445 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/0.785, allocations: 449.8 kB / 0.8722 GB, free: 3.992 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.149e-05/0.7851, allocations: 33.7 kB / 0.8723 GB, free: 3.953 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.7854, allocations: 315.2 kB / 0.8726 GB, free: 3.641 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.7856, allocations: 126.2 kB / 0.8727 GB, free: 3.516 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.7857, allocations: 12 kB / 0.8727 GB, free: 3.504 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002422/0.786, allocations: 358.8 kB / 0.8731 GB, free: 3.145 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.7865, allocations: 149 kB / 0.8732 GB, free: 2.996 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.7872, allocations: 378.6 kB / 0.8736 GB, free: 2.531 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/0.7878, allocations: 199.8 kB / 0.8737 GB, free: 2.336 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.7878, allocations: 0 / 0.8737 GB, free: 2.336 MB / 474.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001739/0.7895, allocations: 0.6032 MB / 0.8743 GB, free: 1.723 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.7896, allocations: 8 kB / 0.8743 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.7896, allocations: 8.062 kB / 0.8743 GB, free: 1.707 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.7924, allocations: 296.4 kB / 0.8746 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.7933, allocations: 129.4 kB / 0.8748 GB, free: 1.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007224/0.794, allocations: 0.5914 MB / 0.8753 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.7947, allocations: 63.42 kB / 0.8754 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.7949, allocations: 59.98 kB / 0.8754 GB, free: 0.5508 MB / 474.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.000415/0.7953, allocations: 197.7 kB / 0.8756 GB, free: 356 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.7955, allocations: 51.39 kB / 0.8757 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.318/1.114, allocations: 0.7126 MB / 0.8764 GB, free: 157.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/1.114, allocations: 2.766 kB / 0.8764 GB, free: 157.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.114, allocations: 0 / 0.8764 GB, free: 157.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/1.114, allocations: 138.5 kB / 0.8765 GB, free: 157.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/1.114, allocations: 9.375 kB / 0.8765 GB, free: 157.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/1.114, allocations: 22.77 kB / 0.8765 GB, free: 157.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/1.115, allocations: 33.64 kB / 0.8766 GB, free: 157.5 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001317/1.116, allocations: 0.5193 MB / 0.8771 GB, free: 157.3 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001493/1.117, allocations: 0.7557 MB / 0.8778 GB, free: 157.1 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003787/1.118, allocations: 159.3 kB / 0.878 GB, free: 157.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005188/1.118, allocations: 315.1 kB / 0.8783 GB, free: 157 MB / 474.7 MB Notification: Performance of Backend: time 7.01e-07/1.118, allocations: 2.188 kB / 0.8783 GB, free: 157 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003569/1.122, allocations: 0.8878 MB / 0.8791 GB, free: 157 MB / 474.7 MB Notification: Performance of SimCode: time 0.00347/1.125, allocations: 1.749 MB / 0.8809 GB, free: 155.9 MB / 474.7 MB Notification: Performance of Templates: time 0.04717/1.173, allocations: 17.06 MB / 0.8975 GB, free: 154.7 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_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_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.c\nclang -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_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.c\nModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.c:2457:99: error: passing \'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry\' to parameter of incompatible type \'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con\'\n _m_flow = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, _geometry, tmp1, _dp);\n ^~~~~~~~~\nModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.c:582: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 ^\nModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.c:2510:92: error: passing \'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry\' to parameter of incompatible type \'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con\'\n _dp = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(threadData, _geometry, tmp1, _m_flow);\n ^~~~~~~~~\nModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.c:11:184: note: passing argument to parameter \'_IN_con\' here\nmodelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(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 _m_flow)\n ^\n2 errors generated.\n: recipe for target \'ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.o\' failed\nmake: *** [ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.o] Error 1\n'