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.001552/0.001552, allocations: 103 kB / 16.27 MB, free: 5.93 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.001562/0.001562, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.431/1.431, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2129/0.2129, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.001452/0.001452, allocations: 70.48 kB / 382.9 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1062, allocations: 57.79 MB / 440.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00272/0.1089, allocations: 1.781 MB / 442.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.11, allocations: 0.8461 MB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.1101, allocations: 3.938 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1103, allocations: 39.81 kB / 443.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1106, allocations: 75.59 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.1107, allocations: 63.73 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1109, allocations: 139.4 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.1109, allocations: 4 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.111, allocations: 71.73 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1111, allocations: 75.73 kB / 443.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1112, allocations: 4 kB / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1113, allocations: 75.89 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.1114, allocations: 31.89 kB / 443.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.1114, allocations: 43.67 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1117, allocations: 135.5 kB / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1117, allocations: 0 / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1117, allocations: 0 / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1117, allocations: 0 / 444 MB, free: 3.375 MB / 318.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.0005903/0.1123, allocations: 415.1 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1124, allocations: 8.031 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.1124, allocations: 50.73 kB / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004135/0.1129, allocations: 32.72 kB / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.113, allocations: 188.2 kB / 444.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1131, allocations: 8.359 kB / 444.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1131, allocations: 19.92 kB / 444.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.1135, allocations: 173 kB / 444.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1136, allocations: 4 kB / 444.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1136, allocations: 7.938 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/0.1137, allocations: 11.98 kB / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.1141, allocations: 131.9 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009009/0.115, allocations: 0.6444 MB / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.1154, allocations: 118.6 kB / 445.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.1156, allocations: 40.83 kB / 445.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1156, allocations: 0 / 445.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.1157, allocations: 30.56 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1157, allocations: 0 / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005751/0.1163, allocations: 145.6 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.1163, allocations: 51.41 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.1164, allocations: 130 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1164, allocations: 29.7 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.1165, allocations: 115.9 kB / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.1165, allocations: 27.64 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1166, allocations: 25.72 kB / 446.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.1166, allocations: 330.8 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1168, allocations: 31.97 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.117, allocations: 95.69 kB / 446.8 MB, free: 280 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.1173, allocations: 147.5 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1173, allocations: 3.938 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004741/0.1178, allocations: 161.3 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1178, allocations: 4 kB / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1179, allocations: 8.25 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1179, allocations: 4 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1181, allocations: 43.91 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.1182, allocations: 4 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.1183, allocations: 19.78 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.1184, allocations: 4 kB / 447.2 MB, free: 15.85 MB / 334.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.000137/0.1185, allocations: 141.6 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.1186, allocations: 11.91 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.119, allocations: 126 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1191, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1191, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1191, allocations: 3.938 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.1194, allocations: 205.5 kB / 447.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1194, allocations: 0 / 447.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.1196, allocations: 31.98 kB / 447.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.1196, allocations: 4 kB / 447.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1196, allocations: 0 / 447.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1196, allocations: 0 / 447.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1196, allocations: 3.984 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.12, allocations: 203.3 kB / 447.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.12, allocations: 89.02 kB / 448 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1201, allocations: 0 / 448 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1202, allocations: 11.98 kB / 448 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.1202, allocations: 11.92 kB / 448.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.1202, allocations: 4 kB / 448.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.641e-05/0.1203, allocations: 98.89 kB / 448.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1203, allocations: 0 / 448.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1206, allocations: 24 kB / 448.2 MB, free: 14.8 MB / 334.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.0006642/0.1213, allocations: 0.7441 MB / 448.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.1216, allocations: 111.9 kB / 449 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1216, allocations: 0 / 449 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1217, allocations: 47.91 kB / 449.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.122, allocations: 2.031 kB / 449.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.124, allocations: 1.673 MB / 450.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1244, allocations: 0.7119 MB / 451.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1245, allocations: 32.38 kB / 451.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.1245, allocations: 23.44 kB / 451.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1246, allocations: 7.938 kB / 451.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.1427, allocations: 2.261 MB / 453.8 MB, free: 9.066 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/7.808, allocations: 448 / 453.8 MB, free: 9.066 MB / 334.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