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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001108/0.001108, allocations: 108.5 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.001092/0.001092, allocations: 190.5 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.449/1.449, 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.2147/0.2147, allocations: 43.53 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.001446/0.001446, allocations: 64.92 kB / 382.9 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09679, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002745/0.09959, allocations: 1.905 MB / 442.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1011, allocations: 1.134 MB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.1012, allocations: 3.938 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1015, allocations: 83.52 kB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.1016, allocations: 75.52 kB / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.102, allocations: 151.3 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1022, allocations: 262.5 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.1022, allocations: 32.73 kB / 444.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1023, allocations: 107.4 kB / 444.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1025, allocations: 115.4 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1025, allocations: 8 kB / 444.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.1029, allocations: 319.5 kB / 444.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.103, allocations: 51.7 kB / 444.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.129e-05/0.1031, allocations: 127.2 kB / 445 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.1034, allocations: 426.5 kB / 445.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1035, allocations: 4 kB / 445.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1035, allocations: 0 / 445.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1035, allocations: 0 / 445.4 MB, free: 1.98 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0006305/0.1041, allocations: 0.5738 MB / 446 MB, free: 1.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1042, allocations: 11.89 kB / 446 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.493e-05/0.1042, allocations: 74.72 kB / 446.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.1043, allocations: 32.56 kB / 446.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.1045, allocations: 236 kB / 446.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1045, allocations: 24.94 kB / 446.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.1046, allocations: 39.98 kB / 446.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.1051, allocations: 493.3 kB / 446.9 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1052, allocations: 0 / 446.9 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1052, allocations: 15.98 kB / 446.9 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.1052, allocations: 32.98 kB / 446.9 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.1058, allocations: 419.7 kB / 447.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.1071, allocations: 1.189 MB / 448.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.1073, allocations: 82.47 kB / 448.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.1074, allocations: 40.83 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1075, allocations: 3.984 kB / 448.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.1075, allocations: 34.56 kB / 448.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1075, allocations: 4 kB / 448.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004676/0.108, allocations: 149.5 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.108, allocations: 55.34 kB / 448.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1081, allocations: 172.3 kB / 449.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1082, allocations: 25.7 kB / 449.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1083, allocations: 223.4 kB / 449.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1083, allocations: 27.64 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.1084, allocations: 57.61 kB / 449.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1085, allocations: 326.8 kB / 449.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1086, allocations: 51.95 kB / 449.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.1089, allocations: 169.1 kB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.1092, allocations: 240 kB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1093, allocations: 11.94 kB / 450.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004519/0.1097, allocations: 245.7 kB / 450.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1097, allocations: 11.98 kB / 450.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1098, allocations: 4 kB / 450.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1098, allocations: 4 kB / 450.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.1101, allocations: 91.91 kB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009016/0.111, allocations: 1.781 MB / 452.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1112, allocations: 31.77 kB / 452.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.1112, allocations: 16 kB / 452.3 MB, free: 10.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002206/0.1114, allocations: 171.5 kB / 452.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.1115, allocations: 15.91 kB / 452.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.112, allocations: 205.9 kB / 452.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.112, allocations: 0 / 452.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.112, allocations: 0 / 452.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1121, allocations: 0 / 452.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.1124, allocations: 289.5 kB / 453 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1124, allocations: 0 / 453 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1126, allocations: 59.92 kB / 453.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1126, allocations: 7.984 kB / 453.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1127, allocations: 11.94 kB / 453.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009026/0.1136, allocations: 1.774 MB / 454.9 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1136, allocations: 3.984 kB / 454.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1139, allocations: 211.9 kB / 455.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.114, allocations: 92.95 kB / 455.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.114, allocations: 0 / 455.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.1141, allocations: 8.078 kB / 455.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1142, allocations: 11.98 kB / 455.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1142, allocations: 11.94 kB / 455.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.015e-05/0.1143, allocations: 119.9 kB / 455.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1143, allocations: 0 / 455.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004178/0.1147, allocations: 99.53 kB / 455.4 MB, free: 7.348 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 (7): * Single equations (assignments): 4 * 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.0007715/0.1155, allocations: 0.7905 MB / 456.2 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.116, allocations: 191.7 kB / 456.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.116, allocations: 0 / 456.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.1163, allocations: 93 kB / 456.5 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1166, allocations: 24.81 kB / 456.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.1191, allocations: 2.21 MB / 458.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.1195, allocations: 0.8021 MB / 459.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.1197, allocations: 61.2 kB / 459.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.1198, allocations: 75.41 kB / 459.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1198, allocations: 0 / 459.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.1426, allocations: 5.167 MB / 464.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.29, allocations: 21.31 kB / 464.8 MB, free: 13.73 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches