Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001278/0.001284, allocations: 102.5 kB / 16.27 MB, free: 5.977 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.001599/0.001599, allocations: 192.1 kB / 17.2 MB, free: 5.609 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.401/1.401, allocations: 205.1 MB / 223.1 MB, free: 12.18 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.1954/0.1954, allocations: 43.52 MB / 314 MB, free: 0.5078 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.00143/0.00143, allocations: 66.48 kB / 382.9 MB, free: 56.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08922/0.09067, allocations: 57.8 MB / 440.7 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002334/0.09304, allocations: 1.64 MB / 442.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.09416, allocations: 0.9083 MB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.09422, allocations: 0 / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.09441, allocations: 43.77 kB / 443.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.09455, allocations: 51.73 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.0949, allocations: 135.5 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.09503, allocations: 135.4 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.09508, allocations: 17.39 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.09515, allocations: 55.77 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.09525, allocations: 67.69 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.09527, allocations: 7.938 kB / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.09556, allocations: 215.6 kB / 443.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.09562, allocations: 31.91 kB / 443.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.09568, allocations: 63.55 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.09596, allocations: 239.2 kB / 444.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.09598, allocations: 4 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09598, allocations: 0 / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.09599, allocations: 7.922 kB / 444.3 MB, free: 3.141 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004805/0.09648, allocations: 471.9 kB / 444.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.09652, allocations: 8.031 kB / 444.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.09656, allocations: 54.72 kB / 444.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.09766, allocations: 112.6 kB / 444.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.09784, allocations: 224 kB / 445.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.09786, allocations: 12.38 kB / 445.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.0979, allocations: 16.36 kB / 445.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.09847, allocations: 321.4 kB / 445.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.09849, allocations: 7.969 kB / 445.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.09853, allocations: 7.984 kB / 445.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.09856, allocations: 19.98 kB / 445.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006721/0.09924, allocations: 319.6 kB / 445.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.1004, allocations: 0.8259 MB / 446.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.1011, allocations: 230.3 kB / 446.8 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.1013, allocations: 84.77 kB / 446.9 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1014, allocations: 7.969 kB / 446.9 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.035e-05/0.1014, allocations: 34.56 kB / 447 MB, free: 220 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.664e-06/0.1014, allocations: 0 / 447 MB, free: 220 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009827/0.1024, allocations: 301.2 kB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.1024, allocations: 55.41 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1026, allocations: 180.7 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1026, allocations: 33.7 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.1027, allocations: 139.3 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1027, allocations: 39.53 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.1028, allocations: 53.58 kB / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1029, allocations: 322.8 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.1032, allocations: 91.89 kB / 448.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.1036, allocations: 136.3 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/0.1042, allocations: 222.6 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1042, allocations: 0 / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007391/0.1049, allocations: 273.1 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.105, allocations: 4 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.105, allocations: 4.406 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.105, allocations: 4 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.1055, allocations: 83.86 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009242/0.1064, allocations: 1.782 MB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.1066, allocations: 32.05 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.1067, allocations: 23.86 kB / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.1068, allocations: 145.7 kB / 450.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.1068, allocations: 11.84 kB / 450.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.1076, allocations: 266.7 kB / 451.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1076, allocations: 0 / 451.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1077, allocations: 0 / 451.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1077, allocations: 0 / 451.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.1079, allocations: 253.3 kB / 451.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1079, allocations: 3.984 kB / 451.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.1083, allocations: 71.88 kB / 451.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1083, allocations: 7.938 kB / 451.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1084, allocations: 7.984 kB / 451.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00082/0.1092, allocations: 1.785 MB / 453.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1092, allocations: 0 / 453.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/0.1099, allocations: 315.2 kB / 453.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.11, allocations: 92.91 kB / 453.6 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.11, allocations: 4 kB / 453.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1103, allocations: 7.984 kB / 453.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.1103, allocations: 12.08 kB / 453.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.1103, allocations: 19.97 kB / 453.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1105, allocations: 139.9 kB / 453.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1105, allocations: 0 / 453.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.1108, allocations: 56.12 kB / 453.9 MB, free: 8.961 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.1119, allocations: 0.8838 MB / 454.8 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008428/0.1128, allocations: 248 kB / 455 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1128, allocations: 0 / 455 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.1133, allocations: 131.8 kB / 455.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1135, allocations: 14.03 kB / 455.1 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.117, allocations: 2.324 MB / 457.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1173, allocations: 0.7436 MB / 458.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.1175, allocations: 69.44 kB / 458.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1176, allocations: 51.39 kB / 458.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1176, allocations: 0 / 458.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1413, allocations: 4.775 MB / 463.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.59, allocations: 4.875 kB / 463.1 MB, free: 15.61 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches