Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 106.1 kB / 16.4 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 188.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2282/0.2282, allocations: 43.54 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 73.45 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.12, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003422/0.1234, allocations: 1.792 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1251, allocations: 0.8382 MB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.1252, allocations: 0 / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.1255, allocations: 47.75 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.1258, allocations: 71.59 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.126, allocations: 71.67 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1263, allocations: 135.5 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.1263, allocations: 11.97 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1265, allocations: 75.73 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.1267, allocations: 71.73 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1267, allocations: 7.938 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.1269, allocations: 75.89 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.127, allocations: 23.95 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.1271, allocations: 47.67 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.1274, allocations: 143.4 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1274, allocations: 0 / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1274, allocations: 0 / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1274, allocations: 0 / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000678/0.1281, allocations: 414.6 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1281, allocations: 8.031 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.1282, allocations: 42.73 kB / 0.4912 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.1285, allocations: 40.86 kB / 0.4912 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1288, allocations: 184.2 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1288, allocations: 12.36 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1288, allocations: 15.94 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.1292, allocations: 180 kB / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1293, allocations: 0 / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1293, allocations: 4 kB / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.1293, allocations: 11.98 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.1297, allocations: 139.7 kB / 0.4917 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008929/0.1306, allocations: 0.6406 MB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.1309, allocations: 110.7 kB / 0.4925 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.131, allocations: 40.77 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.1311, allocations: 4 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1311, allocations: 38.56 kB / 0.4926 GB, free: 6.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 3.266e-06/0.1311, allocations: 0 / 0.4926 GB, free: 6.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004449/0.1315, allocations: 145.8 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1316, allocations: 51.41 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1317, allocations: 130 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1317, allocations: 29.7 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.1318, allocations: 124.1 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.1319, allocations: 27.78 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.1319, allocations: 25.72 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1321, allocations: 326.8 kB / 0.4934 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1322, allocations: 31.97 kB / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.1324, allocations: 103.3 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.1327, allocations: 143.6 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1327, allocations: 4 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003679/0.133, allocations: 165.4 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1331, allocations: 4 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1331, allocations: 4 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1331, allocations: 0 / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.1333, allocations: 39.97 kB / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.1333, allocations: 7.938 kB / 0.4939 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.1334, allocations: 20.14 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1334, allocations: 8 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.1335, allocations: 133.6 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.1336, allocations: 7.953 kB / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.1339, allocations: 129.9 kB / 0.4941 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1339, allocations: 0 / 0.4941 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1339, allocations: 4 kB / 0.4941 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.134, allocations: 0 / 0.4941 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.1342, allocations: 205.5 kB / 0.4943 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1342, allocations: 0 / 0.4943 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.1344, allocations: 23.98 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1344, allocations: 4 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1344, allocations: 4 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1344, allocations: 0 / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1344, allocations: 0 / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.1347, allocations: 223.3 kB / 0.4946 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.1348, allocations: 81.11 kB / 0.4947 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1348, allocations: 0 / 0.4947 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.1349, allocations: 11.92 kB / 0.4947 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.135, allocations: 11.92 kB / 0.4947 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.135, allocations: 4 kB / 0.4947 GB, free: 4.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.774e-05/0.1351, allocations: 99.27 kB / 0.4948 GB, free: 4.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1351, allocations: 0 / 0.4948 GB, free: 4.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1354, allocations: 27.89 kB / 0.4948 GB, free: 4.266 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006996/0.1361, allocations: 0.7513 MB / 0.4955 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.1364, allocations: 91.86 kB / 0.4956 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1364, allocations: 0 / 0.4956 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1365, allocations: 48.88 kB / 0.4957 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1368, allocations: 8 kB / 0.4957 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.1389, allocations: 1.669 MB / 0.4973 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1392, allocations: 0.708 MB / 0.498 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.512e-05/0.1393, allocations: 28.53 kB / 0.498 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.1394, allocations: 27.42 kB / 0.4981 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1394, allocations: 0 / 0.4981 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.1628, allocations: 2.297 MB / 0.5003 GB, free: 14.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/7.912, allocations: 8.047 kB / 0.5003 GB, free: 14.46 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches