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_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 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.00119/0.00119, allocations: 109 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.001201/0.001201, 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.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2072/0.2072, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001421/0.001421, allocations: 62.81 kB / 382.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 57.77 MB / 440.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003405/0.1138, allocations: 1.827 MB / 442.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.1146, allocations: 0.6191 MB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.1147, allocations: 4 kB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1151, allocations: 55.61 kB / 443.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1153, allocations: 71.59 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.1157, allocations: 123.5 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1159, allocations: 226.8 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/0.116, allocations: 36.22 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.1161, allocations: 91.52 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1162, allocations: 103.5 kB / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1162, allocations: 8 kB / 443.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.1166, allocations: 219.7 kB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1167, allocations: 59.75 kB / 444.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.1167, allocations: 91.36 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1171, allocations: 334.8 kB / 444.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1171, allocations: 4 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1171, allocations: 0 / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1171, allocations: 0 / 444.5 MB, free: 2.898 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0005393/0.1176, allocations: 0.5265 MB / 445 MB, free: 2.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1177, allocations: 11.89 kB / 445 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.1177, allocations: 66.72 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.1194, allocations: 200.3 kB / 445.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1197, allocations: 267.9 kB / 445.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1197, allocations: 20.92 kB / 445.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.1198, allocations: 20.38 kB / 445.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.1205, allocations: 0.5006 MB / 446.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1206, allocations: 4 kB / 446.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.1206, allocations: 4 kB / 446.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.1206, allocations: 32.55 kB / 446.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.1217, allocations: 0.5837 MB / 446.7 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.1236, allocations: 1.162 MB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/0.1243, allocations: 174.3 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.1247, allocations: 84.77 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1247, allocations: 4.141 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1247, allocations: 54.48 kB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.1247, allocations: 3.984 kB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.001234/0.126, allocations: 289.2 kB / 448.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.126, allocations: 51.41 kB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1263, allocations: 282.6 kB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1263, allocations: 25.7 kB / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1264, allocations: 171.4 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1265, allocations: 19.66 kB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.1266, allocations: 41.69 kB / 449 MB, free: 14.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1267, allocations: 334.8 kB / 449.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.1271, allocations: 83.91 kB / 449.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.1275, allocations: 123.3 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.1282, allocations: 215.1 kB / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1282, allocations: 3.938 kB / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008455/0.1291, allocations: 257.2 kB / 450 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1291, allocations: 9.25 kB / 450 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1291, allocations: 3.984 kB / 450 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1291, allocations: 0 / 450 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005879/0.135, allocations: 463.3 kB / 450.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.1376, allocations: 1.949 MB / 452.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.138, allocations: 39.69 kB / 452.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.138, allocations: 8 kB / 452.5 MB, free: 10.51 MB / 334.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.0001568/0.1382, allocations: 165.8 kB / 452.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.1383, allocations: 19.72 kB / 452.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.884e-05/0.1383, allocations: 29.7 kB / 452.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1383, allocations: 0 / 452.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1384, allocations: 0 / 452.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1384, allocations: 0 / 452.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.1387, allocations: 297.4 kB / 453 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1387, allocations: 0 / 453 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005702/0.1444, allocations: 451.3 kB / 453.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1444, allocations: 4 kB / 453.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1444, allocations: 3.984 kB / 453.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.1469, allocations: 1.945 MB / 455.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1469, allocations: 0 / 455.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.1478, allocations: 335.3 kB / 455.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.1478, allocations: 96.84 kB / 455.8 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.1479, allocations: 4 kB / 455.8 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.1482, allocations: 19.97 kB / 455.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.1483, allocations: 12.08 kB / 455.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.1483, allocations: 11.92 kB / 455.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.1485, allocations: 209.9 kB / 456.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1485, allocations: 0 / 456.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.1489, allocations: 67.89 kB / 456.1 MB, free: 6.707 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.00112/0.15, allocations: 0.8643 MB / 457 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005993/0.156, allocations: 0.5967 MB / 457.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.156, allocations: 0 / 457.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005517/0.1615, allocations: 495.4 kB / 458.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1619, allocations: 51.38 kB / 458.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.1667, allocations: 3.002 MB / 461.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.167, allocations: 0.7713 MB / 461.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1673, allocations: 61.84 kB / 462 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1674, allocations: 67.41 kB / 462 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1674, allocations: 0 / 462 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/0.2807, allocations: 7.823 MB / 469.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.73, allocations: 17.84 kB / 469.9 MB, free: 8.883 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches