Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.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.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.00103, allocations: 87.86 kB / 16.66 MB, free: 6.598 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.001129/0.001129, allocations: 178.3 kB / 17.57 MB, free: 6.188 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.946/1.946, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.2795/0.2795, allocations: 43.6 MB / 315.6 MB, free: 424 kB / 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.0005885/0.0005886, allocations: 18.97 kB / 385.3 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1635, allocations: 58.86 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002347/0.1659, allocations: 1.503 MB / 445.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1677, allocations: 1.002 MB / 446.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1679, allocations: 0 / 446.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1682, allocations: 47.8 kB / 446.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.1685, allocations: 67.66 kB / 446.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.169, allocations: 95.64 kB / 446.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.1693, allocations: 262.8 kB / 447.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.286e-05/0.1694, allocations: 25.67 kB / 447.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1696, allocations: 79.58 kB / 447.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1698, allocations: 103.5 kB / 447.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.1699, allocations: 4 kB / 447.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.1703, allocations: 199.7 kB / 447.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1704, allocations: 55.7 kB / 447.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1705, allocations: 125 kB / 447.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1709, allocations: 207.5 kB / 447.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1709, allocations: 0 / 447.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1709, allocations: 4 kB / 447.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1709, allocations: 0 / 447.9 MB, free: 1.367 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000802/0.1717, allocations: 0.4991 MB / 448.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1718, allocations: 8.031 kB / 448.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008854/0.1727, allocations: 136.4 kB / 448.5 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.1731, allocations: 263.2 kB / 448.8 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1731, allocations: 16.8 kB / 448.8 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.1732, allocations: 16.38 kB / 448.8 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.1739, allocations: 445.8 kB / 449.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1739, allocations: 0 / 449.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.174, allocations: 7.984 kB / 449.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.174, allocations: 24.55 kB / 449.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/0.1748, allocations: 409.8 kB / 449.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.1772, allocations: 1.481 MB / 451.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.1775, allocations: 94.5 kB / 451.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1777, allocations: 56.81 kB / 451.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1777, allocations: 4 kB / 451.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1778, allocations: 38.5 kB / 451.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.1778, allocations: 0 / 451.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.00064/0.1784, allocations: 209.4 kB / 451.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.1785, allocations: 59.34 kB / 451.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.1789, allocations: 322.7 kB / 451.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1789, allocations: 25.7 kB / 451.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.1791, allocations: 183.1 kB / 452.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.1791, allocations: 35.48 kB / 452.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.1792, allocations: 21.72 kB / 452.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1793, allocations: 330.8 kB / 452.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1796, allocations: 79.94 kB / 452.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.1798, allocations: 117.9 kB / 452.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.1802, allocations: 197.2 kB / 452.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1802, allocations: 0 / 452.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005764/0.1808, allocations: 257.4 kB / 453.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1808, allocations: 6.188 kB / 453.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1808, allocations: 4 kB / 453.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1808, allocations: 4 kB / 453.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.1824, allocations: 127.8 kB / 453.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.1844, allocations: 1.84 MB / 455.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.1847, allocations: 43.52 kB / 455.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.1847, allocations: 12 kB / 455.2 MB, free: 9.648 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000206/0.1849, allocations: 165.6 kB / 455.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.185, allocations: 23.7 kB / 455.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005619/0.1856, allocations: 207.2 kB / 455.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1856, allocations: 7.984 kB / 455.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1856, allocations: 4 kB / 455.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1856, allocations: 0 / 455.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.186, allocations: 265.5 kB / 455.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.186, allocations: 4 kB / 455.8 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.1871, allocations: 103.8 kB / 455.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1872, allocations: 0 / 455.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1872, allocations: 8 kB / 455.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.1885, allocations: 1.785 MB / 457.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.1885, allocations: 4.031 kB / 457.7 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.189, allocations: 271.3 kB / 458 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.1891, allocations: 104.8 kB / 458.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.1892, allocations: 0 / 458.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1894, allocations: 23.92 kB / 458.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.1895, allocations: 4 kB / 458.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.1895, allocations: 0 / 458.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.1898, allocations: 245.9 kB / 458.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1898, allocations: 0 / 458.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.1902, allocations: 63.91 kB / 458.4 MB, free: 6.219 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002919/0.1905, allocations: 115.2 kB / 458.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.1928, allocations: 271.6 kB / 458.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1928, allocations: 4 kB / 458.8 MB, free: 5.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009869/0.1938, allocations: 108.2 kB / 458.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1943, allocations: 44.81 kB / 459 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1953, allocations: 0.5895 MB / 459.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1957, allocations: 0.787 MB / 460.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.1958, allocations: 19.44 kB / 460.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1958, allocations: 0 / 460.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of Templates: time 0.009831/0.2057, allocations: 6.457 MB / 466.8 MB, free: 13.79 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.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.Verifications.PressureLoss.General.dp_idealGas_DPMFLOWCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOWCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOWCalcHelperMain.o] Error 1