Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") 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.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 105.7 kB / 16.52 MB, free: 6.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 191.7 kB / 17.44 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2818/0.2818, allocations: 43.51 MB / 314.1 MB, free: 0.7461 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 65.12 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1566, allocations: 57.79 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.631/0.7877, allocations: 185.9 MB / 0.6117 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.8004, allocations: 7.58 MB / 0.6191 GB, free: 88 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.8017, allocations: 21.41 kB / 0.6192 GB, free: 76 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.803, allocations: 287.5 kB / 0.6194 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009001/0.812, allocations: 2.357 MB / 0.6217 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.8153, allocations: 0.8289 MB / 0.6226 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003423/0.8187, allocations: 2.149 MB / 0.6247 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006978/0.8194, allocations: 378.5 kB / 0.625 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.8213, allocations: 0.7762 MB / 0.6258 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000761/0.8221, allocations: 0.5058 MB / 0.6263 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.679e-05/0.8222, allocations: 28 kB / 0.6263 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0054/0.8276, allocations: 2.523 MB / 0.6288 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.8279, allocations: 151.4 kB / 0.6289 GB, free: 8.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.8284, allocations: 342.4 kB / 0.6292 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.831, allocations: 1.364 MB / 0.6306 GB, free: 6.723 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.8311, allocations: 0 / 0.6306 GB, free: 6.723 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.8311, allocations: 0 / 0.6306 GB, free: 6.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.8311, allocations: 3.938 kB / 0.6306 GB, free: 6.719 MB / 446.1 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.002507/0.8336, allocations: 1.157 MB / 0.6317 GB, free: 5.512 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.8337, allocations: 12.03 kB / 0.6317 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.8348, allocations: 155.1 kB / 0.6319 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008318/0.8357, allocations: 0.4926 MB / 0.6323 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.8357, allocations: 33 kB / 0.6324 GB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.8358, allocations: 47.94 kB / 0.6324 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.8371, allocations: 0.6367 MB / 0.633 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.8371, allocations: 4 kB / 0.633 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.8372, allocations: 23.94 kB / 0.6331 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.8372, allocations: 12 kB / 0.6331 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.8382, allocations: 499.5 kB / 0.6335 GB, free: 3.527 MB / 446.1 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.003946/0.8422, allocations: 2.66 MB / 0.6361 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.8429, allocations: 322.8 kB / 0.6365 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.8432, allocations: 156.8 kB / 0.6366 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001676/0.8449, allocations: 1.3 MB / 0.6379 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.845, allocations: 42.56 kB / 0.6379 GB, free: 14.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 4.128e-06/0.845, allocations: 0 / 0.6379 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.00177/0.8468, allocations: 0.6898 MB / 0.6386 GB, free: 13.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.8469, allocations: 166.2 kB / 0.6387 GB, free: 13.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/0.8476, allocations: 0.5183 MB / 0.6392 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.8477, allocations: 33.7 kB / 0.6393 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.8479, allocations: 295.6 kB / 0.6396 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.8481, allocations: 126.2 kB / 0.6397 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.8482, allocations: 118.1 kB / 0.6398 GB, free: 12.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.8485, allocations: 362.8 kB / 0.6401 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.8487, allocations: 145 kB / 0.6403 GB, free: 12.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.8492, allocations: 322.9 kB / 0.6406 GB, free: 11.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.8499, allocations: 474.6 kB / 0.641 GB, free: 11.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.85, allocations: 4.5 kB / 0.641 GB, free: 11.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001123/0.8511, allocations: 0.5636 MB / 0.6416 GB, free: 10.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.8511, allocations: 11.06 kB / 0.6416 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.8512, allocations: 8 kB / 0.6416 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/0.8528, allocations: 245.1 kB / 0.6418 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.8532, allocations: 116.9 kB / 0.642 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005218/0.8537, allocations: 0.5874 MB / 0.6425 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.8542, allocations: 67.36 kB / 0.6426 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.585e-05/0.8543, allocations: 52.06 kB / 0.6426 GB, free: 9.492 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.8546, allocations: 197.6 kB / 0.6428 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.8548, allocations: 59.34 kB / 0.6429 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.8566, allocations: 0.7263 MB / 0.6436 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.8566, allocations: 7.938 kB / 0.6436 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8566, allocations: 0 / 0.6436 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.8567, allocations: 7.984 kB / 0.6436 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.8583, allocations: 1.007 MB / 0.6446 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8583, allocations: 0 / 0.6446 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.8585, allocations: 51.92 kB / 0.6446 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003458/0.862, allocations: 456.3 kB / 0.6451 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.862, allocations: 11.98 kB / 0.6451 GB, free: 6.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000514/0.8626, allocations: 0.6069 MB / 0.6457 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.8626, allocations: 64 / 0.6457 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007854/0.8634, allocations: 0.5006 MB / 0.6462 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.8636, allocations: 144.3 kB / 0.6463 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.8637, allocations: 8 kB / 0.6463 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.8641, allocations: 31.89 kB / 0.6464 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.8642, allocations: 27.91 kB / 0.6464 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.8642, allocations: 19.98 kB / 0.6464 GB, free: 5.441 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005631/0.8648, allocations: 434.8 kB / 0.6468 GB, free: 5.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8648, allocations: 0 / 0.6468 GB, free: 5.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001315/0.8661, allocations: 379.7 kB / 0.6472 GB, free: 4.648 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.8675, allocations: 0.5215 MB / 0.6477 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008451/0.8683, allocations: 368.3 kB / 0.648 GB, free: 3.758 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8683, allocations: 1.25 kB / 0.648 GB, free: 3.758 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.8687, allocations: 160.2 kB / 0.6482 GB, free: 3.602 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.8705, allocations: 395.9 kB / 0.6486 GB, free: 3.215 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.8722, allocations: 1.128 MB / 0.6497 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.8727, allocations: 0.8638 MB / 0.6505 GB, free: 1.148 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.8731, allocations: 107.4 kB / 0.6506 GB, free: 1.043 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.8731, allocations: 0 / 0.6506 GB, free: 1.043 MB / 462.1 MB Notification: Performance of Templates: time 0.03218/0.9053, allocations: 16.81 MB / 0.667 GB, free: 244 kB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.o] Error 1