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.001803/0.001803, allocations: 102.8 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.001352/0.001352, 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.33/1.33, 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.2051/0.2051, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001462/0.001462, allocations: 64.11 kB / 382.9 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09506, allocations: 57.79 MB / 440.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002423/0.09752, allocations: 1.648 MB / 442.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.09865, allocations: 0.9006 MB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.09871, allocations: 0 / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.09892, allocations: 39.77 kB / 443.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.0991, allocations: 47.81 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.09951, allocations: 135.4 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.09968, allocations: 143.4 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.09974, allocations: 17.44 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.09982, allocations: 55.72 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.09994, allocations: 63.69 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.09997, allocations: 8 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.1003, allocations: 215.6 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.1003, allocations: 35.91 kB / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.1004, allocations: 63.55 kB / 444 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.1007, allocations: 243.1 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1007, allocations: 0 / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1007, allocations: 4 kB / 444.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1007, allocations: 4 kB / 444.3 MB, free: 3.148 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.000512/0.1012, allocations: 470.9 kB / 444.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1013, allocations: 8.031 kB / 444.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.1013, allocations: 50.73 kB / 444.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.1024, allocations: 120.5 kB / 444.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.1026, allocations: 224 kB / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1026, allocations: 8.375 kB / 445.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.1027, allocations: 16.38 kB / 445.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.1033, allocations: 325.4 kB / 445.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1033, allocations: 7.922 kB / 445.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.1033, allocations: 4 kB / 445.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.1034, allocations: 19.98 kB / 445.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/0.1041, allocations: 315.7 kB / 445.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1053, allocations: 0.8259 MB / 446.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.106, allocations: 230.3 kB / 446.8 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.1062, allocations: 88.81 kB / 446.9 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1063, allocations: 0 / 446.9 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.1063, allocations: 34.56 kB / 447 MB, free: 236 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1063, allocations: 3.938 kB / 447 MB, free: 232 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.001019/0.1073, allocations: 301.1 kB / 447.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1074, allocations: 55.41 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1076, allocations: 188.7 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1076, allocations: 29.7 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.1077, allocations: 139.3 kB / 447.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.1077, allocations: 35.55 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.29e-05/0.1078, allocations: 49.58 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1079, allocations: 326.8 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.1082, allocations: 87.89 kB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.1086, allocations: 142.7 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.1092, allocations: 222.6 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1092, allocations: 0 / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007312/0.1099, allocations: 269.1 kB / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1099, allocations: 8.938 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.11, allocations: 3.938 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.11, allocations: 4 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.1104, allocations: 76.39 kB / 448.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009451/0.1114, allocations: 1.785 MB / 450.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.1116, allocations: 27.77 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.1116, allocations: 16.27 kB / 450.7 MB, free: 12.32 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.0001345/0.1118, allocations: 153.7 kB / 450.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.1118, allocations: 15.78 kB / 450.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/0.1127, allocations: 266.7 kB / 451.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1127, allocations: 0 / 451.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1127, allocations: 0 / 451.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1127, allocations: 0 / 451.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.113, allocations: 257.4 kB / 451.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.113, allocations: 3.938 kB / 451.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.1133, allocations: 75.81 kB / 451.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1134, allocations: 0 / 451.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.1134, allocations: 11.97 kB / 451.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008305/0.1142, allocations: 1.777 MB / 453.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1142, allocations: 4.281 kB / 453.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.1149, allocations: 319.1 kB / 453.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.115, allocations: 88.92 kB / 453.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.115, allocations: 8 kB / 453.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.1153, allocations: 7.984 kB / 453.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.1153, allocations: 11.97 kB / 453.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.1154, allocations: 15.98 kB / 453.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1155, allocations: 139.9 kB / 453.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1155, allocations: 0 / 453.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.1158, allocations: 59.92 kB / 453.9 MB, free: 8.969 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.001075/0.1169, allocations: 0.8801 MB / 454.8 MB, free: 8.059 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008334/0.1178, allocations: 252 kB / 455 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1178, allocations: 0 / 455 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.1182, allocations: 127.9 kB / 455.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1185, allocations: 14.03 kB / 455.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.1219, allocations: 2.332 MB / 457.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1222, allocations: 0.7436 MB / 458.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.1224, allocations: 65.45 kB / 458.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.1226, allocations: 55.39 kB / 458.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of SimCode: time 2.544e-06/0.1226, allocations: 0 / 458.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.1455, allocations: 4.771 MB / 463.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.43, allocations: 0.875 kB / 463.1 MB, free: 15.62 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.mat","/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