Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008196/0.0008195, allocations: 94.55 kB / 16.33 MB, free: 6.082 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.0007938/0.0007938, allocations: 191.7 kB / 17.23 MB, free: 5.977 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.575/1.575, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.2145/0.2145, allocations: 43.56 MB / 315.2 MB, free: 0.5547 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.0005763/0.0005766, allocations: 16.34 kB / 384.6 MB, free: 57.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1229, allocations: 58.86 MB / 443.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001855/0.1248, allocations: 1.476 MB / 444.9 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.126, allocations: 0.7727 MB / 445.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.996e-05/0.1261, allocations: 7.938 kB / 445.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.1263, allocations: 39.81 kB / 445.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.1265, allocations: 63.72 kB / 445.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.1267, allocations: 55.75 kB / 445.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1269, allocations: 163.4 kB / 446 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.1269, allocations: 4 kB / 446 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1271, allocations: 67.75 kB / 446.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1272, allocations: 71.73 kB / 446.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1272, allocations: 4 kB / 446.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1274, allocations: 63.89 kB / 446.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.1274, allocations: 31.88 kB / 446.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.1275, allocations: 41.64 kB / 446.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1276, allocations: 95.75 kB / 446.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1276, allocations: 0 / 446.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1276, allocations: 0 / 446.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.1276, allocations: 0 / 446.4 MB, free: 2.793 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004359/0.1281, allocations: 395.1 kB / 446.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1281, allocations: 15.97 kB / 446.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.1284, allocations: 27.88 kB / 446.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1286, allocations: 194.9 kB / 447 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1286, allocations: 4 kB / 447 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1286, allocations: 8 kB / 447 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.1289, allocations: 181 kB / 447.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.129, allocations: 3.984 kB / 447.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.129, allocations: 11.98 kB / 447.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/0.129, allocations: 11.94 kB / 447.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.1293, allocations: 143.9 kB / 447.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006725/0.13, allocations: 0.6483 MB / 448 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1303, allocations: 114.6 kB / 448.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.1304, allocations: 44.83 kB / 448.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.1304, allocations: 0 / 448.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.1304, allocations: 38.56 kB / 448.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1304, allocations: 0 / 448.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003573/0.1308, allocations: 153.4 kB / 448.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.1308, allocations: 59.39 kB / 448.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.1309, allocations: 136.2 kB / 448.5 MB, free: 424 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.856e-06/0.1309, allocations: 25.7 kB / 448.6 MB, free: 392 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.1309, allocations: 120.1 kB / 448.7 MB, free: 268 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.131, allocations: 27.64 kB / 448.7 MB, free: 240 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.131, allocations: 4 kB / 448.7 MB, free: 236 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1311, allocations: 322.7 kB / 449 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1312, allocations: 47.97 kB / 449.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1313, allocations: 95.06 kB / 449.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1315, allocations: 55.91 kB / 449.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1315, allocations: 0 / 449.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003175/0.1318, allocations: 169.3 kB / 449.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1318, allocations: 10.02 kB / 449.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1319, allocations: 8.25 kB / 449.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1319, allocations: 7.938 kB / 449.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.132, allocations: 39.98 kB / 449.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1321, allocations: 7.922 kB / 449.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.27e-05/0.1322, allocations: 23.84 kB / 449.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.1322, allocations: 4 kB / 449.5 MB, free: 15.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/0.1323, allocations: 141.7 kB / 449.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.1323, allocations: 7.906 kB / 449.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.1326, allocations: 137.9 kB / 449.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1326, allocations: 4 kB / 449.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1327, allocations: 7.984 kB / 449.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1327, allocations: 0 / 449.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.1329, allocations: 201.5 kB / 450 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-06/0.1329, allocations: 0 / 450 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.133, allocations: 31.98 kB / 450 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1331, allocations: 0 / 450 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1331, allocations: 0 / 450 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1331, allocations: 0 / 450 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1331, allocations: 4 kB / 450 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.1334, allocations: 227.3 kB / 450.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1334, allocations: 81.02 kB / 450.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.1335, allocations: 8 kB / 450.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.1336, allocations: 11.98 kB / 450.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1336, allocations: 4 kB / 450.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1336, allocations: 3.984 kB / 450.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.211e-05/0.1337, allocations: 91.28 kB / 450.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1337, allocations: 0 / 450.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.134, allocations: 27.98 kB / 450.4 MB, free: 14.34 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.1341, allocations: 99.25 kB / 450.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.1344, allocations: 112.3 kB / 450.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1344, allocations: 0 / 450.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1345, allocations: 43.97 kB / 450.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1348, allocations: 15.89 kB / 450.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.1353, allocations: 339.5 kB / 451 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1356, allocations: 0.7083 MB / 451.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.1357, allocations: 11.44 kB / 451.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1357, allocations: 4 kB / 451.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Templates: time 0.0032/0.1389, allocations: 1.285 MB / 453.1 MB, free: 11.67 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOWCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOWCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOWCalcHelperMain.o] Error 1