Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001169/0.001169, allocations: 94.22 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.001591, allocations: 199.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 63.47 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.002154/0.1446, allocations: 1.673 MB / 483.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.1471, allocations: 1.782 MB / 485 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.1472, allocations: 0 / 485 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.1475, allocations: 67.7 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.1477, allocations: 107.6 kB / 485.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.1487, allocations: 0.5147 MB / 485.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.1491, allocations: 247.5 kB / 485.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.1491, allocations: 28.73 kB / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1494, allocations: 135.5 kB / 486.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1496, allocations: 135.5 kB / 486.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.1496, allocations: 11.94 kB / 486.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.1516, allocations: 1.615 MB / 487.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1517, allocations: 83.77 kB / 487.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.1518, allocations: 77.52 kB / 488 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007154/0.1525, allocations: 0.5227 MB / 488.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1525, allocations: 0 / 488.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1525, allocations: 0 / 488.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1525, allocations: 0 / 488.5 MB, free: 14.26 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009239/0.1534, allocations: 0.6237 MB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1535, allocations: 12.03 kB / 489.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.594e-05/0.1536, allocations: 82.47 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.1537, allocations: 39.53 kB / 489.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.154, allocations: 262.5 kB / 489.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.154, allocations: 20.66 kB / 489.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.1541, allocations: 35.92 kB / 489.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.1549, allocations: 0.4999 MB / 490.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.155, allocations: 4 kB / 490.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.155, allocations: 15.92 kB / 490.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.622e-05/0.1551, allocations: 52.95 kB / 490.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008644/0.156, allocations: 0.5309 MB / 490.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.1579, allocations: 1.321 MB / 492 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/0.1587, allocations: 377 kB / 492.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.1587, allocations: 11.98 kB / 492.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1588, allocations: 38.56 kB / 492.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.375e-06/0.1588, allocations: 0 / 492.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009168/0.1597, allocations: 446.1 kB / 492.9 MB, free: 9.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1598, allocations: 55.41 kB / 492.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.1601, allocations: 302.7 kB / 493.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.1601, allocations: 33.64 kB / 493.2 MB, free: 9.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1602, allocations: 196.1 kB / 493.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.1603, allocations: 94.67 kB / 493.5 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.1603, allocations: 4 kB / 493.5 MB, free: 8.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1605, allocations: 346.8 kB / 493.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.1607, allocations: 127.9 kB / 494 MB, free: 8.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.161, allocations: 158.6 kB / 494.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.1613, allocations: 157.2 kB / 494.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1613, allocations: 0 / 494.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006488/0.162, allocations: 379.4 kB / 494.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/0.162, allocations: 4 kB / 494.7 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.162, allocations: 4 kB / 494.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1621, allocations: 0 / 494.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.1626, allocations: 123.8 kB / 494.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.1643, allocations: 3.016 MB / 497.8 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.1646, allocations: 39.58 kB / 497.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.1646, allocations: 19.92 kB / 497.9 MB, free: 4.484 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.0002219/0.1649, allocations: 181.7 kB / 498.1 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.1649, allocations: 27.62 kB / 498.1 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.1659, allocations: 475.7 kB / 498.6 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1659, allocations: 7.938 kB / 498.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.166, allocations: 0 / 498.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.166, allocations: 0 / 498.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.1664, allocations: 373.3 kB / 498.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1665, allocations: 3.953 kB / 498.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/0.167, allocations: 119.8 kB / 499 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.167, allocations: 4 kB / 499 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.167, allocations: 7.984 kB / 499.1 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.1686, allocations: 3.004 MB / 0.4903 GB, free: 124 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1686, allocations: 4.281 kB / 0.4903 GB, free: 120 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.1693, allocations: 443.1 kB / 0.4907 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1694, allocations: 112.7 kB / 0.4908 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.1695, allocations: 11.94 kB / 0.4908 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.1697, allocations: 19.98 kB / 0.4909 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.1698, allocations: 23.92 kB / 0.4909 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.1699, allocations: 15.98 kB / 0.4909 GB, free: 15.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002201/0.1701, allocations: 221.9 kB / 0.4911 GB, free: 15.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1701, allocations: 0 / 0.4911 GB, free: 15.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006345/0.1707, allocations: 191.7 kB / 0.4913 GB, free: 15.07 MB / 382.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.001331/0.1721, allocations: 1.111 MB / 0.4924 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000944/0.173, allocations: 379.5 kB / 0.4927 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.173, allocations: 0 / 0.4927 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.1736, allocations: 227.7 kB / 0.493 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.174, allocations: 67.91 kB / 0.493 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.1772, allocations: 2.46 MB / 0.4954 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.1777, allocations: 0.8418 MB / 0.4962 GB, free: 9.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003421/0.178, allocations: 130.7 kB / 0.4964 GB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.1782, allocations: 115.4 kB / 0.4965 GB, free: 9.641 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1782, allocations: 0 / 0.4965 GB, free: 9.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2869/0.4651, allocations: 10.31 MB / 0.5065 GB, free: 41.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.4653, allocations: 256.6 kB / 0.5068 GB, free: 40.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.496, allocations: 0 / 0.5068 GB, free: 40.88 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat