Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.0008923/0.0008924, allocations: 96.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009485/0.0009485, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.3 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 45.92 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 12 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 63.46 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002249/0.1606, allocations: 1.443 MB / 483 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.1632, allocations: 1.686 MB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.1633, allocations: 3.938 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.1636, allocations: 35.88 kB / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1638, allocations: 55.83 kB / 484.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009408/0.1648, allocations: 0.5145 MB / 485.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.165, allocations: 159.6 kB / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.428e-05/0.1651, allocations: 25.67 kB / 485.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.1653, allocations: 79.69 kB / 485.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1654, allocations: 87.61 kB / 485.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1655, allocations: 4 kB / 485.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.1669, allocations: 1.162 MB / 486.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.167, allocations: 55.77 kB / 486.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.167, allocations: 61.58 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007838/0.1678, allocations: 451.5 kB / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1678, allocations: 0 / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1679, allocations: 0 / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1679, allocations: 0 / 487.3 MB, free: 15.43 MB / 366.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.0008677/0.1687, allocations: 0.569 MB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1688, allocations: 12.03 kB / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.659e-05/0.1689, allocations: 62.52 kB / 488 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.1689, allocations: 23.72 kB / 488 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.1692, allocations: 242.6 kB / 488.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1693, allocations: 12.44 kB / 488.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.1693, allocations: 23.98 kB / 488.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.1699, allocations: 372.4 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.17, allocations: 0 / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.17, allocations: 11.98 kB / 488.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.915e-05/0.1701, allocations: 40.62 kB / 488.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.1707, allocations: 402.3 kB / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.1723, allocations: 1.039 MB / 490.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.1729, allocations: 278.9 kB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.1729, allocations: 8.188 kB / 490.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.173, allocations: 30.75 kB / 490.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.173, allocations: 0 / 490.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008284/0.1738, allocations: 342.9 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1739, allocations: 55.41 kB / 490.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1741, allocations: 231.6 kB / 491.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1741, allocations: 29.7 kB / 491.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1743, allocations: 144.4 kB / 491.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.1743, allocations: 83 kB / 491.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/0.1743, allocations: 0 / 491.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1745, allocations: 338.7 kB / 491.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.1747, allocations: 87.92 kB / 491.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.1749, allocations: 106.5 kB / 491.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1751, allocations: 99.48 kB / 491.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1751, allocations: 4 kB / 491.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004839/0.1756, allocations: 261.2 kB / 492.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1756, allocations: 10.33 kB / 492.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1756, allocations: 0 / 492.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.1757, allocations: 7.953 kB / 492.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.1761, allocations: 91.86 kB / 492.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.1774, allocations: 2.379 MB / 494.7 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.1776, allocations: 39.86 kB / 494.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.1777, allocations: 8 kB / 494.7 MB, free: 7.68 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.0001696/0.1778, allocations: 164.3 kB / 494.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.1779, allocations: 23.77 kB / 494.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007571/0.1787, allocations: 359.2 kB / 495.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1787, allocations: 3.938 kB / 495.3 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1787, allocations: 4 kB / 495.3 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1787, allocations: 11.97 kB / 495.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.1791, allocations: 309.4 kB / 495.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1791, allocations: 0 / 495.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.1795, allocations: 91.88 kB / 495.7 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.1795, allocations: 4 kB / 495.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.1795, allocations: 7.984 kB / 495.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.1808, allocations: 2.379 MB / 498.1 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1808, allocations: 8.094 kB / 498.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.1814, allocations: 375.7 kB / 498.4 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1815, allocations: 128.8 kB / 498.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.1816, allocations: 4 kB / 498.6 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.1817, allocations: 15.98 kB / 498.6 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.1818, allocations: 23.97 kB / 498.6 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1818, allocations: 11.88 kB / 498.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.182, allocations: 168.2 kB / 498.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.182, allocations: 0 / 498.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006088/0.1826, allocations: 171.6 kB / 498.9 MB, free: 3.266 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.001302/0.1839, allocations: 1.044 MB / 500 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007761/0.1847, allocations: 267.8 kB / 0.4885 GB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1847, allocations: 0 / 0.4885 GB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.1852, allocations: 172.2 kB / 0.4887 GB, free: 1.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1855, allocations: 39.86 kB / 0.4887 GB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.1883, allocations: 1.938 MB / 0.4906 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.1889, allocations: 0.7947 MB / 0.4914 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002469/0.1891, allocations: 85.77 kB / 0.4915 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1893, allocations: 75.41 kB / 0.4915 GB, free: 14.76 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1893, allocations: 0 / 0.4915 GB, free: 14.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.2133, allocations: 8.131 MB / 0.4995 GB, free: 6.883 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/0.2136, allocations: 249.2 kB / 0.4997 GB, free: 6.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.205, allocations: 0 / 0.4997 GB, free: 6.551 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat