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.00106/0.00106, allocations: 104 kB / 17.63 MB, free: 5.523 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: 192.1 kB / 18.56 MB, free: 4.605 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.293/1.293, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2063/0.2063, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 64.55 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1038, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003047/0.1069, allocations: 1.795 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1081, allocations: 0.7946 MB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.1082, allocations: 4 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.1084, allocations: 35.81 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.1086, allocations: 71.59 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.1088, allocations: 75.72 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.109, allocations: 143.4 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.109, allocations: 4 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1092, allocations: 67.75 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1093, allocations: 79.67 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1093, allocations: 4 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1095, allocations: 71.88 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.1096, allocations: 27.91 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.1096, allocations: 39.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.1099, allocations: 143.8 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1099, allocations: 4 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1099, allocations: 0 / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1099, allocations: 0 / 472.7 MB, free: 10.9 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.0005467/0.1104, allocations: 411.1 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1105, allocations: 8.031 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.1105, allocations: 42.73 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.1108, allocations: 32.81 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.111, allocations: 188.2 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1111, allocations: 20.34 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1111, allocations: 11.94 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.1114, allocations: 172.1 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1114, allocations: 3.938 kB / 473.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1115, allocations: 0 / 473.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.1115, allocations: 11.98 kB / 473.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.1118, allocations: 135.9 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007627/0.1126, allocations: 0.6443 MB / 474.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.1129, allocations: 118.6 kB / 474.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.113, allocations: 40.83 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1131, allocations: 0 / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1131, allocations: 34.56 kB / 474.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.1131, allocations: 0 / 474.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004175/0.1135, allocations: 137.5 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1136, allocations: 55.34 kB / 474.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.1137, allocations: 130 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.1137, allocations: 25.7 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.1137, allocations: 123.9 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.1138, allocations: 23.64 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.1138, allocations: 29.62 kB / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.1139, allocations: 326.8 kB / 475.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.114, allocations: 35.97 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1142, allocations: 99.84 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.1145, allocations: 143.5 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1145, allocations: 4 kB / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003228/0.1148, allocations: 157.4 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1148, allocations: 4 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1149, allocations: 4 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1149, allocations: 3.938 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.115, allocations: 44.22 kB / 475.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1151, allocations: 4 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1152, allocations: 19.84 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1152, allocations: 7.984 kB / 475.9 MB, free: 7.375 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.0001068/0.1153, allocations: 125.7 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1153, allocations: 11.89 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.1157, allocations: 118 kB / 476.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1157, allocations: 7.938 kB / 476.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1157, allocations: 0 / 476.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1157, allocations: 0 / 476.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1159, allocations: 205.5 kB / 476.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1159, allocations: 3.938 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.1161, allocations: 23.98 kB / 476.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1161, allocations: 0 / 476.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1161, allocations: 4 kB / 476.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1161, allocations: 7.984 kB / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1161, allocations: 0 / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.1164, allocations: 203.3 kB / 476.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.1165, allocations: 88.95 kB / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1165, allocations: 4 kB / 476.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.1166, allocations: 7.984 kB / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.1167, allocations: 15.92 kB / 476.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1167, allocations: 0 / 476.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.748e-05/0.1168, allocations: 99.27 kB / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1168, allocations: 0 / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.117, allocations: 27.91 kB / 476.9 MB, free: 6.34 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.0006783/0.1177, allocations: 0.7558 MB / 477.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.1181, allocations: 100.3 kB / 477.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1181, allocations: 4 kB / 477.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1182, allocations: 47.91 kB / 477.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1185, allocations: 10.47 kB / 477.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.1204, allocations: 1.669 MB / 479.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1207, allocations: 0.708 MB / 480.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.668e-05/0.1208, allocations: 28.52 kB / 480.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.1208, allocations: 23.44 kB / 480.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.655e-06/0.1208, allocations: 0 / 480.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.1402, allocations: 2.263 MB / 482.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.738/8.878, allocations: 18.67 kB / 482.5 MB, free: 0.6992 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