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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001596/0.001596, allocations: 110.2 kB / 17.33 MB, free: 6 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.001275/0.001275, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.272/1.272, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2003/0.2003, allocations: 44.17 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.62 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09867/0.09994, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003263/0.1033, allocations: 1.883 MB / 470.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1044, allocations: 0.6191 MB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.1045, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.1048, allocations: 51.73 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.1051, allocations: 67.64 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.1055, allocations: 103.7 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1058, allocations: 226.8 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.872e-05/0.1059, allocations: 24.3 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.106, allocations: 87.52 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1062, allocations: 115.4 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1062, allocations: 8 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.1066, allocations: 227.8 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.1067, allocations: 51.7 kB / 472.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1069, allocations: 103.3 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.1073, allocations: 327.2 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1074, allocations: 0 / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1074, allocations: 0 / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.1074, allocations: 0 / 472.7 MB, free: 10.73 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007262/0.1081, allocations: 0.5188 MB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1082, allocations: 12.03 kB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/0.1082, allocations: 66.7 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.1102, allocations: 200.3 kB / 473.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.1106, allocations: 275.8 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.1106, allocations: 16.94 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.1107, allocations: 28.36 kB / 473.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009896/0.1117, allocations: 0.4967 MB / 474.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1117, allocations: 0 / 474.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.1117, allocations: 11.98 kB / 474.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.1118, allocations: 28.55 kB / 474.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.1131, allocations: 0.5798 MB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.1157, allocations: 1.177 MB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.1163, allocations: 166.3 kB / 476.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.1167, allocations: 88.77 kB / 476.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1167, allocations: 0 / 476.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1167, allocations: 38.55 kB / 476.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1168, allocations: 0 / 476.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001193/0.118, allocations: 297.6 kB / 476.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.118, allocations: 59.41 kB / 476.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.1183, allocations: 286.4 kB / 477 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1183, allocations: 25.7 kB / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1184, allocations: 167.4 kB / 477.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1185, allocations: 23.66 kB / 477.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/0.1185, allocations: 37.69 kB / 477.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1187, allocations: 338.8 kB / 477.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.119, allocations: 95.84 kB / 477.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.1194, allocations: 115.3 kB / 477.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.1201, allocations: 215.1 kB / 478 MB, free: 5.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1201, allocations: 0 / 478 MB, free: 5.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008251/0.1209, allocations: 265.2 kB / 478.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.121, allocations: 11.98 kB / 478.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.121, allocations: 0 / 478.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.121, allocations: 0 / 478.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006566/0.1276, allocations: 471.3 kB / 478.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.1304, allocations: 1.945 MB / 480.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.1308, allocations: 43.69 kB / 480.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.1308, allocations: 11.98 kB / 480.7 MB, free: 2.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001681/0.131, allocations: 157.7 kB / 480.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.1311, allocations: 19.72 kB / 480.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-05/0.1312, allocations: 29.8 kB / 480.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1312, allocations: 0 / 480.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1312, allocations: 4 kB / 480.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1312, allocations: 0 / 480.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.1315, allocations: 289.4 kB / 481.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.1316, allocations: 7.984 kB / 481.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00622/0.1378, allocations: 455.3 kB / 481.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.1378, allocations: 0 / 481.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.1378, allocations: 8.078 kB / 481.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.1405, allocations: 1.949 MB / 483.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1405, allocations: 3.938 kB / 483.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008027/0.1414, allocations: 319.2 kB / 484 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.1414, allocations: 96.81 kB / 484.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.1415, allocations: 0 / 484.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.1419, allocations: 19.97 kB / 484.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.1419, allocations: 7.984 kB / 484.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.142, allocations: 15.92 kB / 484.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002421/0.1422, allocations: 209.9 kB / 484.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1422, allocations: 0 / 484.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003612/0.1426, allocations: 63.94 kB / 484.4 MB, free: 14.54 MB / 366.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.001153/0.1438, allocations: 0.8648 MB / 485.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006505/0.1503, allocations: 0.6006 MB / 485.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1503, allocations: 0 / 485.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006041/0.1563, allocations: 0.4955 MB / 486.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.1568, allocations: 44.08 kB / 486.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.1615, allocations: 3.06 MB / 489.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1619, allocations: 0.7829 MB / 490.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.1621, allocations: 45.92 kB / 490.3 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.1623, allocations: 71.41 kB / 490.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1623, allocations: 0 / 490.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.1826, allocations: 7.687 MB / 498 MB, free: 1.027 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.1829, allocations: 302.3 kB / 498.3 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/2.367, allocations: 0 / 498.3 MB, free: 0.6484 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches