Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 187.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.406/2.406, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3239/0.3239, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007948/0.0007951, allocations: 8 kB / 431.5 MB, free: 20.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1541, allocations: 58.86 MB / 490.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002858/0.1571, allocations: 1.486 MB / 491.8 MB, free: 7.715 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.1608, allocations: 1.609 MB / 493.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1609, allocations: 0 / 493.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.1612, allocations: 35.81 kB / 493.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.1615, allocations: 59.78 kB / 493.5 MB, free: 6.004 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1632, allocations: 0.499 MB / 494 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.1636, allocations: 155.7 kB / 494.2 MB, free: 5.352 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.1637, allocations: 29.66 kB / 494.2 MB, free: 5.324 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.1639, allocations: 83.62 kB / 494.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1641, allocations: 83.67 kB / 494.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.1642, allocations: 4 kB / 494.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.1667, allocations: 1.147 MB / 495.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1669, allocations: 63.73 kB / 495.6 MB, free: 3.945 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.167, allocations: 65.45 kB / 495.7 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.1683, allocations: 439.5 kB / 496.1 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1684, allocations: 0 / 496.1 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1684, allocations: 0 / 496.1 MB, free: 3.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1684, allocations: 0 / 496.1 MB, free: 3.445 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001219/0.1696, allocations: 0.5536 MB / 496.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.1697, allocations: 12.03 kB / 496.6 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1698, allocations: 62.53 kB / 496.7 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/0.1699, allocations: 31.58 kB / 496.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.1703, allocations: 230.7 kB / 497 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.1703, allocations: 16.44 kB / 497 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.1704, allocations: 16 kB / 497 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1714, allocations: 380.4 kB / 497.4 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1715, allocations: 0 / 497.4 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.1715, allocations: 8 kB / 497.4 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.981e-05/0.1716, allocations: 40.62 kB / 497.4 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.1728, allocations: 406.3 kB / 497.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.1752, allocations: 1.047 MB / 498.9 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.1763, allocations: 290.3 kB / 499.1 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/0.1764, allocations: 8.25 kB / 499.2 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1764, allocations: 38.7 kB / 499.2 MB, free: 120 kB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.434e-06/0.1764, allocations: 0 / 499.2 MB, free: 120 kB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001298/0.1777, allocations: 342.8 kB / 499.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.1778, allocations: 51.41 kB / 499.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.1781, allocations: 219.8 kB / 499.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.1782, allocations: 29.7 kB / 499.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1784, allocations: 214.7 kB / 0.4883 GB, free: 15.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.1785, allocations: 70.95 kB / 0.4884 GB, free: 15.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.1785, allocations: 4 kB / 0.4884 GB, free: 15.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1787, allocations: 322.8 kB / 0.4887 GB, free: 14.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.179, allocations: 83.92 kB / 0.4888 GB, free: 14.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.1794, allocations: 106.5 kB / 0.4889 GB, free: 14.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.1798, allocations: 100.7 kB / 0.489 GB, free: 14.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1798, allocations: 0 / 0.489 GB, free: 14.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001446/0.1813, allocations: 265.2 kB / 0.4892 GB, free: 14.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.1814, allocations: 7.953 kB / 0.4892 GB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1814, allocations: 0 / 0.4892 GB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.1814, allocations: 4 kB / 0.4892 GB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.1827, allocations: 87.86 kB / 0.4893 GB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.1857, allocations: 2.383 MB / 0.4916 GB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.1863, allocations: 31.77 kB / 0.4917 GB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.1864, allocations: 11.94 kB / 0.4917 GB, free: 11.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004456/0.1869, allocations: 165.7 kB / 0.4918 GB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.187, allocations: 15.81 kB / 0.4919 GB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.1895, allocations: 367.2 kB / 0.4922 GB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.1896, allocations: 0 / 0.4922 GB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/0.1896, allocations: 7.984 kB / 0.4922 GB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1896, allocations: 7.938 kB / 0.4922 GB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.1905, allocations: 317.3 kB / 0.4925 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1905, allocations: 0 / 0.4925 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/0.192, allocations: 91.86 kB / 0.4926 GB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-05/0.192, allocations: 4 kB / 0.4926 GB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.1921, allocations: 7.984 kB / 0.4926 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.1946, allocations: 2.379 MB / 0.4949 GB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.1947, allocations: 4.094 kB / 0.4949 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.1962, allocations: 379.8 kB / 0.4953 GB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.1965, allocations: 132.7 kB / 0.4954 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.1966, allocations: 8 kB / 0.4954 GB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.1971, allocations: 11.98 kB / 0.4955 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.1972, allocations: 23.97 kB / 0.4955 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.1973, allocations: 4 kB / 0.4955 GB, free: 7.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003824/0.1977, allocations: 173.4 kB / 0.4956 GB, free: 7.414 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.1977, allocations: 0 / 0.4956 GB, free: 7.414 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001147/0.1989, allocations: 163.7 kB / 0.4958 GB, free: 7.254 MB / 346.7 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002971/0.2019, allocations: 1.028 MB / 0.4968 GB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002115/0.204, allocations: 263.8 kB / 0.4971 GB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.2041, allocations: 4 kB / 0.4971 GB, free: 5.934 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.2055, allocations: 176.2 kB / 0.4972 GB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007331/0.2062, allocations: 39.91 kB / 0.4973 GB, free: 5.723 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/0.2125, allocations: 1.969 MB / 0.4992 GB, free: 3.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.2133, allocations: 0.7869 MB / 0.5 GB, free: 2.883 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.2136, allocations: 79.41 kB / 0.5 GB, free: 2.805 MB / 346.7 MB Notification: Performance of SimCode: time 4.508e-06/0.2137, allocations: 8 kB / 0.5 GB, free: 2.797 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.217/3.43, allocations: 9.569 MB / 0.5094 GB, free: 9.219 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat