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_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 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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001033/0.001033, allocations: 107.1 kB / 17.32 MB, free: 6.008 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.001015/0.001015, allocations: 189.4 kB / 18.25 MB, free: 5.098 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.312/1.312, allocations: 222.9 MB / 241.9 MB, free: 13.66 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.2128/0.2128, allocations: 44.17 MB / 336.2 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.56 kB / 408 MB, free: 27.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 60.84 MB / 468.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002794/0.1061, allocations: 1.7 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1075, allocations: 0.8608 MB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.1076, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1078, allocations: 23.84 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.108, allocations: 55.8 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.1085, allocations: 115.7 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1087, allocations: 139.3 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.1087, allocations: 21.44 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.1088, allocations: 55.72 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.109, allocations: 71.73 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.109, allocations: 4 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.1093, allocations: 215.6 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.1094, allocations: 43.77 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.1095, allocations: 55.67 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.1098, allocations: 243.4 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1098, allocations: 0 / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1098, allocations: 0 / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1098, allocations: 4 kB / 472.4 MB, free: 10.95 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005734/0.1104, allocations: 467 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1105, allocations: 12.03 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.1105, allocations: 50.73 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.1117, allocations: 112.5 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1119, allocations: 232 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1119, allocations: 12.36 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.112, allocations: 16.31 kB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.1126, allocations: 329.9 kB / 473.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1126, allocations: 0 / 473.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1127, allocations: 12 kB / 473.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.733e-05/0.1127, allocations: 19.98 kB / 473.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007545/0.1135, allocations: 319.7 kB / 474 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1149, allocations: 0.822 MB / 474.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.1156, allocations: 218.3 kB / 475 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.1159, allocations: 88.81 kB / 475.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.1159, allocations: 11.98 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.116, allocations: 30.56 kB / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.116, allocations: 0 / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009624/0.1169, allocations: 297.2 kB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.117, allocations: 51.41 kB / 475.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1171, allocations: 195.2 kB / 475.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1172, allocations: 29.64 kB / 475.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.1173, allocations: 139.6 kB / 475.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.1173, allocations: 39.39 kB / 475.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.1174, allocations: 53.67 kB / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.1175, allocations: 322.8 kB / 476.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.1178, allocations: 79.91 kB / 476.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.1181, allocations: 149.2 kB / 476.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.1187, allocations: 214.6 kB / 476.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1187, allocations: 0 / 476.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007069/0.1194, allocations: 281 kB / 477 MB, free: 6.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1195, allocations: 4 kB / 477 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1195, allocations: 7.938 kB / 477 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1195, allocations: 4 kB / 477 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.1199, allocations: 79.86 kB / 477.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000877/0.1208, allocations: 1.785 MB / 478.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.1211, allocations: 23.83 kB / 478.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.1211, allocations: 15.97 kB / 478.9 MB, free: 4.113 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 (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.0001378/0.1213, allocations: 146 kB / 479 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.1213, allocations: 19.75 kB / 479 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008899/0.1222, allocations: 267.1 kB / 479.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.1222, allocations: 4 kB / 479.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1223, allocations: 0 / 479.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1223, allocations: 0 / 479.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.1226, allocations: 253.5 kB / 479.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1226, allocations: 0 / 479.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.123, allocations: 71.86 kB / 479.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.123, allocations: 0 / 479.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.123, allocations: 11.98 kB / 479.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008301/0.1238, allocations: 1.781 MB / 481.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1238, allocations: 0 / 481.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.1246, allocations: 323.3 kB / 481.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.1246, allocations: 89 kB / 481.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.1247, allocations: 0 / 481.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.1249, allocations: 11.98 kB / 481.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.125, allocations: 15.98 kB / 481.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.125, allocations: 15.91 kB / 481.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1252, allocations: 139.9 kB / 482 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1252, allocations: 0 / 482 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.1256, allocations: 63.84 kB / 482.1 MB, free: 0.7656 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 (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.001301/0.1269, allocations: 0.8802 MB / 482.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008445/0.1277, allocations: 248 kB / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1278, allocations: 4 kB / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.1282, allocations: 135.8 kB / 483.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1285, allocations: 8 kB / 483.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.1322, allocations: 2.382 MB / 485.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1325, allocations: 0.7397 MB / 486.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.1327, allocations: 73.33 kB / 486.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1329, allocations: 55.33 kB / 486.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1329, allocations: 0 / 486.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.1483, allocations: 4.618 MB / 491.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/0.1485, allocations: 291.5 kB / 491.5 MB, free: 7.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.044, allocations: 0 / 491.5 MB, free: 7.336 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches