Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.001272/0.001272, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.00112/0.00112, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241.8 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 44.17 MB / 336.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.67 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003069/0.1116, allocations: 1.855 MB / 470.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1129, allocations: 0.7908 MB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.113, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.1132, allocations: 35.81 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.1135, allocations: 67.66 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.1137, allocations: 63.81 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.1139, allocations: 207.3 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.114, allocations: 8 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1142, allocations: 59.77 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1143, allocations: 87.64 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1144, allocations: 4 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1145, allocations: 63.89 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.1146, allocations: 35.91 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.1147, allocations: 35.8 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1149, allocations: 147.7 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1149, allocations: 0 / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1149, allocations: 0 / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.1149, allocations: 0 / 472.1 MB, free: 11.27 MB / 350.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.0005322/0.1155, allocations: 409.8 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1155, allocations: 8.031 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/0.1156, allocations: 46.72 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.1159, allocations: 36.81 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1161, allocations: 188.2 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1162, allocations: 8.312 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.1162, allocations: 19.94 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.1165, allocations: 172.1 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1166, allocations: 0 / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1166, allocations: 7.984 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.1166, allocations: 19.92 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.1169, allocations: 127.9 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.1178, allocations: 0.6405 MB / 473.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.1181, allocations: 118.6 kB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1182, allocations: 40.83 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1183, allocations: 0 / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1183, allocations: 34.55 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1183, allocations: 0 / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.00042/0.1187, allocations: 137.6 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.1188, allocations: 55.41 kB / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1189, allocations: 133.3 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1189, allocations: 33.7 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.119, allocations: 119.9 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.119, allocations: 27.64 kB / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.1191, allocations: 29.62 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1192, allocations: 326.8 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1193, allocations: 35.97 kB / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.1195, allocations: 91.69 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.1197, allocations: 143.5 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1197, allocations: 4 kB / 475.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003343/0.1201, allocations: 153.4 kB / 475.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1201, allocations: 4 kB / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1201, allocations: 4 kB / 475.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1201, allocations: 4 kB / 475.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.1203, allocations: 40.17 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1203, allocations: 7.984 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1204, allocations: 19.84 kB / 475.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1205, allocations: 7.938 kB / 475.3 MB, free: 7.754 MB / 350.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.000107/0.1206, allocations: 133.7 kB / 475.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1206, allocations: 7.906 kB / 475.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.1209, allocations: 130 kB / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1209, allocations: 0 / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.121, allocations: 0 / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.121, allocations: 0 / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.1212, allocations: 197.6 kB / 475.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1212, allocations: 0 / 475.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.1214, allocations: 27.92 kB / 475.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1214, allocations: 8 kB / 475.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1214, allocations: 4 kB / 475.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1214, allocations: 480 / 475.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1214, allocations: 0 / 475.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.1217, allocations: 215.3 kB / 476 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.1218, allocations: 92.95 kB / 476.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1218, allocations: 0 / 476.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.1219, allocations: 11.98 kB / 476.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.122, allocations: 11.98 kB / 476.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.122, allocations: 0 / 476.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.122, allocations: 95.27 kB / 476.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.122, allocations: 3.938 kB / 476.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1223, allocations: 27.91 kB / 476.2 MB, free: 6.707 MB / 350.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.000596/0.1229, allocations: 0.7402 MB / 477 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.1232, allocations: 100.3 kB / 477.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1232, allocations: 0 / 477.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1234, allocations: 47.95 kB / 477.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1236, allocations: 4 kB / 477.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1255, allocations: 1.712 MB / 478.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1258, allocations: 0.7159 MB / 479.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.1259, allocations: 28.53 kB / 479.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.126, allocations: 27.42 kB / 479.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.126, allocations: 0 / 479.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.1385, allocations: 2.071 MB / 481.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.1388, allocations: 261.1 kB / 481.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.793, allocations: 0 / 481.9 MB, free: 1.012 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches