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.001118/0.001118, allocations: 102.5 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.00105/0.001049, 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.473/1.473, 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.1974/0.1974, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001514/0.001514, allocations: 68.34 kB / 382.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1093, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002927/0.1123, allocations: 1.815 MB / 442.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009321/0.1133, allocations: 0.623 MB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.1134, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1137, allocations: 51.73 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.1138, allocations: 71.58 kB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.1142, allocations: 131.4 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1144, allocations: 222.8 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.731e-05/0.1145, allocations: 40.17 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.438e-05/0.1146, allocations: 87.52 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1147, allocations: 107.5 kB / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.1148, allocations: 4 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.1151, allocations: 227.7 kB / 444 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.1152, allocations: 51.77 kB / 444.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.1152, allocations: 95.36 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1156, allocations: 334.8 kB / 444.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1156, allocations: 4 kB / 444.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1156, allocations: 4 kB / 444.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1156, allocations: 0 / 444.5 MB, free: 2.918 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.0005584/0.1161, allocations: 0.5237 MB / 445 MB, free: 2.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1162, allocations: 11.89 kB / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.1163, allocations: 70.7 kB / 445.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.1181, allocations: 200.3 kB / 445.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1183, allocations: 267.9 kB / 445.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1184, allocations: 12.94 kB / 445.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.1184, allocations: 28.36 kB / 445.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.1193, allocations: 0.4889 MB / 446.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1193, allocations: 4 kB / 446.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.1194, allocations: 15.97 kB / 446.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.1194, allocations: 28.55 kB / 446.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.1205, allocations: 0.5837 MB / 446.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.1225, allocations: 1.169 MB / 447.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.1232, allocations: 170.4 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.1236, allocations: 84.77 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1237, allocations: 0 / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1237, allocations: 42.56 kB / 448.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1237, allocations: 0 / 448.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.001238/0.1249, allocations: 309.2 kB / 448.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.125, allocations: 51.41 kB / 448.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.1252, allocations: 278.6 kB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1253, allocations: 25.7 kB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1254, allocations: 171.4 kB / 449 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1254, allocations: 23.64 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.1255, allocations: 41.69 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1256, allocations: 330.8 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.126, allocations: 87.91 kB / 449.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.1264, allocations: 119 kB / 449.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007586/0.1272, allocations: 219.1 kB / 449.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1272, allocations: 0 / 449.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008635/0.1281, allocations: 261.2 kB / 450 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1281, allocations: 4 kB / 450 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1281, allocations: 0 / 450 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1281, allocations: 4 kB / 450 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006169/0.1343, allocations: 471.3 kB / 450.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.137, allocations: 1.945 MB / 452.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.1375, allocations: 39.69 kB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.1375, allocations: 11.98 kB / 452.5 MB, free: 10.53 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.0001696/0.1377, allocations: 161.8 kB / 452.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.1377, allocations: 27.64 kB / 452.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.1378, allocations: 25.7 kB / 452.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1378, allocations: 0 / 452.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1378, allocations: 4 kB / 452.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1378, allocations: 0 / 452.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.1382, allocations: 289.4 kB / 453 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1382, allocations: 0 / 453 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005918/0.1441, allocations: 459.2 kB / 453.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1441, allocations: 0 / 453.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.1442, allocations: 7.984 kB / 453.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.1468, allocations: 1.941 MB / 455.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1468, allocations: 0 / 455.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.1477, allocations: 331 kB / 455.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/0.1478, allocations: 96.84 kB / 455.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.1478, allocations: 0 / 455.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.1482, allocations: 23.97 kB / 455.8 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.1483, allocations: 11.98 kB / 455.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.1483, allocations: 8.016 kB / 455.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.1485, allocations: 209.9 kB / 456.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1486, allocations: 0 / 456.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.1489, allocations: 71.89 kB / 456.1 MB, free: 6.734 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.001291/0.1502, allocations: 0.8605 MB / 457 MB, free: 5.844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006393/0.1566, allocations: 0.5967 MB / 457.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.1567, allocations: 0 / 457.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005786/0.1625, allocations: 499.4 kB / 458.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.163, allocations: 59.31 kB / 458.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.1679, allocations: 2.993 MB / 461.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1682, allocations: 0.7715 MB / 461.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.1684, allocations: 61.83 kB / 462 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.1686, allocations: 71.41 kB / 462 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1686, allocations: 0 / 462 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.197, allocations: 7.822 MB / 469.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.45, allocations: 9.797 kB / 469.9 MB, free: 8.906 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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