Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 71.83 kB / 0.491 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1248, allocations: 65.99 MB / 0.5554 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003638/0.1284, allocations: 1.846 MB / 0.5572 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1297, allocations: 0.6347 MB / 0.5578 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1298, allocations: 4 kB / 0.5578 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.1301, allocations: 47.73 kB / 0.5579 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1303, allocations: 71.59 kB / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.1308, allocations: 127.4 kB / 0.5581 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.1311, allocations: 226.8 kB / 0.5583 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.305e-05/0.1311, allocations: 24.23 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1313, allocations: 87.52 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.1315, allocations: 111.5 kB / 0.5585 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1315, allocations: 8 kB / 0.5585 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.1319, allocations: 227.7 kB / 0.5587 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.132, allocations: 47.77 kB / 0.5588 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1322, allocations: 103.3 kB / 0.5589 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.1327, allocations: 330.6 kB / 0.5592 GB, free: 1.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1327, allocations: 0 / 0.5592 GB, free: 1.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1327, allocations: 0 / 0.5592 GB, free: 1.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.1327, allocations: 4 kB / 0.5592 GB, free: 1.941 MB / 414.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.0008767/0.1336, allocations: 0.5377 MB / 0.5597 GB, free: 1.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1336, allocations: 8.031 kB / 0.5597 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.913e-05/0.1337, allocations: 66.72 kB / 0.5598 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.1356, allocations: 200.4 kB / 0.56 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.136, allocations: 264 kB / 0.5602 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.136, allocations: 20.92 kB / 0.5602 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.1361, allocations: 24.38 kB / 0.5603 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.1372, allocations: 0.5006 MB / 0.5607 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1372, allocations: 0 / 0.5607 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.1372, allocations: 11.94 kB / 0.5608 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.1373, allocations: 24.55 kB / 0.5608 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.1386, allocations: 0.5876 MB / 0.5614 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.141, allocations: 1.174 MB / 0.5625 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007291/0.1417, allocations: 166.4 kB / 0.5627 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.1421, allocations: 80.77 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1422, allocations: 8.141 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1422, allocations: 38.55 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1422, allocations: 0 / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001343/0.1435, allocations: 305.2 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.1436, allocations: 51.41 kB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.1439, allocations: 278.6 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.1439, allocations: 29.7 kB / 0.5634 GB, free: 13.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1441, allocations: 171.7 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1441, allocations: 23.8 kB / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/0.1442, allocations: 37.69 kB / 0.5636 GB, free: 13.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1444, allocations: 334.8 kB / 0.564 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.1448, allocations: 83.91 kB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.1452, allocations: 123.3 kB / 0.5642 GB, free: 12.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000798/0.146, allocations: 211.1 kB / 0.5644 GB, free: 12.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.146, allocations: 0 / 0.5644 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000954/0.147, allocations: 261.2 kB / 0.5646 GB, free: 12.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.147, allocations: 8 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.147, allocations: 3.984 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.147, allocations: 8.094 kB / 0.5646 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006036/0.153, allocations: 463.2 kB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.1561, allocations: 1.949 MB / 0.567 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.1565, allocations: 43.69 kB / 0.567 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.1565, allocations: 8 kB / 0.567 GB, free: 9.539 MB / 430.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.0002055/0.1567, allocations: 171.9 kB / 0.5672 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.1568, allocations: 23.8 kB / 0.5672 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.215e-05/0.1568, allocations: 25.7 kB / 0.5672 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1568, allocations: 0 / 0.5672 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1568, allocations: 0 / 0.5672 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1568, allocations: 0 / 0.5672 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.1573, allocations: 297.4 kB / 0.5675 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1573, allocations: 4 kB / 0.5675 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005827/0.1631, allocations: 451.3 kB / 0.5679 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1631, allocations: 0 / 0.5679 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.1631, allocations: 3.984 kB / 0.568 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002899/0.166, allocations: 1.945 MB / 0.5699 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.166, allocations: 0 / 0.5699 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/0.1669, allocations: 331.3 kB / 0.5702 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.167, allocations: 100.9 kB / 0.5703 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.167, allocations: 4 kB / 0.5703 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.1674, allocations: 23.97 kB / 0.5703 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.1675, allocations: 3.984 kB / 0.5703 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.1675, allocations: 11.92 kB / 0.5703 GB, free: 6.004 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.1677, allocations: 205.9 kB / 0.5705 GB, free: 5.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1677, allocations: 0 / 0.5705 GB, free: 5.805 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.1681, allocations: 75.88 kB / 0.5706 GB, free: 5.73 MB / 430.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.001314/0.1694, allocations: 0.8567 MB / 0.5714 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006301/0.1757, allocations: 0.5889 MB / 0.572 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1757, allocations: 0 / 0.572 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005575/0.1813, allocations: 495.4 kB / 0.5725 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.1817, allocations: 57.2 kB / 0.5725 GB, free: 3.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.1869, allocations: 2.98 MB / 0.5754 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.1873, allocations: 0.7831 MB / 0.5762 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.1875, allocations: 49.92 kB / 0.5762 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.1876, allocations: 71.34 kB / 0.5763 GB, free: 15.71 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1876, allocations: 0 / 0.5763 GB, free: 15.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.2264, allocations: 7.991 MB / 0.5841 GB, free: 7.992 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.78, allocations: 15.02 kB / 0.5841 GB, free: 7.98 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.345802965108305]