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.001455/0.001455, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 73.22 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1332, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003819/0.137, allocations: 2.07 MB / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.1404, allocations: 1.99 MB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.1406, allocations: 4 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1409, allocations: 63.59 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004376/0.1414, allocations: 151.3 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.1427, allocations: 0.576 MB / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004311/0.1432, allocations: 386.2 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.398e-05/0.1433, allocations: 40.67 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.1436, allocations: 163.3 kB / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.1438, allocations: 187.2 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.1439, allocations: 12 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.1459, allocations: 1.638 MB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.146, allocations: 99.58 kB / 487.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1462, allocations: 147 kB / 487.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.1476, allocations: 1.06 MB / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1476, allocations: 0 / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1476, allocations: 4 kB / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.1476, allocations: 3.938 kB / 488.7 MB, free: 12.55 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.001076/0.1487, allocations: 0.6745 MB / 489.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1487, allocations: 12.03 kB / 489.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.807e-05/0.1488, allocations: 78.69 kB / 489.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.1489, allocations: 36.56 kB / 489.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.1492, allocations: 267.7 kB / 489.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1492, allocations: 25.02 kB / 489.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.1493, allocations: 43.92 kB / 489.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.15, allocations: 0.4959 MB / 490.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.15, allocations: 0 / 490.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.15, allocations: 8 kB / 490.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-05/0.1501, allocations: 48.97 kB / 490.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.1509, allocations: 0.527 MB / 490.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.1527, allocations: 1.298 MB / 492.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/0.1535, allocations: 380.4 kB / 492.6 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.1538, allocations: 128.6 kB / 492.7 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.1538, allocations: 8 kB / 492.7 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1539, allocations: 46.59 kB / 492.8 MB, free: 8.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.1539, allocations: 0 / 492.8 MB, free: 8.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009182/0.1548, allocations: 429.5 kB / 493.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1548, allocations: 59.41 kB / 493.3 MB, free: 7.766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.1551, allocations: 302.5 kB / 493.5 MB, free: 7.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1552, allocations: 37.7 kB / 493.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1553, allocations: 192.1 kB / 493.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.1553, allocations: 94.67 kB / 493.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1555, allocations: 73.59 kB / 493.9 MB, free: 7.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1556, allocations: 338.8 kB / 494.3 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.1558, allocations: 119.9 kB / 494.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.1561, allocations: 162.5 kB / 494.5 MB, free: 6.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.1566, allocations: 292 kB / 494.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1566, allocations: 0 / 494.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006874/0.1573, allocations: 379 kB / 495.2 MB, free: 5.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1574, allocations: 4 kB / 495.2 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1574, allocations: 0 / 495.2 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1574, allocations: 4 kB / 495.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.1579, allocations: 123.9 kB / 495.3 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.1595, allocations: 3.012 MB / 498.3 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.1597, allocations: 39.61 kB / 498.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.1598, allocations: 16 kB / 498.4 MB, free: 2.449 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 (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.16, allocations: 177.9 kB / 498.6 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.16, allocations: 31.66 kB / 498.6 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/0.161, allocations: 455.2 kB / 499 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.161, allocations: 0 / 499 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.161, allocations: 4 kB / 499 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.161, allocations: 3.984 kB / 499.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.1614, allocations: 365.3 kB / 499.4 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1614, allocations: 0 / 499.4 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.1619, allocations: 127.8 kB / 499.5 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.162, allocations: 0 / 499.5 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.162, allocations: 15.94 kB / 499.5 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.1635, allocations: 3.008 MB / 0.4908 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1635, allocations: 3.938 kB / 0.4908 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.1641, allocations: 443.9 kB / 0.4912 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.1642, allocations: 108.7 kB / 0.4913 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.1643, allocations: 11.94 kB / 0.4913 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.1645, allocations: 8 kB / 0.4913 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.1646, allocations: 23.97 kB / 0.4913 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.1646, allocations: 11.98 kB / 0.4914 GB, free: 13.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.1648, allocations: 233.9 kB / 0.4916 GB, free: 13.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1648, allocations: 0 / 0.4916 GB, free: 13.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005678/0.1654, allocations: 183.7 kB / 0.4918 GB, free: 13.06 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 (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001396/0.1668, allocations: 1.122 MB / 0.4929 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1678, allocations: 431.8 kB / 0.4933 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1678, allocations: 0 / 0.4933 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.1684, allocations: 219.8 kB / 0.4935 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.169, allocations: 75.22 kB / 0.4935 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/0.1739, allocations: 3.542 MB / 0.497 GB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.1744, allocations: 0.838 MB / 0.4978 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003563/0.1748, allocations: 130.6 kB / 0.498 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.175, allocations: 115.4 kB / 0.4981 GB, free: 6.465 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.175, allocations: 0 / 0.4981 GB, free: 6.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2194/0.3944, allocations: 10.97 MB / 0.5088 GB, free: 42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 13.78 kB / 0.5088 GB, free: 41.99 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_curvedOverall_DPMFLOW/dp_curvedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches