Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001069/0.001069, allocations: 105.7 kB / 17.32 MB, free: 5.984 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.0009807/0.0009807, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.314/1.314, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.201/0.201, allocations: 44.18 MB / 336.2 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 61.22 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1174, allocations: 60.83 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002592/0.12, allocations: 1.731 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1211, allocations: 0.7946 MB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.1212, allocations: 0 / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.1214, allocations: 35.83 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.1216, allocations: 55.73 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.1219, allocations: 83.77 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1221, allocations: 151.2 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.1221, allocations: 13.12 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1223, allocations: 67.7 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1224, allocations: 75.67 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1224, allocations: 4 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.1227, allocations: 159.7 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.1227, allocations: 35.91 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.1228, allocations: 59.61 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.1231, allocations: 207.5 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1231, allocations: 4 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1231, allocations: 4 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1231, allocations: 0 / 472.3 MB, free: 11.1 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005419/0.1237, allocations: 458.9 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1237, allocations: 11.97 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/0.1238, allocations: 54.72 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/0.1243, allocations: 64.67 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.1246, allocations: 212.1 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1246, allocations: 8.375 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.1246, allocations: 19.94 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.1251, allocations: 243 kB / 473.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1251, allocations: 0 / 473.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.1251, allocations: 4 kB / 473.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.1251, allocations: 15.98 kB / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.1256, allocations: 223.8 kB / 473.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.1267, allocations: 0.7323 MB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1269, allocations: 90.5 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.127, allocations: 52.75 kB / 474.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.1271, allocations: 4 kB / 474.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1271, allocations: 38.5 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1271, allocations: 0 / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004839/0.1276, allocations: 161.5 kB / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1276, allocations: 51.41 kB / 474.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1278, allocations: 195.2 kB / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1278, allocations: 25.7 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.1279, allocations: 135.5 kB / 475.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.1279, allocations: 31.78 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.128, allocations: 33.7 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1281, allocations: 322.8 kB / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1282, allocations: 51.89 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.1284, allocations: 98.81 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.1287, allocations: 158.6 kB / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1287, allocations: 4 kB / 475.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003789/0.1291, allocations: 189.5 kB / 475.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1291, allocations: 4 kB / 475.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1291, allocations: 4 kB / 475.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1292, allocations: 4 kB / 475.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009202/0.1301, allocations: 124 kB / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.1313, allocations: 1.821 MB / 477.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.1315, allocations: 27.8 kB / 477.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.1315, allocations: 8 kB / 477.9 MB, free: 5.09 MB / 350.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 (14): * Single equations (assignments): 11 * 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.0001195/0.1316, allocations: 141.7 kB / 478.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.1316, allocations: 11.84 kB / 478.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.1321, allocations: 182.9 kB / 478.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1321, allocations: 0 / 478.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1321, allocations: 4 kB / 478.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1321, allocations: 0 / 478.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.1324, allocations: 237.5 kB / 478.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1324, allocations: 0 / 478.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/0.1331, allocations: 115.8 kB / 478.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1331, allocations: 0 / 478.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.1331, allocations: 4 kB / 478.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009245/0.1341, allocations: 1.778 MB / 480.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1341, allocations: 8.094 kB / 480.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.1344, allocations: 235.3 kB / 480.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.1345, allocations: 96.8 kB / 480.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1345, allocations: 0 / 480.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1347, allocations: 15.98 kB / 480.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.1347, allocations: 7.984 kB / 480.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1347, allocations: 4 kB / 480.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1349, allocations: 139.9 kB / 480.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1349, allocations: 3.938 kB / 480.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.1352, allocations: 47.84 kB / 480.9 MB, free: 1.918 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 (11): * Single equations (assignments): 8 * 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.0006732/0.1359, allocations: 0.7787 MB / 481.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.1371, allocations: 240 kB / 481.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1371, allocations: 4 kB / 481.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.1378, allocations: 123.8 kB / 482.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1381, allocations: 44.11 kB / 482.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.1405, allocations: 2.132 MB / 484.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1408, allocations: 0.7473 MB / 485 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.1409, allocations: 41.33 kB / 485 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.141, allocations: 43.42 kB / 485.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.141, allocations: 0 / 485.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.1591, allocations: 4.886 MB / 490 MB, free: 8.992 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.1593, allocations: 306.1 kB / 490.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.091, allocations: 3.375 kB / 490.3 MB, free: 8.609 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches