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.0008905/0.0008906, allocations: 100.4 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009577/0.0009575, allocations: 194.2 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.3 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.286/0.286, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000265/0.0002651, allocations: 4 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 63.48 MB / 481.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002221/0.1318, allocations: 1.463 MB / 483.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.135, allocations: 1.764 MB / 484.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1351, allocations: 0 / 484.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.1354, allocations: 39.81 kB / 484.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.1358, allocations: 71.66 kB / 485 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.1371, allocations: 0.5065 MB / 485.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000382/0.1375, allocations: 266.8 kB / 485.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.937e-05/0.1376, allocations: 25.67 kB / 485.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.1379, allocations: 103.5 kB / 485.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.1382, allocations: 107.6 kB / 486 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1382, allocations: 4 kB / 486 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.1399, allocations: 1.111 MB / 487.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1401, allocations: 63.73 kB / 487.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.699e-05/0.1401, allocations: 65.58 kB / 487.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006951/0.1409, allocations: 447.3 kB / 487.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1409, allocations: 0 / 487.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1409, allocations: 0 / 487.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1409, allocations: 0 / 487.7 MB, free: 15.2 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.0009656/0.1419, allocations: 0.5689 MB / 488.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1419, allocations: 8.031 kB / 488.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.724e-05/0.142, allocations: 70.52 kB / 488.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.1421, allocations: 23.72 kB / 488.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1424, allocations: 238.6 kB / 488.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1424, allocations: 16.44 kB / 488.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1425, allocations: 20 kB / 488.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.1431, allocations: 372.4 kB / 489 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1431, allocations: 4 kB / 489 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.1431, allocations: 15.98 kB / 489 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/0.1432, allocations: 36.62 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.1439, allocations: 402.3 kB / 489.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.1454, allocations: 1.02 MB / 490.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.146, allocations: 274.9 kB / 490.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.1463, allocations: 105.2 kB / 490.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.908e-05/0.1463, allocations: 8.25 kB / 490.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1464, allocations: 34.75 kB / 490.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.1464, allocations: 0 / 490.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007919/0.1472, allocations: 342.1 kB / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1472, allocations: 55.41 kB / 491.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1475, allocations: 231.6 kB / 491.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1475, allocations: 25.7 kB / 491.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.873e-05/0.1476, allocations: 152.4 kB / 491.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.1477, allocations: 78.83 kB / 491.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.1478, allocations: 4 kB / 491.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1479, allocations: 334.8 kB / 492.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1481, allocations: 83.92 kB / 492.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.1483, allocations: 110.5 kB / 492.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.1485, allocations: 103.4 kB / 492.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1486, allocations: 0 / 492.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004991/0.1491, allocations: 261.3 kB / 492.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.1491, allocations: 4 kB / 492.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1491, allocations: 4 kB / 492.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1491, allocations: 3.953 kB / 492.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.1495, allocations: 99.88 kB / 492.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.151, allocations: 2.383 MB / 495.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.1511, allocations: 27.73 kB / 495.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.1512, allocations: 12 kB / 495.1 MB, free: 7.355 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.0001872/0.1514, allocations: 169.7 kB / 495.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.1514, allocations: 15.81 kB / 495.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007923/0.1522, allocations: 363.3 kB / 495.7 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1522, allocations: 4 kB / 495.7 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1523, allocations: 0 / 495.7 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1523, allocations: 0 / 495.7 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.1527, allocations: 321.3 kB / 496 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1527, allocations: 7.938 kB / 496 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.1531, allocations: 91.95 kB / 496.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1531, allocations: 0 / 496.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.1531, allocations: 8 kB / 496.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.1544, allocations: 2.387 MB / 498.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.1544, allocations: 288 / 498.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.155, allocations: 379.8 kB / 498.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1551, allocations: 124.8 kB / 499 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.1552, allocations: 3.938 kB / 499 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.1554, allocations: 19.98 kB / 499 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.1554, allocations: 15.98 kB / 499 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.1555, allocations: 19.98 kB / 499 MB, free: 3.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1556, allocations: 160.2 kB / 499.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.435e-06/0.1556, allocations: 0 / 499.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006801/0.1563, allocations: 179.5 kB / 499.4 MB, free: 2.934 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.001453/0.1578, allocations: 1.033 MB / 0.4887 GB, free: 1.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000723/0.1585, allocations: 271.8 kB / 0.4889 GB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1585, allocations: 0 / 0.4889 GB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.159, allocations: 176.2 kB / 0.4891 GB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.1594, allocations: 39.92 kB / 0.4891 GB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.162, allocations: 1.647 MB / 0.4907 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1623, allocations: 0.787 MB / 0.4915 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.1626, allocations: 89.75 kB / 0.4916 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1627, allocations: 83.41 kB / 0.4917 GB, free: 14.72 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1627, allocations: 0 / 0.4917 GB, free: 14.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.1845, allocations: 8.219 MB / 0.4997 GB, free: 6.762 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.1848, allocations: 259.5 kB / 0.4999 GB, free: 6.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/2.318, allocations: 0 / 0.4999 GB, free: 6.406 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