Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008949, allocations: 92.36 kB / 17 MB, free: 6.355 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.0008325/0.0008324, allocations: 186.2 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2408/0.2408, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 11.98 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.001946/0.1389, allocations: 1.453 MB / 473.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1414, allocations: 1.693 MB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.1415, allocations: 0 / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1417, allocations: 39.81 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.142, allocations: 75.59 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009651/0.143, allocations: 0.5026 MB / 475.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.1434, allocations: 266.8 kB / 475.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.1434, allocations: 25.66 kB / 475.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.1436, allocations: 95.56 kB / 475.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1438, allocations: 111.5 kB / 475.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1438, allocations: 4 kB / 475.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.1455, allocations: 1.096 MB / 477 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.1456, allocations: 71.67 kB / 477.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.1457, allocations: 57.58 kB / 477.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006666/0.1463, allocations: 443.3 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1464, allocations: 0 / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1464, allocations: 0 / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.1464, allocations: 4 kB / 477.6 MB, free: 7.672 MB / 350.1 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.0009686/0.1474, allocations: 0.5496 MB / 478.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1474, allocations: 8.031 kB / 478.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.447e-05/0.1475, allocations: 74.45 kB / 478.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.1476, allocations: 23.72 kB / 478.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1479, allocations: 230.7 kB / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.1479, allocations: 20.38 kB / 478.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.1479, allocations: 31.94 kB / 478.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.1485, allocations: 376.4 kB / 478.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1486, allocations: 0 / 478.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.1486, allocations: 4 kB / 478.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-05/0.1487, allocations: 36.62 kB / 478.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.1493, allocations: 402.3 kB / 479.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.1509, allocations: 1.024 MB / 480.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007232/0.1516, allocations: 286.8 kB / 480.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.1519, allocations: 101.1 kB / 480.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.25e-05/0.1519, allocations: 8.188 kB / 480.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.152, allocations: 42.75 kB / 480.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.434e-06/0.152, allocations: 0 / 480.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009267/0.1529, allocations: 330.2 kB / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.153, allocations: 59.41 kB / 481.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.1533, allocations: 223.7 kB / 481.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.1534, allocations: 33.7 kB / 481.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.1536, allocations: 148.4 kB / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.1537, allocations: 75.02 kB / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.1537, allocations: 0 / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.1539, allocations: 338.8 kB / 481.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.1542, allocations: 87.88 kB / 482 MB, free: 2.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.1544, allocations: 114.4 kB / 482.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.1547, allocations: 105.2 kB / 482.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1547, allocations: 0 / 482.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005265/0.1552, allocations: 259.4 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.1553, allocations: 10.66 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.1553, allocations: 4.062 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.1553, allocations: 0 / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.1558, allocations: 95.89 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.1576, allocations: 2.387 MB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.1578, allocations: 27.77 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.1579, allocations: 12.28 kB / 485 MB, free: 15.84 MB / 366.1 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.0002424/0.1581, allocations: 164.7 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.1582, allocations: 19.8 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008134/0.159, allocations: 363.3 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.159, allocations: 3.953 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.159, allocations: 0 / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.159, allocations: 0 / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.1594, allocations: 313.3 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1594, allocations: 0 / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.1598, allocations: 95.94 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1598, allocations: 0 / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1598, allocations: 12 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.161, allocations: 2.391 MB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.161, allocations: 0 / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.1616, allocations: 376 kB / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.1618, allocations: 128.8 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.1618, allocations: 3.938 kB / 488.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.162, allocations: 15.98 kB / 488.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.162, allocations: 15.98 kB / 488.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.1621, allocations: 15.98 kB / 488.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.1623, allocations: 164.2 kB / 489.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1623, allocations: 3.938 kB / 489.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006827/0.163, allocations: 163.7 kB / 489.2 MB, free: 11.44 MB / 366.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 (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.001448/0.1644, allocations: 1.04 MB / 490.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007005/0.1651, allocations: 271.6 kB / 490.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1651, allocations: 0 / 490.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.1656, allocations: 176 kB / 490.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.166, allocations: 31.98 kB / 490.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.1687, allocations: 1.64 MB / 492.4 MB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.1692, allocations: 0.787 MB / 493.2 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002536/0.1694, allocations: 77.77 kB / 493.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1696, allocations: 87.41 kB / 493.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1696, allocations: 0 / 493.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.1909, allocations: 8.098 MB / 0.4897 GB, free: 15.42 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.1911, allocations: 266 kB / 0.4899 GB, free: 15.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.296, allocations: 3.938 kB / 0.4899 GB, free: 15.06 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat