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.001391/0.001391, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001572, allocations: 81.95 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003336/0.1201, allocations: 1.79 MB / 481.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.1232, allocations: 1.906 MB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1234, allocations: 0 / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.1237, allocations: 43.75 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1241, allocations: 79.56 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.1255, allocations: 0.5685 MB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.1259, allocations: 238.8 kB / 484.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.076e-05/0.1259, allocations: 25.67 kB / 484.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.1262, allocations: 107.4 kB / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1264, allocations: 107.5 kB / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.1265, allocations: 4 kB / 485 MB, free: 320 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.1281, allocations: 1.177 MB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1282, allocations: 67.75 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1283, allocations: 103.3 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.1296, allocations: 0.799 MB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1296, allocations: 0 / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1296, allocations: 0 / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1297, allocations: 0 / 487.1 MB, free: 14.16 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.001073/0.1307, allocations: 0.5927 MB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1308, allocations: 8.031 kB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.073e-05/0.1309, allocations: 70.7 kB / 487.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.1309, allocations: 28.56 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1312, allocations: 239.7 kB / 488.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1312, allocations: 12.44 kB / 488.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.1313, allocations: 23.98 kB / 488.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.1319, allocations: 372.4 kB / 488.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1319, allocations: 3.938 kB / 488.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.1319, allocations: 15.98 kB / 488.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.018e-05/0.132, allocations: 40.56 kB / 488.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006357/0.1326, allocations: 394.3 kB / 488.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.1341, allocations: 1.024 MB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/0.1348, allocations: 272.8 kB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.135, allocations: 100.8 kB / 490.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.135, allocations: 8.062 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1351, allocations: 38.5 kB / 490.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.154e-06/0.1351, allocations: 0 / 490.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007961/0.1359, allocations: 321.2 kB / 490.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.1359, allocations: 55.41 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.1362, allocations: 235.6 kB / 491 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1362, allocations: 29.7 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1363, allocations: 148.4 kB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.087e-05/0.1364, allocations: 70.95 kB / 491.2 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.1365, allocations: 53.69 kB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1366, allocations: 326.8 kB / 491.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1368, allocations: 83.92 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1371, allocations: 110.4 kB / 491.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.1375, allocations: 202 kB / 492 MB, free: 9.059 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1375, allocations: 4 kB / 492 MB, free: 9.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005155/0.138, allocations: 253.2 kB / 492.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.138, allocations: 7.938 kB / 492.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.138, allocations: 4 kB / 492.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1381, allocations: 3.984 kB / 492.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.1385, allocations: 91.89 kB / 492.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.1398, allocations: 2.387 MB / 494.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.14, allocations: 23.69 kB / 494.7 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.14, allocations: 15.98 kB / 494.7 MB, free: 6.176 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 (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.1402, allocations: 160.8 kB / 494.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.1402, allocations: 15.81 kB / 494.9 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007607/0.141, allocations: 359.2 kB / 495.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.141, allocations: 0 / 495.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.141, allocations: 4 kB / 495.3 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.141, allocations: 3.984 kB / 495.3 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.1414, allocations: 313.3 kB / 495.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1414, allocations: 0 / 495.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.1418, allocations: 95.89 kB / 495.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.1419, allocations: 0 / 495.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.1419, allocations: 8 kB / 495.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.1431, allocations: 2.383 MB / 498.1 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.1431, allocations: 4.031 kB / 498.1 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.1437, allocations: 367.8 kB / 498.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.1438, allocations: 124.7 kB / 498.5 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1438, allocations: 12.09 kB / 498.6 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.144, allocations: 7.984 kB / 498.6 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.1441, allocations: 19.97 kB / 498.6 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1441, allocations: 16 kB / 498.6 MB, free: 2.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1443, allocations: 169.5 kB / 498.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1443, allocations: 0 / 498.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005481/0.1448, allocations: 171.7 kB / 498.9 MB, free: 1.789 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 (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.1461, allocations: 1.032 MB / 500 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007695/0.1469, allocations: 307.5 kB / 0.4885 GB, free: 440 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1469, allocations: 0 / 0.4885 GB, free: 440 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.1474, allocations: 160.3 kB / 0.4887 GB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.1478, allocations: 59.77 kB / 0.4887 GB, free: 220 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.1513, allocations: 2.831 MB / 0.4915 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1517, allocations: 0.787 MB / 0.4923 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.1519, allocations: 77.77 kB / 0.4924 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.1521, allocations: 83.41 kB / 0.4924 GB, free: 12.33 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1521, allocations: 4 kB / 0.4924 GB, free: 12.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.1847, allocations: 8.73 MB / 0.501 GB, free: 3.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.48, allocations: 8.531 kB / 0.501 GB, free: 3.797 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches