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_curvedOverall_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_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.001188/0.001188, allocations: 98.75 kB / 16.99 MB, free: 5.934 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.001374/0.001374, allocations: 179.5 kB / 17.87 MB, free: 5.613 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.423/1.423, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2297/0.2297, allocations: 44.22 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 9.781 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 61.93 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.002646/0.1531, allocations: 1.665 MB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.1564, allocations: 1.704 MB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.1567, allocations: 0 / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.1571, allocations: 63.7 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.1575, allocations: 111.6 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1589, allocations: 0.5059 MB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.1592, allocations: 247.5 kB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1594, allocations: 32.73 kB / 475.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.1596, allocations: 119.5 kB / 476 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.1598, allocations: 143.4 kB / 476.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.1599, allocations: 11.94 kB / 476.2 MB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.1619, allocations: 1.595 MB / 477.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.1621, allocations: 95.69 kB / 477.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.1622, allocations: 73.52 kB / 477.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008861/0.1631, allocations: 0.511 MB / 478.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1631, allocations: 0 / 478.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1631, allocations: 0 / 478.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1631, allocations: 0 / 478.4 MB, free: 6.719 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001307/0.1644, allocations: 0.6237 MB / 479.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.1645, allocations: 15.97 kB / 479.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.1646, allocations: 74.52 kB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.1647, allocations: 39.53 kB / 479.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.1651, allocations: 258.5 kB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.1652, allocations: 28.64 kB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.1652, allocations: 35.95 kB / 479.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008072/0.166, allocations: 0.496 MB / 480 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1661, allocations: 0 / 480 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.1661, allocations: 15.98 kB / 480 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.677e-05/0.1662, allocations: 48.95 kB / 480.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008263/0.167, allocations: 0.5386 MB / 480.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.1691, allocations: 1.317 MB / 481.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000865/0.17, allocations: 378.4 kB / 482.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.379e-05/0.17, allocations: 11.98 kB / 482.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.1701, allocations: 34.56 kB / 482.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.372e-06/0.1701, allocations: 3.938 kB / 482.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001039/0.1711, allocations: 445.4 kB / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.1712, allocations: 55.41 kB / 482.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.1717, allocations: 306.5 kB / 483.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.1717, allocations: 29.7 kB / 483.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1719, allocations: 196.1 kB / 483.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/0.172, allocations: 90.73 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.172, allocations: 4 kB / 483.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.1722, allocations: 342.8 kB / 483.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.1725, allocations: 123.9 kB / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.1728, allocations: 158.7 kB / 484 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.1731, allocations: 153.2 kB / 484.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1731, allocations: 4.172 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007215/0.1739, allocations: 375.3 kB / 484.6 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.1739, allocations: 4 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1739, allocations: 8 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1739, allocations: 0 / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.1745, allocations: 131.9 kB / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.1764, allocations: 3 MB / 487.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.1766, allocations: 55.83 kB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.1767, allocations: 11.98 kB / 487.8 MB, free: 12.96 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.1769, allocations: 178.2 kB / 487.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.177, allocations: 31.61 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.178, allocations: 479 kB / 488.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.178, allocations: 11.95 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.178, allocations: 0 / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.178, allocations: 0 / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.1785, allocations: 373.3 kB / 488.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1786, allocations: 0 / 488.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.1791, allocations: 111.8 kB / 488.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.1791, allocations: 4 kB / 488.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.1791, allocations: 11.98 kB / 488.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.181, allocations: 3.012 MB / 492 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1811, allocations: 0 / 492 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/0.1819, allocations: 451.2 kB / 492.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.182, allocations: 112.7 kB / 492.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.182, allocations: 7.938 kB / 492.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.1822, allocations: 15.98 kB / 492.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.1823, allocations: 19.97 kB / 492.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.1824, allocations: 15.98 kB / 492.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000232/0.1826, allocations: 229.9 kB / 492.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1826, allocations: 0 / 492.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006688/0.1833, allocations: 183.7 kB / 493 MB, free: 7.547 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001417/0.1847, allocations: 1.114 MB / 494.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009843/0.1857, allocations: 367.6 kB / 494.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1857, allocations: 0 / 494.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.1863, allocations: 231.8 kB / 494.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1867, allocations: 48.53 kB / 494.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.1903, allocations: 2.465 MB / 497.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.1908, allocations: 0.8457 MB / 498 MB, free: 2.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.1911, allocations: 126.7 kB / 498.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.1913, allocations: 111.4 kB / 498.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1913, allocations: 0 / 498.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.2168, allocations: 10.14 MB / 0.4965 GB, free: 8.281 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.2171, allocations: 262.2 kB / 0.4967 GB, free: 7.941 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.157, allocations: 8 kB / 0.4967 GB, free: 7.934 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat